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