$extrastylesheet
#include <mln/util/object_id.hh>
Public Member Functions | |
void | invalidate () |
bool | is_valid () const |
operator unsigned () const | |
template<typename V2 > | |
object_id< Tag, V > & | operator= (const V2 &e) |
unsigned | to_equiv () const |
const V & | value () const |
V & | value () |
Constructors. | |
object_id () | |
template<typename V2 > | |
object_id (const V2 &id) | |
template<typename Tag2 , typename V2 > | |
object_id (const object_id< Tag2, V2 > &other) |
Protected Attributes | |
V | id_ |
Public Types | |
typedef Integer< void > | category |
typedef V | enc |
typedef unsigned | equiv |
typedef object_id< Tag, V > | exact_t |
typedef V | value_t |
Base class of an object id.
Tag | the tag type |
Equiv | the equivalent value. |
Definition at line 49 of file object_id.hh.
mln::util::object_id< Tag, V >::object_id | ( | ) |
mln::util::object_id< Tag, V >::object_id | ( | const V2 & | id | ) |
mln::util::object_id< Tag, V >::object_id | ( | const object_id< Tag2, V2 > & | other | ) |
void mln::util::object_id< Tag, V >::invalidate | ( | ) |
bool mln::util::object_id< Tag, V >::is_valid | ( | ) | const |
mln::util::object_id< Tag, V >::operator unsigned | ( | ) | const |
object_id<Tag,V>& mln::util::object_id< Tag, V >::operator= | ( | const V2 & | e | ) |
unsigned mln::util::object_id< Tag, V >::to_equiv | ( | ) | const |
const V& mln::util::object_id< Tag, V >::value | ( | ) | const |
V& mln::util::object_id< Tag, V >::value | ( | ) |
|
protected |
Definition at line 84 of file object_id.hh.
|
inherited |
Definition at line 60 of file concept/integer.hh.
typedef V mln::util::object_id< Tag, V >::enc |
Definition at line 55 of file object_id.hh.
typedef unsigned mln::util::object_id< Tag, V >::equiv |
Definition at line 54 of file object_id.hh.
|
inherited |
typedef V mln::util::object_id< Tag, V >::value_t |
The underlying type id.
Definition at line 53 of file object_id.hh.