Example program to test print auxiliaries.
More...
#include <string>
#include <iostream>
#include <iomanip>
#include <vector>
#include <map>
#include "Jeep/JPrint.hh"
#include "Jeep/JParser.hh"
#include "Jeep/JMessage.hh"
Go to the source code of this file.
|
int | main (int argc, char *argv[]) |
|
Example program to test print auxiliaries.
- Author
- mdejong
Definition in file examples/Jeep/JPrint.cc.
◆ main()
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Definition at line 17 of file examples/Jeep/JPrint.cc.
32 catch(
const exception &error) {
33 FATAL(error.what() << endl);
39 for (
int i = 0; i != 10; ++i) {
44 cout <<
"JEEPZ " <<
JEEPZ() << buffer << endl;
50 for (
int i = 0; i != 10; ++i) {
55 cout <<
"JEEPZ " <<
JEEPZ() << buffer << endl;
59 string buffer =
MAKE_STRING(
"hello world " << 1 <<
' ' << 123.456);
61 cout << buffer << endl;
65 const char*
const buffer =
MAKE_CSTRING(
"hello world " << 1 <<
' ' << 123.456);
67 cout << buffer << endl;
#define make_field(A,...)
macro to convert parameter to JParserTemplateElement object
#define MAKE_CSTRING(A)
Make C-string.
#define MAKE_STRING(A)
Make string.
Utility class to parse command line options.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Auxiliary data structure for streaming of STL containers.