queso-0.56.1
|
This class provides options for the Monte Carlo sequence generator if no input file is available. More...
#include <MonteCarloSGOptions.h>
Public Member Functions | |
Constructor/Destructor methods | |
McOptionsValues () | |
Default constructor. More... | |
McOptionsValues (const BaseEnvironment *env, const char *prefix) | |
Prefix constructor for reading input options from a file. More... | |
McOptionsValues (const McOptionsValues &src) | |
Copy constructor. More... | |
virtual | ~McOptionsValues () |
Destructor. More... | |
Set methods | |
McOptionsValues & | operator= (const McOptionsValues &rhs) |
Assignment operator; it copies rhs to this . More... | |
Public Attributes | |
std::string | m_prefix |
std::string | m_help |
If non-empty string, print options and values to output file. More... | |
std::string | m_dataOutputFileName |
std::set< unsigned int > | m_dataOutputAllowedSet |
unsigned int | m_pseqDataOutputPeriod |
std::string | m_pseqDataOutputFileName |
std::string | m_pseqDataOutputFileType |
std::set< unsigned int > | m_pseqDataOutputAllowedSet |
std::string | m_qseqDataInputFileName |
std::string | m_qseqDataInputFileType |
unsigned int | m_qseqSize |
unsigned int | m_qseqDisplayPeriod |
bool | m_qseqMeasureRunTimes |
unsigned int | m_qseqDataOutputPeriod |
std::string | m_qseqDataOutputFileName |
std::string | m_qseqDataOutputFileType |
std::set< unsigned int > | m_qseqDataOutputAllowedSet |
Private Member Functions | |
void | copy (const McOptionsValues &src) |
Copies the option values from src to this . More... | |
void | checkOptions () |
Private Attributes | |
BoostInputOptionsParser * | m_parser |
std::string | m_option_help |
std::string | m_option_dataOutputFileName |
std::string | m_option_dataOutputAllowedSet |
std::string | m_option_pseq_dataOutputPeriod |
std::string | m_option_pseq_dataOutputFileName |
std::string | m_option_pseq_dataOutputFileType |
std::string | m_option_pseq_dataOutputAllowedSet |
std::string | m_option_qseq_dataInputFileName |
std::string | m_option_qseq_dataInputFileType |
std::string | m_option_qseq_size |
std::string | m_option_qseq_displayPeriod |
std::string | m_option_qseq_measureRunTimes |
std::string | m_option_qseq_dataOutputPeriod |
std::string | m_option_qseq_dataOutputFileName |
std::string | m_option_qseq_dataOutputFileType |
std::string | m_option_qseq_dataOutputAllowedSet |
Friends | |
std::ostream & | operator<< (std::ostream &os, const McOptionsValues &obj) |
This class provides options for the Monte Carlo sequence generator if no input file is available.
Monte Carlo sequence generator expects options for its methods. This class provides default values for such options if no input file is available.
Definition at line 79 of file MonteCarloSGOptions.h.
QUESO::McOptionsValues::McOptionsValues | ( | ) |
Default constructor.
Assigns the default suite of options to the Monte Carlo sequence generator.
Definition at line 39 of file MonteCarloSGOptions.C.
QUESO::McOptionsValues::McOptionsValues | ( | const BaseEnvironment * | env, |
const char * | prefix | ||
) |
Prefix constructor for reading input options from a file.
Definition at line 104 of file MonteCarloSGOptions.C.
References QUESO::BoostInputOptionsParser::getOption(), m_dataOutputAllowedSet, m_dataOutputFileName, m_help, m_option_dataOutputAllowedSet, m_option_dataOutputFileName, m_option_help, m_option_pseq_dataOutputAllowedSet, m_option_pseq_dataOutputFileName, m_option_pseq_dataOutputFileType, m_option_pseq_dataOutputPeriod, m_option_qseq_dataInputFileName, m_option_qseq_dataInputFileType, m_option_qseq_dataOutputAllowedSet, m_option_qseq_dataOutputFileName, m_option_qseq_dataOutputFileType, m_option_qseq_dataOutputPeriod, m_option_qseq_displayPeriod, m_option_qseq_measureRunTimes, m_option_qseq_size, m_parser, m_pseqDataOutputAllowedSet, m_pseqDataOutputFileName, m_pseqDataOutputFileType, m_pseqDataOutputPeriod, m_qseqDataInputFileName, m_qseqDataInputFileType, m_qseqDataOutputAllowedSet, m_qseqDataOutputFileName, m_qseqDataOutputFileType, m_qseqDataOutputPeriod, m_qseqDisplayPeriod, m_qseqMeasureRunTimes, m_qseqSize, QUESO::BoostInputOptionsParser::registerOption(), QUESO::BoostInputOptionsParser::scanInputFile(), UQ_MOC_SG_DATA_OUTPUT_ALLOWED_SET_ODV, UQ_MOC_SG_DATA_OUTPUT_FILE_NAME_ODV, UQ_MOC_SG_HELP, UQ_MOC_SG_PSEQ_COMPUTE_STATS_ODV, UQ_MOC_SG_PSEQ_DATA_OUTPUT_ALLOWED_SET_ODV, UQ_MOC_SG_PSEQ_DATA_OUTPUT_FILE_NAME_ODV, UQ_MOC_SG_PSEQ_DATA_OUTPUT_FILE_TYPE_ODV, UQ_MOC_SG_PSEQ_DATA_OUTPUT_PERIOD_ODV, UQ_MOC_SG_QSEQ_COMPUTE_STATS_ODV, UQ_MOC_SG_QSEQ_DATA_INPUT_FILE_NAME_ODV, UQ_MOC_SG_QSEQ_DATA_INPUT_FILE_TYPE_ODV, UQ_MOC_SG_QSEQ_DATA_OUTPUT_ALLOWED_SET_ODV, UQ_MOC_SG_QSEQ_DATA_OUTPUT_FILE_NAME_ODV, UQ_MOC_SG_QSEQ_DATA_OUTPUT_FILE_TYPE_ODV, UQ_MOC_SG_QSEQ_DATA_OUTPUT_PERIOD_ODV, UQ_MOC_SG_QSEQ_DISPLAY_PERIOD_ODV, UQ_MOC_SG_QSEQ_MEASURE_RUN_TIMES_ODV, and UQ_MOC_SG_QSEQ_SIZE_ODV.
QUESO::McOptionsValues::McOptionsValues | ( | const McOptionsValues & | src | ) |
Copy constructor.
It assigns the same options values from src
to this
.
Definition at line 271 of file MonteCarloSGOptions.C.
References copy().
|
virtual |
|
private |
Definition at line 288 of file MonteCarloSGOptions.C.
|
private |
Copies the option values from src
to this
.
Definition at line 294 of file MonteCarloSGOptions.C.
References m_dataOutputAllowedSet, m_dataOutputFileName, m_pseqDataOutputAllowedSet, m_pseqDataOutputFileName, m_pseqDataOutputFileType, m_pseqDataOutputPeriod, m_qseqDataInputFileName, m_qseqDataInputFileType, m_qseqDataOutputAllowedSet, m_qseqDataOutputFileName, m_qseqDataOutputFileType, m_qseqDataOutputPeriod, m_qseqDisplayPeriod, m_qseqMeasureRunTimes, and m_qseqSize.
Referenced by McOptionsValues(), and operator=().
McOptionsValues & QUESO::McOptionsValues::operator= | ( | const McOptionsValues & | rhs | ) |
Assignment operator; it copies rhs
to this
.
Definition at line 281 of file MonteCarloSGOptions.C.
References copy().
|
friend |
Definition at line 326 of file MonteCarloSGOptions.C.
std::set<unsigned int> QUESO::McOptionsValues::m_dataOutputAllowedSet |
Definition at line 119 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().
std::string QUESO::McOptionsValues::m_dataOutputFileName |
Definition at line 118 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().
std::string QUESO::McOptionsValues::m_help |
If non-empty string, print options and values to output file.
Definition at line 116 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues().
|
private |
Definition at line 149 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 148 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 147 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues().
|
private |
Definition at line 154 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 152 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 153 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 151 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 159 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 160 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 167 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 165 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 166 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 164 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 162 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 163 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 161 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
|
private |
Definition at line 144 of file MonteCarloSGOptions.h.
Referenced by McOptionsValues(), and QUESO::operator<<().
std::string QUESO::McOptionsValues::m_prefix |
Definition at line 113 of file MonteCarloSGOptions.h.
std::set<unsigned int> QUESO::McOptionsValues::m_pseqDataOutputAllowedSet |
Definition at line 124 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().
std::string QUESO::McOptionsValues::m_pseqDataOutputFileName |
Definition at line 122 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().
std::string QUESO::McOptionsValues::m_pseqDataOutputFileType |
Definition at line 123 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().
unsigned int QUESO::McOptionsValues::m_pseqDataOutputPeriod |
Definition at line 121 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().
std::string QUESO::McOptionsValues::m_qseqDataInputFileName |
Definition at line 129 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().
std::string QUESO::McOptionsValues::m_qseqDataInputFileType |
Definition at line 130 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().
std::set<unsigned int> QUESO::McOptionsValues::m_qseqDataOutputAllowedSet |
Definition at line 137 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().
std::string QUESO::McOptionsValues::m_qseqDataOutputFileName |
Definition at line 135 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().
std::string QUESO::McOptionsValues::m_qseqDataOutputFileType |
Definition at line 136 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().
unsigned int QUESO::McOptionsValues::m_qseqDataOutputPeriod |
Definition at line 134 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().
unsigned int QUESO::McOptionsValues::m_qseqDisplayPeriod |
Definition at line 132 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().
bool QUESO::McOptionsValues::m_qseqMeasureRunTimes |
Definition at line 133 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().
unsigned int QUESO::McOptionsValues::m_qseqSize |
Definition at line 131 of file MonteCarloSGOptions.h.
Referenced by copy(), QUESO::MonteCarloSGOptions::getMyOptionValues(), McOptionsValues(), QUESO::operator<<(), and QUESO::MonteCarloSGOptions::print().