unique_storage< I, V >::id_value Struct Reference

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 >

Detailed Description

template<typename I, typename V>
struct unique_storage< I, V >::id_value

the actual ID type

Definition at line 46 of file unique_storage.h.


Member Typedef Documentation

template<typename I, typename V>
typedef stored_values::size_type unique_storage< I, V >::id_value::size_type [private]

Definition at line 70 of file unique_storage.h.


Constructor & Destructor Documentation

template<typename I, typename V>
unique_storage< I, V >::id_value::id_value (  )  [inline]

id == 0 means "empty" / "undefined"

Definition at line 48 of file unique_storage.h.

template<typename I, typename V>
unique_storage< I, V >::id_value::id_value ( size_type  s  )  [inline, explicit, private]

Definition at line 72 of file unique_storage.h.


Member Function Documentation

template<typename I, typename V>
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.

template<typename I, typename V>
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.

template<typename I, typename V>
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.

template<typename I, typename V>
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.


Friends And Related Function Documentation

template<typename I, typename V>
friend class unique_storage< I, V > [friend]

Definition at line 68 of file unique_storage.h.


Field Documentation

template<typename I, typename V>
size_type unique_storage< I, V >::id_value::id [private]

The documentation for this struct was generated from the following file:

Generated on 8 Nov 2012 for Oprofile by  doxygen 1.6.1