The Sparta Modeling Framework
|
Helper class for populating boost program options. More...
#include <MultiDetailOptions.hpp>
Public Types | |
typedef po::typed_value< ArgT > | base_t |
Type of base class. | |
Public Member Functions | |
named_value_type (std::string const &name, ArgT *val) | |
Constructor. | |
named_value_type (std::string const &name, ArgT *val, unsigned min, unsigned max) | |
Constructor with min and max extents. | |
virtual std::string | name () const override |
boost semantic for getting name of this option | |
named_value_type * | min (unsigned min) |
named_value_type * | max (unsigned max) |
named_value_type * | multitoken () |
virtual unsigned | min_tokens () const override |
boost semantic for specifying min tokens | |
virtual unsigned | max_tokens () const override |
boost semantic for specifying max tokens | |
virtual void | xparse (boost::any &value_store, const std::vector< std::basic_string< char > > &new_tokens) const override |
Override parser. | |
void | xparse_base_ (boost::any &value_store, const std::vector< std::basic_string< char > > &new_tokens) const |
Call xparse on base class. This is available to named_value_parser for invoking the default parser when needed. | |
Helper class for populating boost program options.
Definition at line 25 of file MultiDetailOptions.hpp.
typedef po::typed_value<ArgT> sparta::app::named_value_type< ArgT >::base_t |
Type of base class.
Definition at line 36 of file MultiDetailOptions.hpp.
|
inline |
Constructor.
Definition at line 41 of file MultiDetailOptions.hpp.
|
inline |
Constructor with min and max extents.
Definition at line 51 of file MultiDetailOptions.hpp.
|
inlinevirtual |
Definition at line 58 of file MultiDetailOptions.hpp.
|
inline |
Definition at line 71 of file MultiDetailOptions.hpp.
|
inlineoverridevirtual |
boost semantic for specifying max tokens
Definition at line 91 of file MultiDetailOptions.hpp.
|
inline |
Definition at line 65 of file MultiDetailOptions.hpp.
|
inlineoverridevirtual |
boost semantic for specifying min tokens
Definition at line 86 of file MultiDetailOptions.hpp.
|
inline |
Definition at line 77 of file MultiDetailOptions.hpp.
|
inlineoverridevirtual |
boost semantic for getting name of this option
Definition at line 63 of file MultiDetailOptions.hpp.
|
overridevirtual |
Override parser.
Definition at line 131 of file MultiDetailOptions.hpp.
|
inline |
Call xparse on base class. This is available to named_value_parser for invoking the default parser when needed.
Definition at line 104 of file MultiDetailOptions.hpp.