1 #ifndef SLIC_COMMANDLINEPROCESSOR_HH_
2 #define SLIC_COMMANDLINEPROCESSOR_HH_ 1
13 #include "PackageInfo.hh"
78 void process(
int argc,
char** argv);
162 bool hasOption(
const std::string& option);
Command-line option with a single letter, full name and description plus an associated Geant4 command...
Command line processor for SLIC that uses getopt.
CommandLineOption * getCommandLineOption(const std::string &option)
std::vector< CommandLineProcessor::OptionsPair > CommandLineArguments
std::string m_getoptOptions
void createOptionsString()
std::vector< CommandLineOption * > OptionsList
virtual ~CommandLineProcessor()
void processOption(const std::string &option)
CommandLineArguments m_commandline
void process(int argc, char **argv)
void addOption(CommandLineOption *option)
bool hasOption(const std::string &option)
CommandQueue * getCommandQueue()
std::pair< std::string, std::string > OptionsPair
A queue of G4 commands to be executed in order.
Base class for slic code modules that provides common functionality, such as logging to an output str...