Rosetta 3.3
Public Types | Public Member Functions | Protected Member Functions
utility::options::AnyOption< T > Class Template Reference

Program any scalar-valued option abstract base class. More...

#include <AnyOption.hh>

Inheritance diagram for utility::options::AnyOption< T >:
Inheritance graph
[legend]
Collaboration diagram for utility::options::AnyOption< T >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef AnyOptionKey key_type
typedefvalue_type
typedef AnyOptionKey Key
typedefValue

Public Member Functions

virtual AnyOptionclone () const =0
 Clone this.
virtual ~AnyOption ()
 Destructor.
std::string type_string () const
 Option type code string representation.

Protected Member Functions

 AnyOption ()
 Default constructor.
 AnyOption (AnyOption const &option)
 Copy constructor.
 AnyOption (AnyOptionKey const &key_a, std::string const &description_a)
 Key + description constructor.
AnyOptionoperator= (AnyOption const &option)
 Copy assignment.

Detailed Description

template<typename T>
class utility::options::AnyOption< T >

Program any scalar-valued option abstract base class.


Member Typedef Documentation

template<typename T>
typedef T utility::options::AnyOption< T >::Value
template<typename T>
typedef T utility::options::AnyOption< T >::value_type

Constructor & Destructor Documentation

template<typename T>
utility::options::AnyOption< T >::AnyOption ( ) [inline, protected]

Default constructor.

template<typename T>
utility::options::AnyOption< T >::AnyOption ( AnyOption< T > const &  option) [inline, protected]

Copy constructor.

template<typename T>
utility::options::AnyOption< T >::AnyOption ( AnyOptionKey const &  key_a,
std::string const &  description_a 
) [inline, protected]

Key + description constructor.

template<typename T>
virtual utility::options::AnyOption< T >::~AnyOption ( ) [inline, virtual]

Destructor.


Member Function Documentation

template<typename T>
virtual AnyOption* utility::options::AnyOption< T >::clone ( ) const [pure virtual]
template<typename T>
AnyOption& utility::options::AnyOption< T >::operator= ( AnyOption< T > const &  option) [inline, protected]
template<typename T>
std::string utility::options::AnyOption< T >::type_string ( ) const [inline, virtual]

Option type code string representation.

Implements utility::options::Option.


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