LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
loos::OptionsFramework::BasicConvergence Class Reference
Inheritance diagram for loos::OptionsFramework::BasicConvergence:
Inheritance graph
[legend]
Collaboration diagram for loos::OptionsFramework::BasicConvergence:
Collaboration graph
[legend]

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
 

Member Function Documentation

◆ addGeneric()

void loos::OptionsFramework::BasicConvergence::addGeneric ( po::options_description & opts)
inlinevirtual

Appends generic options (those that the user can see)

Reimplemented from loos::OptionsFramework::OptionsPackage.

◆ postConditions()

bool loos::OptionsFramework::BasicConvergence::postConditions ( po::variables_map & map)
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.

◆ print()

std::string loos::OptionsFramework::BasicConvergence::print ( ) const
inlinevirtual

Returns a string listing the encapsulated options, suitable for logging.

Reimplemented from loos::OptionsFramework::OptionsPackage.


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