Rosetta 3.3
Public Member Functions | Protected Member Functions
utility::options::BooleanVectorOption Class Reference

Program boolean vector option class. More...

#include <BooleanVectorOption.hh>

Inheritance diagram for utility::options::BooleanVectorOption:
Inheritance graph
[legend]
Collaboration diagram for utility::options::BooleanVectorOption:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 BooleanVectorOption ()
 Default constructor.
 BooleanVectorOption (BooleanVectorOptionKey const &key_a, std::string const &description_a)
 Key + description constructor.
BooleanVectorOptionclone () const
 Clone this.
virtual ~BooleanVectorOption ()
 Destructor.
bool is_value (std::string const &value_str) const
 Is a string readable as this option's value type?
bool is_cl_value (std::string const &value_str) const
 Is a string readable as this option's value type and a legal command line value?
std::string type_string () const
 Option type code string representation.
std::string legal_string () const
 Legal value string representation.

Protected Member Functions

Value value_of (std::string const &value_str) const
 Value of a string.
bool is_true_value (std::string const &value_str) const
 String accepted as a true value?
bool is_false_value (std::string const &value_str) const
 String accepted as a true value?

Detailed Description

Program boolean vector option class.


Constructor & Destructor Documentation

utility::options::BooleanVectorOption::BooleanVectorOption ( ) [inline]

Default constructor.

Referenced by clone().

utility::options::BooleanVectorOption::BooleanVectorOption ( BooleanVectorOptionKey const &  key_a,
std::string const &  description_a 
) [inline]

Key + description constructor.

virtual utility::options::BooleanVectorOption::~BooleanVectorOption ( ) [inline, virtual]

Destructor.


Member Function Documentation

BooleanVectorOption* utility::options::BooleanVectorOption::clone ( ) const [inline, virtual]
bool utility::options::BooleanVectorOption::is_cl_value ( std::string const &  value_str) const [inline, virtual]

Is a string readable as this option's value type and a legal command line value?

Implements utility::options::Option.

References is_value().

bool utility::options::BooleanVectorOption::is_false_value ( std::string const &  value_str) const [inline, protected]

String accepted as a true value?

Referenced by is_value(), and value_of().

bool utility::options::BooleanVectorOption::is_true_value ( std::string const &  value_str) const [inline, protected]

String accepted as a true value?

Referenced by is_value(), and value_of().

bool utility::options::BooleanVectorOption::is_value ( std::string const &  value_str) const [inline, virtual]

Is a string readable as this option's value type?

Implements utility::options::Option.

References is_false_value(), and is_true_value().

Referenced by is_cl_value().

std::string utility::options::BooleanVectorOption::legal_string ( ) const [inline, virtual]

Legal value string representation.

Reimplemented from utility::options::VectorOption_T_< BooleanVectorOptionKey, bool >.

std::string utility::options::BooleanVectorOption::type_string ( ) const [inline, virtual]
Value utility::options::BooleanVectorOption::value_of ( std::string const &  value_str) const [inline, protected, virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines