Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

dmn::IDs Class Reference

Unique identificators. More...

#include <id.h>

List of all members.

Public Member Functions

ID create ()
 Create a new identificator.

bool destroy (ID id)
 Destroy a identificator (id).

bool exist (ID id)
 Check if a identificator exist or not.

unsigned short size ()
 Number of elements.


Detailed Description

Unique identificators.


Member Function Documentation

ID dmn::IDs::create  ) 
 

Create a new identificator.

Returns:
ID_NULL if can't be created a new identificator, or the new id

bool dmn::IDs::destroy ID  id  ) 
 

Destroy a identificator (id).

Parameters:
id identificator to destroy
Returns:
true if all was ok, else false

bool dmn::IDs::exist ID  id  ) 
 

Check if a identificator exist or not.

Parameters:
id identificator to check
Returns:
true if it exists, false if not

unsigned short dmn::IDs::size  ) 
 

Number of elements.

Returns:
the number of elements


The documentation for this class was generated from the following file:
Generated on Fri Dec 26 22:55:42 2003 for dmn by doxygen 1.3.4