NSCL DDAS
1.0
Support for XIA DDAS at the NSCL
|
#include <BufdumpMain.h>
Public Member Functions | |
BufdumpMain () | |
virtual | ~BufdumpMain () |
int | operator() (int argc, char **argv) |
Protected Member Functions | |
BufdumpMain (const BufdumpMain &rhs) | |
BufdumpMain & | operator= (const BufdumpMain &rhs) |
int | operator== (const BufdumpMain &rhs) const |
int | operator!= (const BufdumpMain &rhs) const |
This class is the actual dumper program. It defines a function object type that can be created and invoked from main() to do the job of dumping items from some item source on stdout.
See dumperargs.ggo for information about the switches etc. recognized by this program/object.
BufdumpMain::BufdumpMain | ( | ) |
Construct the object. No real action occurs until the operator() is called, as all of the interseting data must be determined by parsing the command line arguments.
|
virtual |
Destroy the object:
int BufdumpMain::operator() | ( | int | argc, |
char ** | argv | ||
) |
Entry point for the dumper.
argc | Number of command line arguments. |
argv | Array of pointers to command line arguments. |
EXIT_SUCCESS | - Successful execution |
EXIT_FAILURE | - Some problem.. or may just exit. |