28 inline void print(std::ostream& out,
const char* name)
33 out << setw(36) << left << name;
34 out << setw(4) <<
'.' << setw(8) << left << JAbstractClass<T>::is_abstract;
46 #define PRINT(OUT, T) print<T>(OUT, #T)
55 int main(
int argc,
char **argv)
64 JParser<> zap(
"Example program to test class inspection.");
70 catch(
const exception &error) {
71 FATAL(error.what() << endl);
76 cout << setw(36) << left <<
"name";
77 cout << setw(12) <<
"abstract";
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
Utility class to parse command line options.
std::ostream & print(std::ostream &out, const JTestSummary &summary, const char delimiter=' ', const bool useColors=true)
Print test summary.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Template class test for abstractness.