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_type getFirst  )  const [inline]
 

Returns the first Id number

id_type getSecond  )  const [inline]
 

Returns the second Id number

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

Operator!=

bool operator< const Id id  )  const [inline]
 

Operator<

Id& operator= const Id iBrother  )  [inline]
 

Operator=

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

Operator==

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


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