mln::util::object_id< Tag, V > Class Template Reference

Base class of an object id. More...

#include <object_id.hh>

Inheritance diagram for mln::util::object_id< Tag, V >:

Inheritance graph

List of all members.

Public Types

typedef Integer< void > category
typedef V enc
typedef unsigned equiv
typedef E exact_t
typedef V value_t
 The underlying type id.

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
V & value ()
const V & value () const
template<typename Tag2, typename V2>
 object_id (const object_id< Tag2, V2 > &other)
template<typename V2>
 object_id (const V2 &id)
 object_id ()
 Constructors.

Protected Attributes

id_


Detailed Description

template<typename Tag, typename V>
class mln::util::object_id< Tag, V >

Base class of an object id.

Template Parameters:
Tag the tag type
Equiv the equivalent value.

Definition at line 48 of file object_id.hh.


Member Typedef Documentation

template<typename E>
typedef Integer<void> mln::value::Integer< E >::category [inherited]

Reimplemented from mln::value::Scalar< E >.

Definition at line 60 of file concept/integer.hh.

template<typename Tag, typename V>
typedef V mln::util::object_id< Tag, V >::enc

Definition at line 54 of file object_id.hh.

template<typename Tag, typename V>
typedef unsigned mln::util::object_id< Tag, V >::equiv

Definition at line 53 of file object_id.hh.

template<typename E>
typedef E mln::Object< E >::exact_t [inherited]

Definition at line 172 of file object.hh.

template<typename Tag, typename V>
typedef V mln::util::object_id< Tag, V >::value_t

The underlying type id.

Definition at line 52 of file object_id.hh.


Constructor & Destructor Documentation

template<typename Tag, typename V>
mln::util::object_id< Tag, V >::object_id (  )  [inline]

Constructors.

Definition at line 99 of file object_id.hh.

template<typename Tag, typename V>
template<typename V2>
mln::util::object_id< Tag, V >::object_id ( const V2 &  id  )  [inline]

Definition at line 107 of file object_id.hh.

template<typename Tag, typename V>
template<typename Tag2, typename V2>
mln::util::object_id< Tag, V >::object_id ( const object_id< Tag2, V2 > &  other  )  [inline]

Definition at line 116 of file object_id.hh.


Member Function Documentation

template<typename Tag, typename V>
void mln::util::object_id< Tag, V >::invalidate (  )  [inline]

Definition at line 169 of file object_id.hh.

References mln::util::object_id< Tag, V >::id_.

Referenced by mln::util::edge< G >::invalidate().

template<typename Tag, typename V>
bool mln::util::object_id< Tag, V >::is_valid (  )  const [inline]

Definition at line 161 of file object_id.hh.

References mln::util::object_id< Tag, V >::id_.

Referenced by mln::util::edge< G >::is_valid().

template<typename Tag, typename V>
mln::util::object_id< Tag, V >::operator unsigned (  )  const [inline]

Definition at line 152 of file object_id.hh.

References mln::util::object_id< Tag, V >::id_.

template<typename Tag, typename V>
template<typename V2>
object_id< Tag, V > & mln::util::object_id< Tag, V >::operator= ( const V2 &  e  )  [inline]

Definition at line 126 of file object_id.hh.

References mln::util::object_id< Tag, V >::id_.

template<typename Tag, typename V>
unsigned mln::util::object_id< Tag, V >::to_equiv (  )  const [inline]

Definition at line 177 of file object_id.hh.

References mln::util::object_id< Tag, V >::id_.

template<typename Tag, typename V>
V & mln::util::object_id< Tag, V >::value (  )  [inline]

Definition at line 137 of file object_id.hh.

References mln::util::object_id< Tag, V >::id_.

template<typename Tag, typename V>
const V & mln::util::object_id< Tag, V >::value (  )  const [inline]

Definition at line 145 of file object_id.hh.

References mln::util::object_id< Tag, V >::id_.

Referenced by mln::util::operator==().


Member Data Documentation

template<typename Tag, typename V>
V mln::util::object_id< Tag, V >::id_ [protected]


Generated on Sun Apr 25 02:07:27 2010 for Milena (Olena) by  doxygen 1.5.6