LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
|
Public Member Functions | |
void | addGeneric (po::options_description &o) |
Appends generic options (those that the user can see) | |
bool | postConditions (po::variables_map &vm) |
Post-processing of options returning true if there were no problems, otherwise false. | |
std::string | print () const |
Returns a string listing the encapsulated options, suitable for logging. | |
Public Member Functions inherited from loos::OptionsFramework::OptionsPackage | |
virtual void | addHidden (po::options_description &opts) |
Appends hidden options (these generally match positional) | |
virtual void | addPositional (po::positional_options_description &opts) |
Appends positional options. | |
virtual bool | check (po::variables_map &map) |
Validates passed options, returning true if there is a problem or false if not. | |
virtual std::string | help () const |
Returns a slice of the example command-line in the help output. | |
Public Attributes | |
uint | seed |
|
inlinevirtual |
Appends generic options (those that the user can see)
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Post-processing of options returning true if there were no problems, otherwise false.
postConditions() is called after options parsing and validation is complete. This is a mechanism for a subclass to do additional processing with the options it has been provided. For example, a model option subclass might read in the specified model and copy coordinates from an optionally specified file.
Note that the return value from postConditions() is the opposite of check(). Here, a true is returned if there are no problems.
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Returns a string listing the encapsulated options, suitable for logging.
Reimplemented from loos::OptionsFramework::OptionsPackage.