symbol.hh File Reference

A library to create and manipulate symbols with a unique name. More...

#include <string>

Go to the source code of this file.

Classes

class  Symbol
 Symbols are unique objects with a name stored in a hash table. More...

Functions

Symbolsymbol (const char *str)
 Returns (and creates if new) the symbol of name str.
Symbolsymbol (const string &str)
 Returns (and creates if new) the symbol of name str.
Symbolunique (const char *str)
 Returns a new unique symbol of name strxxx.
const char * name (Symbol *sym)
 Returns the name of a symbol.
void * getUserData (Symbol *sym)
 Returns user data.
void setUserData (Symbol *sym, void *d)
 Set user data.


Detailed Description

A library to create and manipulate symbols with a unique name.

A library of functions to create and manipulate symbols with a unique name.

API:

Properties:

If p and q are two symbols then : p != q <=> name(p) != name(q)

Definition in file symbol.hh.


Generated on Sun Mar 22 16:24:30 2009 for FAUST compiler by  doxygen 1.5.7.1