h o m e d o c u m e n t a t i o n c l a s s h i e r a r c h y

Id Class Reference

#include <Id.h>

List of all members.


Detailed Description

Class used to tag any object by an id . It is made of two unsigned integers.


Public Member Functions

 Id ()
 Id (id_type id)
 Id (id_type ifirst, id_type isecond)
 Id (const Id &iBrother)
Idoperator= (const Id &iBrother)
id_type getFirst () const
id_type getSecond () const
void setFirst (id_type first)
void setSecond (id_type second)
bool operator== (const Id &id) const
bool operator!= (const Id &id) const
bool operator< (const Id &id) const

Constructor & Destructor Documentation

Id (  )  [inline]

Default constructor

Id ( id_type  id  )  [inline]

Builds an Id from an integer. The second number is set to 0.

Id ( id_type  ifirst,
id_type  isecond 
) [inline]

Builds the Id from the two numbers

Id ( const Id iBrother  )  [inline]

Copy constructor


Member Function Documentation

Id& operator= ( const Id iBrother  )  [inline]

Operator=

id_type getFirst (  )  const [inline]

Returns the first Id number

id_type getSecond (  )  const [inline]

Returns the second Id number

void setFirst ( id_type  first  )  [inline]

Sets the first number constituing the Id

void setSecond ( id_type  second  )  [inline]

Sets the second number constituing the Id

bool operator== ( const Id id  )  const [inline]

Operator==

bool operator!= ( const Id id  )  const [inline]

Operator!=

bool operator< ( const Id id  )  const [inline]

Operator<


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