/mnt/hgfs/jamie_On_My_Mac/store/version_control/svn/integralive/library/trunk/Integra/integra_id.h File Reference

id header file More...

Go to the source code of this file.

Typedefs

typedef unsigned long ntg_id
 Type to hold ids.

Functions

ntg_id ntg_id_new (void)
 Return a new unique id.
unsigned long ntg_id_get_as_long (ntg_id id)
 Utility method to cast an ntg_id to a unsigned long.
char * ntg_id_get_as_string (ntg_id id, const char *prefix)
 Utility method to cast an ntg_id to a string.

Detailed Description

id header file


Typedef Documentation

typedef unsigned long ntg_id

Type to hold ids.

Used extensively for creating references between various structs


Function Documentation

unsigned long ntg_id_get_as_long ( ntg_id  id  ) 

Utility method to cast an ntg_id to a unsigned long.

Referenced by ntg_id_get_as_string().

char* ntg_id_get_as_string ( ntg_id  id,
const char *  prefix 
)

Utility method to cast an ntg_id to a string.

References ntg_id_get_as_long(), and ntg_malloc().

ntg_id ntg_id_new ( void   ) 

Return a new unique id.

The returned value is guaranteed to be unique within the current libIntegra process

References ntg_id_counter.

Referenced by ntg_instance_new().


Generated on Tue Jan 5 14:02:29 2010 for LibIntegra by  doxygen 1.6.1