GEMC
2.2
Geant4 Monte-Carlo Framework
|
#include <options.h>
Public Member Functions | |
goptions () | |
~goptions () | |
virtual void | setGoptions () |
Function to fill optMap. More... | |
void | setOptions () |
Define option Map. More... | |
void | scanGcard (string file) |
Scan option file for options. More... | |
int | setOptMap (int argc, char **args) |
Sets map from command line arguments. More... | |
int | setOptMap (int argc, char **args, int i) |
map< string, string > | getOptMap () |
Returns a map<string, string> with all options and values. More... | |
vector< aopt > | getArgs (string) |
get a vector of arguments matching a string More... | |
Data Fields | |
map< string, aopt > | optMap |
Options map. More... | |
int | ignoreNotFound |
goptions::goptions | ( | ) |
Definition at line 11 of file options.cc.
vector< aopt > goptions::getArgs | ( | string | opt | ) |
Definition at line 418 of file options.cc.
map< string, string > goptions::getOptMap | ( | ) |
Definition at line 435 of file options.cc.
void goptions::scanGcard | ( | string | file | ) |
reading gcard file
< looping over options
< converts the node to an element.
< the node really is an element.
< selecting "option" nodes
Definition at line 21 of file options.cc.
|
virtual |
Definition at line 4 of file gemc_options.cc.
void goptions::setOptions | ( | ) |
int goptions::setOptMap | ( | int | argc, |
char ** | args | ||
) |
Definition at line 141 of file options.cc.
|
inline |
int goptions::ignoreNotFound |