/mnt/hgfs/jamie_On_My_Mac/store/version_control/svn/integralive/library/trunk/src/id.c File Reference

#include <stdio.h>
#include "Integra/integra_id.h"
#include "globals.h"
#include "debug.h"

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.

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