Holds a name string and its hashed value for fast comparison ops. See String Identifier.
More...
#include <Id.h>
Holds a name string and its hashed value for fast comparison ops. See String Identifier.
honey::Id::Id |
( |
const String & |
name | ) |
|
|
inline |
honey::Id::Id |
( |
const String & |
name, |
|
|
szt |
hash |
|
) |
| |
|
inline |
Construct with precalculated hash.
honey::Id::Id |
( |
const Id & |
rhs | ) |
|
|
inline |
honey::Id::Id |
( |
Id && |
rhs | ) |
|
|
inline |
szt honey::Id::hash |
( |
| ) |
const |
|
inline |
Get hashed integral value of name.
const String& honey::Id::name |
( |
| ) |
const |
|
inline |
Get name string that this id represents.
honey::Id::operator szt |
( |
| ) |
const |
|
inline |
bool honey::Id::operator!= |
( |
const Id & |
rhs | ) |
const |
|
inline |
bool honey::Id::operator!= |
( |
const IdLiteral & |
rhs | ) |
const |
bool honey::Id::operator< |
( |
const Id & |
rhs | ) |
const |
|
inline |
bool honey::Id::operator< |
( |
const IdLiteral & |
rhs | ) |
const |
bool honey::Id::operator<= |
( |
const Id & |
rhs | ) |
const |
|
inline |
bool honey::Id::operator<= |
( |
const IdLiteral & |
rhs | ) |
const |
Id& honey::Id::operator= |
( |
const Id & |
rhs | ) |
|
|
inline |
Id& honey::Id::operator= |
( |
Id && |
rhs | ) |
|
|
inline |
bool honey::Id::operator== |
( |
const Id & |
rhs | ) |
const |
|
inline |
bool honey::Id::operator== |
( |
const IdLiteral & |
rhs | ) |
const |
bool honey::Id::operator> |
( |
const Id & |
rhs | ) |
const |
|
inline |
bool honey::Id::operator> |
( |
const IdLiteral & |
rhs | ) |
const |
bool honey::Id::operator>= |
( |
const Id & |
rhs | ) |
const |
|
inline |
bool honey::Id::operator>= |
( |
const IdLiteral & |
rhs | ) |
const |
ostream& operator<< |
( |
ostream & |
os, |
|
|
const Id & |
val |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file:
- src/common/Honey/String/Id.h