67 static std::string format(
"a b c d e");
78 template<
bool is_const>
101 friend inline std::istream&
operator>>(std::istream& in, JABC&
object)
113 friend inline std::ostream&
operator<<(std::ostream& out,
const JABC&
object)
143 catch(
const exception &error) {
144 FATAL(error.what() << endl);
148 JABC test(10, 20, 30, 40, 50);
153 DEBUG(
"test: " << endl);
156 DEBUG(
"processing " << buffer << endl);
158 istringstream is(buffer);
162 DEBUG(
"test: " << endl);
165 DEBUG(
"format " << format << endl);
169 DEBUG(
"--> " << properties.
sed(format,
"%") << endl);
173 cout << properties.
sed(format,
"%") << flush;
JFormat_t & getFormat()
Get format for given type.
General purpose messaging.
#define DEBUG(A)
Message macros.
#define ASSERT(A,...)
Assert macro.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
Utility class to parse parameter values.
#define gmake_property(A)
macros to convert (template) parameter to JPropertiesElement object
Utility class to parse parameter values.
std::ostream & write(std::ostream &out) const
Write the current parameter values.
std::string sed(const std::string &format, const std::string &prefix="", const std::string &postfix="")
Stream editing of input format.
bool read(const JEquation &equation)
Read equation.
Simple data structure to support I/O of equations (see class JLANG::JEquation).
Utility class to parse command line options.
std::istream & operator>>(std::istream &in, JAHRSCalibration &calibration)
Read AHRS calibration from input stream.
std::ostream & operator<<(std::ostream &out, const JAHRSCalibration &calibration)
Write AHRS calibration to output stream.
JProperties & getProperties(T &object, const JEquationParameters ¶meters=JEquationParameters(), const int debug=1)
Get properties of a given object.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary class to define value, reference and pointer types for given data type and category.