$extrastylesheet
Olena  User documentation 2.1
An Image Processing Platform
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
mln::util::object_id< Tag, V > Class Template Reference

#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

id_

Public Types

typedef Integer< void > category
typedef V enc
typedef unsigned equiv
typedef object_id< Tag, V > exact_t
typedef V value_t

Detailed Description

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

Base class of an object id.

Template Parameters
Tagthe tag type
Equivthe equivalent value.

Definition at line 49 of file object_id.hh.

Constructor & Destructor Documentation

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

Member Function Documentation

template<typename Tag, typename V>
void mln::util::object_id< Tag, V >::invalidate ( )
template<typename Tag, typename V>
bool mln::util::object_id< Tag, V >::is_valid ( ) const
template<typename Tag, typename V>
mln::util::object_id< Tag, V >::operator unsigned ( ) const
template<typename Tag, typename V>
template<typename V2 >
object_id<Tag,V>& mln::util::object_id< Tag, V >::operator= ( const V2 &  e)
template<typename Tag, typename V>
unsigned mln::util::object_id< Tag, V >::to_equiv ( ) const
template<typename Tag, typename V>
const V& mln::util::object_id< Tag, V >::value ( ) const
template<typename Tag, typename V>
V& mln::util::object_id< Tag, V >::value ( )

Member Data Documentation

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

Definition at line 84 of file object_id.hh.

Member Typedef Documentation

typedef Integer<void> mln::value::Integer< object_id< Tag, V > >::category
inherited

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 55 of file object_id.hh.

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

Definition at line 54 of file object_id.hh.

typedef object_id< Tag, V > mln::Object< object_id< Tag, V > >::exact_t
inherited

Definition at line 105 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 53 of file object_id.hh.