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) | |
string | print () const |
Returns a string listing the encapsulated options, suitable for logging. | |
void | addGeneric (po::options_description &o) |
Appends generic options (those that the user can see) | |
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. | |
void | addGeneric (po::options_description &o) |
Appends generic options (those that the user can see) | |
void | addHidden (po::options_description &o) |
Appends hidden options (these generally match positional) | |
void | addPositional (po::positional_options_description &p) |
Appends positional options. | |
bool | check (po::variables_map &map) |
Validates passed options, returning true if there is a problem or false if not. | |
bool | postConditions (po::variables_map &map) |
Post-processing of options returning true if there were no problems, otherwise false. | |
string | help () const |
Returns a slice of the example command-line in the help output. | |
string | print () const |
Returns a string listing the encapsulated options, suitable for logging. | |
void | addGeneric (po::options_description &o) |
Appends generic options (those that the user can see) | |
string | print () const |
Returns a string listing the encapsulated options, suitable for logging. | |
bool | postConditions (po::variables_map &map) |
Post-processing of options returning true if there were no problems, otherwise false. | |
void | addGeneric (po::options_description &o) |
Appends generic options (those that the user can see) | |
string | print () const |
Returns a string listing the encapsulated options, suitable for logging. | |
bool | postConditions (po::variables_map &map) |
Post-processing of options returning true if there were no problems, otherwise false. | |
void | addGeneric (po::options_description &o) |
Appends generic options (those that the user can see) | |
string | print () const |
Returns a string listing the encapsulated options, suitable for logging. | |
Public Attributes | |
string | atom_selection |
string | solvent_selection |
double | cutoff |
string | fit_radius_str |
string | fit_area_str |
double | esp_radius |
double | esp_area |
double | weight |
bool | close_solvent |
string | esp_file |
uint | seed |
uint | solvent_size |
string | protein_selection |
string | lipid_selection |
uint | maxdt |
uint | threshold |
bool | reimage |
double | xmin |
double | xmax |
double | ymin |
double | ymax |
uint | xbins |
uint | ybins |
string | calc_type |
string | reference_filename |
string | align_selection |
string | target_selection |
CalcType | type |
bool | upper_only |
bool | lower_only |
bool | has_align |
string | modeltype |
string | bond_atom_selection |
int | max_offset |
bool | group_centroids |
bool | residue_centroids |
bool | com |
float | bondlength |
string | timeseries |
double | min_dist |
double | max_dist |
bool | by_molecule |
bool | by_fragment |
int | num_bins |
double | suiteness_cutoff |
|
inlinevirtual |
Appends generic options (those that the user can see)
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Appends generic options (those that the user can see)
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Appends generic options (those that the user can see)
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Appends generic options (those that the user can see)
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Appends generic options (those that the user can see)
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Appends generic options (those that the user can see)
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Appends generic options (those that the user can see)
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Appends hidden options (these generally match positional)
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Appends positional options.
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Validates passed options, returning true if there is a problem or false if not.
check() is typically used to validate positional options. For example, if you tool needs a command line that looks like:
* tool [options] min-value max-value number-of-bins *
then check() would verify that min-value, max-value, and number-of-bins were passed on the command-line. Another example is where there are mutually-exclusive options. This would be checked by check().
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Returns a slice of the example command-line in the help output.
This is used specifically for positional options. If your tool has a command line that looks like:
* tool [options] min-value max-value selection *
The required arguments min-value, max-value, and selection are actually "hidden" options and will not be printed out when boost::program_options generates its help message. The AggregateOptions class will build the full command line for the help message by using the help() methods from each OptionsPackage, printing out something like the above on the command line as part of the help output.
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 |
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 |
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 |
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.
|
inlinevirtual |
Returns a string listing the encapsulated options, suitable for logging.
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Returns a string listing the encapsulated options, suitable for logging.
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Returns a string listing the encapsulated options, suitable for logging.
Reimplemented from loos::OptionsFramework::OptionsPackage.
|
inlinevirtual |
Returns a string listing the encapsulated options, suitable for logging.
Reimplemented from loos::OptionsFramework::OptionsPackage.