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

Program real option class. More...

#include <RealOption.hh>

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

List of all members.

Public Member Functions

 RealOption ()
 Default constructor.
 RealOption (RealOptionKey const &key_a, std::string const &description_a)
 Key + description constructor.
RealOptionclone () const
 Clone this.
virtual ~RealOption ()
 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.

Protected Member Functions

Value value_of (std::string const &value_str) const
 Value of a string.
virtual void stream_setup (std::ostream &stream) const
 Setup stream state for the Option value type.

Detailed Description

Program real option class.


Constructor & Destructor Documentation

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

Default constructor.

Referenced by clone().

utility::options::RealOption::RealOption ( RealOptionKey const &  key_a,
std::string const &  description_a 
) [inline]

Key + description constructor.

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

Destructor.


Member Function Documentation

RealOption* utility::options::RealOption::clone ( ) const [inline, virtual]
bool utility::options::RealOption::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::RealOption::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 ObjexxFCL::is_double().

Referenced by is_cl_value().

virtual void utility::options::RealOption::stream_setup ( std::ostream &  stream) const [inline, protected, virtual]

Setup stream state for the Option value type.

Reimplemented from utility::options::ScalarOption_T_< RealOptionKey, double >.

std::string utility::options::RealOption::type_string ( ) const [inline, virtual]

Option type code string representation.

Implements utility::options::Option.

Value utility::options::RealOption::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