Rosetta
|
Variant key class. More...
#include <VariantKey.hh>
Public Types | |
typedef K | key_type |
typedef K::index_type | index_type |
typedef K | Key |
typedef K::Index | Index |
Public Member Functions | |
VariantKey () | |
Default constructor. More... | |
VariantKey (VariantKey const &var) | |
Copy constructor. More... | |
VariantKey (Key const &key_a) | |
Key constructor. More... | |
~VariantKey () throw () | |
Destructor. More... | |
VariantKey & | operator= (VariantKey const &var) |
Copy assignment. More... | |
operator Key const & () const | |
Key conversion. More... | |
operator Key & () | |
Key conversion. More... | |
std::string const & | id () const |
ID. More... | |
std::string & | id () |
ID. More... | |
VariantKey & | id (std::string const &id_a) |
ID assignment. More... | |
std::string const & | identifier () const |
Identifier. More... | |
std::string & | identifier () |
Identifier. More... | |
VariantKey & | identifier (std::string const &identifier_a) |
Identifier assignment. More... | |
std::string const & | code () const |
Code. More... | |
std::string & | code () |
Code. More... | |
VariantKey & | code (std::string const &code_a) |
Code assignment. More... | |
Index | private_index () const |
Index. More... | |
Key const & | operator() () const |
Key. More... | |
Key & | operator() () |
Key. More... | |
Private Attributes | |
Key * | key_p_ |
Pointer to key. More... | |
Friends | |
bool | operator== (VariantKey const &a, VariantKey const &b) |
VariantKey == VariantKey. More... | |
bool | operator!= (VariantKey const &a, VariantKey const &b) |
VariantKey != VariantKey. More... | |
bool | operator< (VariantKey const &a, VariantKey const &b) |
VariantKey < VariantKey. More... | |
Variant key class.
typedef K::Index utility::keys::VariantKey< K >::Index |
typedef K::index_type utility::keys::VariantKey< K >::index_type |
typedef K utility::keys::VariantKey< K >::Key |
typedef K utility::keys::VariantKey< K >::key_type |
|
inline |
Default constructor.
|
inline |
Copy constructor.
|
inline |
Key constructor.
|
inline |
Destructor.
References utility::keys::VariantKey< K >::key_p_.
|
inline |
Code.
References debug_assert, and utility::keys::VariantKey< K >::key_p_.
|
inline |
Code.
References debug_assert, and utility::keys::VariantKey< K >::key_p_.
|
inline |
Code assignment.
References debug_assert, and utility::keys::VariantKey< K >::key_p_.
|
inline |
ID.
References debug_assert, and utility::keys::VariantKey< K >::key_p_.
Referenced by schema.Job::__repr__().
|
inline |
ID.
References debug_assert, and utility::keys::VariantKey< K >::key_p_.
Referenced by schema.Job::__repr__().
|
inline |
ID assignment.
References debug_assert, and utility::keys::VariantKey< K >::key_p_.
Referenced by schema.Job::__repr__().
|
inline |
Identifier.
References debug_assert, and utility::keys::VariantKey< K >::key_p_.
|
inline |
Identifier.
References debug_assert, and utility::keys::VariantKey< K >::key_p_.
|
inline |
Identifier assignment.
References debug_assert, and utility::keys::VariantKey< K >::key_p_.
|
inline |
Key conversion.
References debug_assert, and utility::keys::VariantKey< K >::key_p_.
|
inline |
Key conversion.
References debug_assert, and utility::keys::VariantKey< K >::key_p_.
|
inline |
Key.
References debug_assert, and utility::keys::VariantKey< K >::key_p_.
|
inline |
Key.
References debug_assert, and utility::keys::VariantKey< K >::key_p_.
|
inline |
Copy assignment.
References utility::keys::VariantKey< K >::key_p_.
|
inline |
Index.
References debug_assert, and utility::keys::VariantKey< K >::key_p_.
|
friend |
VariantKey != VariantKey.
|
friend |
|
friend |
VariantKey == VariantKey.
|
private |
Pointer to key.
Referenced by utility::keys::VariantKey< K >::code(), utility::keys::VariantKey< K >::id(), utility::keys::VariantKey< K >::identifier(), utility::keys::VariantKey< K >::operator Key &(), utility::keys::VariantKey< K >::operator Key const &(), utility::keys::VariantKey< K >::operator()(), utility::keys::VariantKey< K >::operator=(), utility::keys::VariantKey< K >::private_index(), and utility::keys::VariantKey< K >::~VariantKey().