29 #ifndef CDPL_BASE_VALUEKEY_HPP
30 #define CDPL_BASE_VALUEKEY_HPP
68 std::size_t operator()(
const LookupKey& key)
const;
92 void setName(
const std::string& name)
const;
105 std::size_t getID()
const;
133 std::size_t numericID;
148 return (numericID < key.numericID);
153 return (numericID == key.numericID);
158 return (numericID != key.numericID);
164 return key.numericID;
Definition of the preprocessor macro CDPL_BASE_API.
#define CDPL_BASE_API
Tells the compiler/linker which classes, functions and variables are part of the library API.
An unique lookup key for control-parameter and property values.
Definition: LookupKey.hpp:54
std::size_t getID() const
Returns the unique numeric identifier associated with the LookupKey instance.
Definition: LookupKey.hpp:141
bool operator==(const LookupKey &key) const
Equality comparison operator.
Definition: LookupKey.hpp:151
bool operator!=(const LookupKey &key) const
Inequality comparison operator.
Definition: LookupKey.hpp:156
static const LookupKey NONE
Used to denote an invalid, unused or unspecified key.
Definition: LookupKey.hpp:74
static LookupKey create(const std::string &name)
Creates a new unique LookupKey instance and registers it under the specified name.
const std::string & getName() const
Returns the name of the LookupKey instance.
bool operator<(const LookupKey &key) const
Less than comparison operator.
Definition: LookupKey.hpp:146
void setName(const std::string &name) const
Sets the name of the LookupKey instance.
GridEquality< E1, E2 >::ResultType operator!=(const GridExpression< E1 > &e1, const GridExpression< E2 > &e2)
Definition: GridExpression.hpp:346
GridEquality< E1, E2 >::ResultType operator==(const GridExpression< E1 > &e1, const GridExpression< E2 > &e2)
Definition: GridExpression.hpp:339
bool operator<(const Array< ValueType > &array1, const Array< ValueType > &array2)
Less than comparison operator.
The namespace of the Chemical Data Processing Library.
A functor class implementing the generation of hash codes for LookupKey instances.
Definition: LookupKey.hpp:61
std::size_t operator()(const LookupKey &key) const
Returns the hash code of the LookupKey instance key.
Definition: LookupKey.hpp:162