NGSolve
4.9
|
Base class for generic SymbolTable. More...
#include <symboltable.hpp>
Public Member Functions | |
NGS_DLL_HEADER | ~BaseSymbolTable () |
deletes identifiers | |
NGS_DLL_HEADER void | DelNames () |
delete all symbols | |
NGS_DLL_HEADER void | AppendName (const char *name) |
append new name (copy) | |
NGS_DLL_HEADER int | Index (const char *name) const |
Index of symbol name, throws exception if unsued. | |
NGS_DLL_HEADER int | CheckIndex (const char *name) const |
Index of symbol name, returns -1 if unused. | |
Protected Attributes | |
Array< char * > | names |
identifiers |
Base class for generic SymbolTable.
Maintains the array of identifiers.