65 static inline std::string& getFormat()
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)
125 int main(
int argc,
char **argv)
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;
Utility class to parse command line options.
bool read(const JEquation &equation)
Read equation.
JProperties & getProperties(T &object, const JEquationParameters ¶meters=JEquationParameters(), const int debug=1)
Get properties of a given object.
#define gmake_property(A)
macro to convert (template) parameter to JPropertiesElement object
esac print_variable DETECTOR INPUT_FILE OUTPUT_FILE CDF for TYPE in
Utility class to parse parameter values.
Simple data structure to support I/O of equations (see class JLANG::JEquation).
fi JEventTimesliceWriter a
Utility class to parse parameter values.
#define ASSERT(A,...)
Assert macro.
std::ostream & write(std::ostream &out) const
Write the current parameter values.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
then print_variable DETECTOR INPUT_FILE INTERMEDIATE_FILE check_input_file $DETECTOR $INPUT_FILE check_output_file $INTERMEDIATE_FILE $OUTPUT_FILE JMCEvt f $INPUT_FILE o $INTERMEDIATE_FILE d
General purpose messaging.
std::istream & operator>>(std::istream &in, JAANET::JHead &header)
Read header from input.
Utility class to parse command line options.
Auxiliary class to define value, reference and pointer types for given data type and category...
#define DEBUG(A)
Message macros.
int main(int argc, char *argv[])