22  inline void print(std::ostream& out, 
const char* name)
 
   27    out << setw(36) << left << name;
 
   28    out << setw(4) << 
'.' << setw(8) << left << JClass<T>::is_primitive;
 
   29    out << setw(4) << 
'.' << setw(8) << left << JClass<T>::is_pointer;
 
   30    out << setw(4) << 
'.' << setw(8) << left << JClass<T>::is_reference;
 
   31    out << setw(4) << 
'.' << setw(8) << left << JClass<T>::is_constant;
 
   43#define PRINT(OUT, T)   print<T>(OUT, #T) 
   52int main(
int argc, 
char **argv)
 
   61    JParser<> zap(
"Example program to test class inspection.");
 
   67  catch(
const exception &error) {
 
   68    FATAL(error.what() << endl);
 
   71  if (
debug >= debug_t) {
 
   73    cout << setw(36) << left << 
"name";
 
   74    cout << setw(12) << 
"primitive";
 
   75    cout << setw(12) << 
" pointer";
 
   76    cout << setw(12) << 
"reference";
 
   77    cout << setw(12) << 
"constant";
 
   84    PRINT(cout, 
const int*);
 
 
int main(int argc, char **argv)
 
#define PRINT(OUT, T)
Print class parameters.
 
General purpose messaging.
 
#define ASSERT(A,...)
Assert macro.
 
Utility class to parse command line options.
 
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
 
void print(const TH1 &h1, std::ostream &out)
Print histogram parameters.
 
Utility class to parse command line options.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Template for generic class types.
 
JArgument< T >::argument_type argument_type
 
Data structure to check whether given data type is an iterator.