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.
Constructor & Destructor Documentation
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] |
|
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] |
|
bool operator< |
( |
const Id & |
id |
) |
const [inline] |
|
Id& operator= |
( |
const Id & |
iBrother |
) |
[inline] |
|
bool operator== |
( |
const Id & |
id |
) |
const [inline] |
|
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: