the actual ID type More...
#include <unique_storage.h>
Public Member Functions | |
id_value () | |
id == 0 means "empty" / "undefined" | |
bool | set () const |
does this ID map to a non-default value ? | |
bool | operator< (id_value const &rhs) const |
bool | operator== (id_value const &rhs) const |
bool | operator!= (id_value const &rhs) const |
Private Types | |
typedef stored_values::size_type | size_type |
Private Member Functions | |
id_value (size_type s) | |
Private Attributes | |
size_type | id |
actual ID value | |
Friends | |
class | unique_storage< I, V > |
the actual ID type
Definition at line 46 of file unique_storage.h.
typedef stored_values::size_type unique_storage< I, V >::id_value::size_type [private] |
Definition at line 70 of file unique_storage.h.
unique_storage< I, V >::id_value::id_value | ( | ) | [inline] |
id == 0 means "empty" / "undefined"
Definition at line 48 of file unique_storage.h.
unique_storage< I, V >::id_value::id_value | ( | size_type | s | ) | [inline, explicit, private] |
Definition at line 72 of file unique_storage.h.
bool unique_storage< I, V >::id_value::operator!= | ( | id_value const & | rhs | ) | const [inline] |
Definition at line 63 of file unique_storage.h.
References unique_storage< I, V >::id_value::id.
bool unique_storage< I, V >::id_value::operator< | ( | id_value const & | rhs | ) | const [inline] |
Definition at line 55 of file unique_storage.h.
References unique_storage< I, V >::id_value::id.
bool unique_storage< I, V >::id_value::operator== | ( | id_value const & | rhs | ) | const [inline] |
Definition at line 59 of file unique_storage.h.
References unique_storage< I, V >::id_value::id.
bool unique_storage< I, V >::id_value::set | ( | ) | const [inline] |
does this ID map to a non-default value ?
Definition at line 51 of file unique_storage.h.
References unique_storage< I, V >::id_value::id.
friend class unique_storage< I, V > [friend] |
Definition at line 68 of file unique_storage.h.
size_type unique_storage< I, V >::id_value::id [private] |
actual ID value
Definition at line 75 of file unique_storage.h.
Referenced by unique_storage< I, V >::id_value::operator!=(), unique_storage< I, V >::id_value::operator<(), unique_storage< I, V >::id_value::operator==(), and unique_storage< I, V >::id_value::set().