|
Go to the documentation of this file.
24 #ifndef FAUDES_SYMBOLTABLE_H
25 #define FAUDES_SYMBOLTABLE_H
64 using Type::operator=;
73 const std::string& Name( void) const;
76 void Name( const std::string& rName);
86 Idx MaxIndex( void) const;
96 void MaxIndex( Idx index);
99 Idx LastIndex( void) const;
109 std::string Symbol( Idx index) const;
120 Idx Index( const std::string& rName) const;
130 bool Exists( Idx index) const;
140 bool Exists( const std::string& rName) const;
152 static bool ValidSymbol( const std::string& rName);
164 std::string UniqueSymbol( const std::string& rName) const;
180 Idx InsEntry( Idx index, const std::string& rName);
195 Idx InsEntry( const std::string& rName);
212 void SetEntry( Idx index, const std::string& rName);
220 void SetDefaultSymbol( Idx index);
229 void ClrEntry( Idx index);
238 void ClrEntry( const std::string& rName);
247 void RestrictDomain( const IndexSet& rDomain);
278 void DoRead( TokenReader& rTr, const std::string& rLabel = "", const Type* pContext=0);
281 void DoWrite( TokenWriter& rTw, const std::string& rLabel= "", const Type* pContext=0) const;
Classes IndexSet, TaIndexSet.
Runtime interface, faudes types.
C-level utilities functions.
A SymbolTable associates sybolic names with indices.
Idx mNextIndex Largest used index + 1.
std::map< Idx, std::string > mNameMap Name lookup map.
std::map< std::string, Idx > mIndexMap Index lookup map.
Idx mMaxIndex Upper limit (incl)
std::string mMyName Name of the SymbolTable.
A TokenReader reads sequential tokens from a file or string.
A TokenWriter writes sequential tokens to a file, a string or stdout.
Base class of all libFAUDES objects that participate in the run-time interface.
libFAUDES resides within the namespace faudes.
uint32_t Idx Type definition for index type (allways 32bit)
libFAUDES 2.32f
--- 2024.12.22
--- c++ api documentaion by doxygen
|