20int main(
int argc,
char **argv)
33 JParser<> zap(
"Auxiliary program to print transmitter configuration.");
35 zap[
'f'] =
make_field(file_name,
"transmitter file");
41 catch(
const exception &error) {
42 FATAL(error.what() << endl);
47 data.load(file_name.c_str());
51 for (
const auto& transmitter : data) {
52 if (transmitter.getString() ==
string ||
string == -1) {
53 cout << transmitter << endl;
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
I/O formatting auxiliaries.
Data structure for transmitter.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary wrapper for I/O of container with optional comment (see JComment).