All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ConfigurationParameters Struct Reference

Public Member Functions

void print () const
 

Public Attributes

std::string sourcePath
 GDML input file name. More...
 
std::string destPath
 GDML output file name. More...
 
std::string setupName = DefaultSetupName
 Name of the chosen setup in the GDML source. More...
 
std::string schemaPath = DefaultSchemaURL
 URL of the schema used while writing GDML. More...
 
bool validate = false
 Ask Geant4 to validate the source. More...
 
bool overwrite = false
 Overwrite the output file if already present. More...
 
bool dontWrite = false
 Do not write the output file. More...
 
bool help = false
 Print usage instructions and exit. More...
 
unsigned int debugLevel = StartingDebugLevel
 Debug level. More...
 

Static Public Attributes

static const unsigned int StartingDebugLevel = 0
 
static std::string const DefaultSetupName = "Default"
 
static std::string const DefaultSchemaURL = G4GDML_DEFAULT_SCHEMALOCATION
 

Detailed Description

Definition at line 43 of file simplifyGDML.cc.

Member Function Documentation

void ConfigurationParameters::print ( ) const

Definition at line 72 of file simplifyGDML.cc.

72  {
73 
74  std::cout << "Configuration:"
75  "\n input file: '" << sourcePath << "'"
76  "\n output file: '" << destPath << "'"
77  "\n setup name: '" << setupName << "'"
78  "\n schema path: '" << schemaPath << "'"
79  "\n validate: " << std::boolalpha << validate <<
80  "\n only read: " << std::boolalpha << dontWrite <<
81  "\n overwrite: " << std::boolalpha << overwrite <<
82  "\n print help: " << std::boolalpha << help <<
83  "\n debug level: " << debugLevel <<
84  std::endl;
85 
86 } // ConfigurationParameters::print()
std::string setupName
Name of the chosen setup in the GDML source.
Definition: simplifyGDML.cc:53
bool overwrite
Overwrite the output file if already present.
Definition: simplifyGDML.cc:59
bool help
Print usage instructions and exit.
Definition: simplifyGDML.cc:61
std::string destPath
GDML output file name.
Definition: simplifyGDML.cc:50
bool validate
Ask Geant4 to validate the source.
Definition: simplifyGDML.cc:58
std::string sourcePath
GDML input file name.
Definition: simplifyGDML.cc:49
std::string schemaPath
URL of the schema used while writing GDML.
Definition: simplifyGDML.cc:56
bool dontWrite
Do not write the output file.
Definition: simplifyGDML.cc:60
unsigned int debugLevel
Debug level.
Definition: simplifyGDML.cc:62
BEGIN_PROLOG could also be cout

Member Data Documentation

unsigned int ConfigurationParameters::debugLevel = StartingDebugLevel

Debug level.

Definition at line 62 of file simplifyGDML.cc.

std::string const ConfigurationParameters::DefaultSchemaURL = G4GDML_DEFAULT_SCHEMALOCATION
static

Definition at line 47 of file simplifyGDML.cc.

std::string const ConfigurationParameters::DefaultSetupName = "Default"
static

Definition at line 46 of file simplifyGDML.cc.

std::string ConfigurationParameters::destPath

GDML output file name.

Definition at line 50 of file simplifyGDML.cc.

bool ConfigurationParameters::dontWrite = false

Do not write the output file.

Definition at line 60 of file simplifyGDML.cc.

bool ConfigurationParameters::help = false

Print usage instructions and exit.

Definition at line 61 of file simplifyGDML.cc.

bool ConfigurationParameters::overwrite = false

Overwrite the output file if already present.

Definition at line 59 of file simplifyGDML.cc.

std::string ConfigurationParameters::schemaPath = DefaultSchemaURL

URL of the schema used while writing GDML.

Definition at line 56 of file simplifyGDML.cc.

std::string ConfigurationParameters::setupName = DefaultSetupName

Name of the chosen setup in the GDML source.

Definition at line 53 of file simplifyGDML.cc.

std::string ConfigurationParameters::sourcePath

GDML input file name.

Definition at line 49 of file simplifyGDML.cc.

const unsigned int ConfigurationParameters::StartingDebugLevel = 0
static

Definition at line 45 of file simplifyGDML.cc.

bool ConfigurationParameters::validate = false

Ask Geant4 to validate the source.

Definition at line 58 of file simplifyGDML.cc.


The documentation for this struct was generated from the following file: