18 int main(
int argc,
char **argv)
28 JParser<> zap(
"Example program to test color printing.");
35 catch(
const exception &error) {
36 FATAL(error.what() << endl);
39 cout.imbue(locale(cout.getloc(),
color_facets[facet]->clone()));
41 cout <<
RED <<
"red" <<
RESET << endl;
int main(int argc, char **argv)
General purpose messaging.
Utility class to parse command line options.
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
Auxiliary methods to convert data members or return values of member methods of a set of objects to a...
Utility class to parse command line options.
static const JColorFacetMap_t color_facets
Color facets.
const array_type< JKey_t > & get_keys(const std::map< JKey_t, JValue_t, JComparator_t, JAllocator_t > &data)
Method to create array of keys of map.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).