I Class Reference

Map between strings and unique integer identifiers (Id's). More...

#include <id.h>

List of all members.

Static Public Member Functions

static Id Get (char *str)
 Get unique Id for string, or assign new Id.
static Id Check (char *str)
 Return unique Id assigned to string, or I_NOT_FOUND if none.
static char * String (Id id)
 Get string for I.
static void Print (Id id)
 Print string to stdout, replacing '^' with ' '.
static void Dump (char *fileName)
 Dump Id's to specified fileName.
static void Read (char *fileName)
 Read Id's from specified fileName.

Static Public Attributes

static const Id I_NOT_FOUND = 0
 Flag indicating string was not found.


Detailed Description

Map between strings and unique integer identifiers (Id's).


Member Function Documentation

Id I::Check char *  str  )  [static]
 

Return unique Id assigned to string, or I_NOT_FOUND if none.

void I::Dump char *  fileName  )  [static]
 

Dump Id's to specified fileName.

Id I::Get char *  str  )  [static]
 

Get unique Id for string, or assign new Id.

void I::Print Id  id  )  [static]
 

Print string to stdout, replacing '^' with ' '.

void I::Read char *  fileName  )  [static]
 

Read Id's from specified fileName.

char * I::String Id  id  )  [static]
 

Get string for I.


Member Data Documentation

const Id I::I_NOT_FOUND = 0 [static]
 

Flag indicating string was not found.


The documentation for this class was generated from the following files:
Generated on Sun Oct 8 09:32:10 2006 for gabbie by  doxygen 1.4.6