queso-0.57.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 (const SsOptionsValues *alternativePSsOptionsValues, const SsOptionsValues *alternativeQSsOptionsValues) | |
McOptionsValues (const SsOptionsValues *alternativePSsOptionsValues, const SsOptionsValues *alternativeQSsOptionsValues, const BaseEnvironment *env, const char *prefix) | |
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 |
bool | m_pseqComputeStats |
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 |
bool | m_qseqComputeStats |
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_pseq_computeStats |
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 |
std::string | m_option_qseq_computeStats |
SsOptionsValues | m_alternativePSsOptionsValues |
SsOptionsValues | m_alternativeQSsOptionsValues |
Friends | |
class | MonteCarloSGOptions |
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 | ( | const SsOptionsValues * | alternativePSsOptionsValues, |
const SsOptionsValues * | alternativeQSsOptionsValues | ||
) |
QUESO::McOptionsValues::McOptionsValues | ( | const SsOptionsValues * | alternativePSsOptionsValues, |
const SsOptionsValues * | alternativeQSsOptionsValues, | ||
const BaseEnvironment * | env, | ||
const char * | prefix | ||
) |
QUESO::McOptionsValues::McOptionsValues | ( | ) |
Default constructor.
Assigns the default suite of options to the Monte Carlo sequence generator.
QUESO::McOptionsValues::McOptionsValues | ( | const BaseEnvironment * | env, |
const char * | prefix | ||
) |
Prefix constructor for reading input options from a file.
QUESO::McOptionsValues::McOptionsValues | ( | const McOptionsValues & | src | ) |
Copy constructor.
It assigns the same options values from src
to this
.
Definition at line 275 of file MonteCarloSGOptions.C.
|
virtual |
|
private |
Definition at line 292 of file MonteCarloSGOptions.C.
|
private |
Copies the option values from src
to this
.
Definition at line 298 of file MonteCarloSGOptions.C.
References m_alternativePSsOptionsValues, m_alternativeQSsOptionsValues, m_dataOutputAllowedSet, m_dataOutputFileName, QUESO::m_dataOutputFileName, m_pseqComputeStats, m_pseqDataOutputAllowedSet, m_pseqDataOutputFileName, m_pseqDataOutputFileType, m_pseqDataOutputPeriod, m_qseqComputeStats, m_qseqDataInputFileName, m_qseqDataInputFileType, m_qseqDataOutputAllowedSet, m_qseqDataOutputFileName, m_qseqDataOutputFileType, m_qseqDataOutputPeriod, m_qseqDisplayPeriod, m_qseqMeasureRunTimes, and m_qseqSize.
McOptionsValues & QUESO::McOptionsValues::operator= | ( | const McOptionsValues & | rhs | ) |
Assignment operator; it copies rhs
to this
.
Definition at line 285 of file MonteCarloSGOptions.C.
|
friend |
Definition at line 181 of file MonteCarloSGOptions.h.
|
friend |
Definition at line 330 of file MonteCarloSGOptions.C.
|
private |
Definition at line 182 of file MonteCarloSGOptions.h.
Referenced by copy().
|
private |
Definition at line 183 of file MonteCarloSGOptions.h.
Referenced by copy().
std::set<unsigned int> QUESO::McOptionsValues::m_dataOutputAllowedSet |
Definition at line 119 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
std::string QUESO::McOptionsValues::m_dataOutputFileName |
Definition at line 118 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
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.
|
private |
Definition at line 149 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 148 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 147 of file MonteCarloSGOptions.h.
|
private |
Definition at line 156 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 154 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 152 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 153 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 151 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 169 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 159 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 160 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 167 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 165 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 166 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 164 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 162 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 163 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 161 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
|
private |
Definition at line 144 of file MonteCarloSGOptions.h.
Referenced by QUESO::operator<<().
std::string QUESO::McOptionsValues::m_prefix |
Definition at line 113 of file MonteCarloSGOptions.h.
bool QUESO::McOptionsValues::m_pseqComputeStats |
Definition at line 126 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
std::set<unsigned int> QUESO::McOptionsValues::m_pseqDataOutputAllowedSet |
Definition at line 124 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
std::string QUESO::McOptionsValues::m_pseqDataOutputFileName |
Definition at line 122 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
std::string QUESO::McOptionsValues::m_pseqDataOutputFileType |
Definition at line 123 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
unsigned int QUESO::McOptionsValues::m_pseqDataOutputPeriod |
Definition at line 121 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
bool QUESO::McOptionsValues::m_qseqComputeStats |
Definition at line 139 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
std::string QUESO::McOptionsValues::m_qseqDataInputFileName |
Definition at line 129 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
std::string QUESO::McOptionsValues::m_qseqDataInputFileType |
Definition at line 130 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
std::set<unsigned int> QUESO::McOptionsValues::m_qseqDataOutputAllowedSet |
Definition at line 137 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
std::string QUESO::McOptionsValues::m_qseqDataOutputFileName |
Definition at line 135 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
std::string QUESO::McOptionsValues::m_qseqDataOutputFileType |
Definition at line 136 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
unsigned int QUESO::McOptionsValues::m_qseqDataOutputPeriod |
Definition at line 134 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
unsigned int QUESO::McOptionsValues::m_qseqDisplayPeriod |
Definition at line 132 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
bool QUESO::McOptionsValues::m_qseqMeasureRunTimes |
Definition at line 133 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().
unsigned int QUESO::McOptionsValues::m_qseqSize |
Definition at line 131 of file MonteCarloSGOptions.h.
Referenced by copy(), and QUESO::operator<<().