Rosetta 3.3
Public Types | Public Member Functions | Protected Types | Protected Member Functions | Friends
utility::options::OptionKey Class Reference

Abstract automatic hidden index key for options. More...

#include <OptionKey.hh>

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

List of all members.

Public Types

typedef
utility::keys::KeyLookup
< OptionKey
Lookup

Public Member Functions

virtual OptionKeyclone () const =0
 Clone this.
virtual ~OptionKey ()
 Destructor.
OptionKeyoperator= (Key const &key)
 Key assignment.
virtual bool scalar () const =0
 Scalar option key?
virtual bool vector () const =0
 Vector option key?

Protected Types

typedef utility::keys::Key Key

Protected Member Functions

 OptionKey ()
 Default constructor.
 OptionKey (OptionKey const &key)
 Copy constructor.
 OptionKey (OptionKey const &key, std::string const &id_a, std::string const &identifier_a=std::string(), std::string const &code_a=std::string())
 Copy + identifier constructor.
 OptionKey (Key const &key)
 Key constructor.
 OptionKey (Key const &key, std::string const &id_a, std::string const &identifier_a=std::string(), std::string const &code_a=std::string())
 Key + identifier constructor.
 OptionKey (std::string const &id_a, std::string const &identifier_a=std::string(), std::string const &code_a=std::string())
 Identifier constructor.

Friends

class utility::keys::SmallKeyVector

Detailed Description

Abstract automatic hidden index key for options.


Member Typedef Documentation

Reimplemented from utility::keys::AutoKey< Option >.


Constructor & Destructor Documentation

utility::options::OptionKey::OptionKey ( ) [inline, protected]

Default constructor.

utility::options::OptionKey::OptionKey ( OptionKey const &  key) [inline, protected]

Copy constructor.

utility::options::OptionKey::OptionKey ( OptionKey const &  key,
std::string const &  id_a,
std::string const &  identifier_a = std::string(),
std::string const &  code_a = std::string() 
) [inline, protected]

Copy + identifier constructor.

utility::options::OptionKey::OptionKey ( Key const &  key) [inline, explicit, protected]

Key constructor.

utility::options::OptionKey::OptionKey ( Key const &  key,
std::string const &  id_a,
std::string const &  identifier_a = std::string(),
std::string const &  code_a = std::string() 
) [inline, protected]

Key + identifier constructor.

utility::options::OptionKey::OptionKey ( std::string const &  id_a,
std::string const &  identifier_a = std::string(),
std::string const &  code_a = std::string() 
) [inline, explicit, protected]

Identifier constructor.

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

Destructor.


Member Function Documentation

virtual OptionKey* utility::options::OptionKey::clone ( ) const [pure virtual]
OptionKey& utility::options::OptionKey::operator= ( Key const &  key) [inline]
virtual bool utility::options::OptionKey::scalar ( ) const [pure virtual]
virtual bool utility::options::OptionKey::vector ( ) const [pure virtual]

Friends And Related Function Documentation

friend class utility::keys::SmallKeyVector [friend]

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