20int main(
int argc,
char **argv)
33 JParser<> zap(
"Auxiliary program to print hydrophone configuration.");
35 zap[
'f'] =
make_field(file_name,
"hydrophone file");
41 catch(
const exception &error) {
42 FATAL(error.what() << endl);
47 data.load(file_name.c_str());
51 for (
const auto& hydrophone : data) {
52 if (hydrophone.getString() ==
string ||
string == -1) {
53 cout << hydrophone << endl;
Data structure for hydrophone.
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
int main(int argc, char **argv)
I/O formatting auxiliaries.
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).