#include <id.h>
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. |
|
Return unique Id assigned to string, or I_NOT_FOUND if none.
|
|
Dump Id's to specified fileName.
|
|
Get unique Id for string, or assign new Id.
|
|
Print string to stdout, replacing '^' with ' '.
|
|
Read Id's from specified fileName.
|
|
Get string for I.
|
|
Flag indicating string was not found.
|