![]() |
Rosetta
2020.11
|
Automatic hidden index key for real options. More...
#include <RealOptionKey.hh>
Public Member Functions | |
RealOptionKey () | |
Default constructor. More... | |
RealOptionKey (RealOptionKey const &key, std::string const &id_a, std::string const &identifier_a=std::string(), std::string const &code_a=std::string()) | |
Copy + identifier constructor. More... | |
RealOptionKey (Key const &key) | |
Key constructor. More... | |
RealOptionKey (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. More... | |
RealOptionKey (std::string const &id_a, std::string const &identifier_a=std::string(), std::string const &code_a=std::string()) | |
Identifier constructor. More... | |
RealOptionKey * | clone () const override |
Clone this. More... | |
~RealOptionKey () override | |
Destructor. More... | |
RealOptionKey & | operator= (Key const &key) |
Key assignment. More... | |
![]() | |
~ScalarOptionKey () override | |
Destructor. More... | |
ScalarOptionKey & | operator= (Key const &key) |
Key assignment. More... | |
bool | scalar () const override |
Scalar option key? More... | |
bool | vector () const override |
Vector option key? More... | |
![]() | |
~OptionKey () override | |
Destructor. More... | |
OptionKey & | operator= (Key const &key) |
Key assignment. More... | |
![]() | |
~AutoKey () override | |
Destructor. More... | |
AutoKey & | operator= (AutoKey const &key) |
Copy assignment. More... | |
AutoKey & | operator= (Key const &key) |
Key assignment. More... | |
std::string const & | id () const override |
ID. More... | |
std::string & | id () override |
ID. More... | |
AutoKey & | id (std::string const &id_a) override |
ID assignment. More... | |
std::string const & | identifier () const override |
Identifier. More... | |
std::string & | identifier () override |
Identifier. More... | |
AutoKey & | identifier (std::string const &identifier_a) override |
Identifier assignment. More... | |
std::string const & | code () const override |
Code. More... | |
std::string & | code () override |
Code. More... | |
AutoKey & | code (std::string const &code_a) override |
Code assignment. More... | |
Index | private_index () const override |
Index. More... | |
Private Types | |
typedef ScalarOptionKey | Super |
Friends | |
class | utility::keys::SmallKeyVector< RealOptionKey, RealOption > |
Additional Inherited Members | |
![]() | |
typedef utility::keys::KeyLookup < OptionKey > | Lookup |
![]() | |
typedef utility::keys::Key | Key |
typedef Option | object_type |
typedef std::size_t | index_type |
typedef std::size_t | size_type |
typedef Option | Object |
typedef std::size_t | Index |
typedef std::size_t | Size |
![]() | |
static Size | n_key () |
Number of keys with distinct indexes. More... | |
![]() | |
typedef utility::keys::Key | Key |
![]() | |
ScalarOptionKey () | |
Default constructor. More... | |
ScalarOptionKey (ScalarOptionKey const &key, std::string const &id_a, std::string const &identifier_a=std::string(), std::string const &code_a=std::string()) | |
Copy + identifier constructor. More... | |
ScalarOptionKey (Key const &key) | |
Key constructor. More... | |
ScalarOptionKey (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. More... | |
ScalarOptionKey (std::string const &id_a, std::string const &identifier_a=std::string(), std::string const &code_a=std::string()) | |
Identifier constructor. More... | |
![]() | |
OptionKey () | |
Default constructor. More... | |
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. More... | |
OptionKey (Key const &key) | |
Key constructor. More... | |
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. More... | |
OptionKey (std::string const &id_a, std::string const &identifier_a=std::string(), std::string const &code_a=std::string()) | |
Identifier constructor. More... | |
![]() | |
AutoKey () | |
Default constructor. More... | |
AutoKey (AutoKey const &key) | |
Copy constructor. More... | |
AutoKey (AutoKey const &key, std::string const &id_a, std::string const &identifier_a=std::string(), std::string const &code_a=std::string()) | |
Copy + identifier constructor. More... | |
AutoKey (Key const &key) | |
Key constructor. More... | |
AutoKey (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. More... | |
AutoKey (std::string const &id_a, std::string const &identifier_a=std::string(), std::string const &code_a=std::string()) | |
Identifier constructor. More... | |
void | assign_Key (Key const &key) override |
Key assignment. More... | |
operator Index () const | |
Index value conversion. More... | |
Index | index () const override |
Index. More... | |
Index & | index () override |
Index. More... | |
AutoKey & | index (Index const index_a) override |
Index assignment. More... | |
bool | equals (Key const &key) const override |
Equal to a Key? More... | |
bool | less_than (Key const &key) const override |
Less than a Key? More... | |
bool | comparable (Key const &key) const override |
Comparable to a Key? More... | |
Automatic hidden index key for real options.
|
inline |
Default constructor.
Referenced by clone().
|
inline |
Copy + identifier constructor.
References utility::keys::KeyLookup< K >::add().
|
inlineexplicit |
Key constructor.
|
inline |
Key + identifier constructor.
References utility::keys::KeyLookup< K >::add().
|
inlineexplicit |
Identifier constructor.
References utility::keys::KeyLookup< K >::add().
|
inlineoverride |
Destructor.
|
inlineoverridevirtual |
|
inline |
Key assignment.
References utility::keys::AutoKey< Option >::assign_Key().
|
friend |