GEMC  1.8
Geant4 Monte-Carlo Framework
Public Member Functions | Data Fields
gemc_opts Class Reference

#include <usage.h>

+ Collaboration diagram for gemc_opts:

Public Member Functions

 gemc_opts ()
 
 ~gemc_opts ()
 
void Scan_gcard (string file)
 
int Set (int argc, char **args)
 Sets map from command line arguments. More...
 
vector< optsget_args (string)
 get a vector of arguments matching a string More...
 

Data Fields

map< string, optsargs
 Options map. More...
 

Detailed Description

gemc_opts

This is the gemc options class. It contains a map of opts which key is the command line argument.

Definition at line 59 of file usage.h.

Constructor & Destructor Documentation

gemc_opts::gemc_opts ( )

Definition at line 14 of file usage.cc.

gemc_opts::~gemc_opts ( )

Definition at line 594 of file usage.cc.

Member Function Documentation

vector< opts > gemc_opts::get_args ( string  opt)

Definition at line 983 of file usage.cc.

void gemc_opts::Scan_gcard ( 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 596 of file usage.cc.

int gemc_opts::Set ( int  argc,
char **  args 
)

Definition at line 718 of file usage.cc.

Field Documentation

map<string, opts> gemc_opts::args

Definition at line 68 of file usage.h.