|
Go to the documentation of this file.
24 #ifndef FAUDES_SYMBOLTABLE_H
25 #define FAUDES_SYMBOLTABLE_H
71 const std::string& Name( void) const;
74 void Name( const std::string& rName);
84 Idx MaxIndex( void) const;
94 void MaxIndex( Idx index);
97 Idx LastIndex( void) const;
107 std::string Symbol( Idx index) const;
118 Idx Index( const std::string& rName) const;
128 bool Exists( Idx index) const;
138 bool Exists( const std::string& rName) const;
150 static bool ValidSymbol( const std::string& rName);
162 std::string UniqueSymbol( const std::string& rName) const;
178 Idx InsEntry( Idx index, const std::string& rName);
193 Idx InsEntry( const std::string& rName);
210 void SetEntry( Idx index, const std::string& rName);
218 void SetDefaultSymbol( Idx index);
227 void ClrEntry( Idx index);
236 void ClrEntry( const std::string& rName);
245 void RestrictDomain( const IndexSet& rDomain);
276 void DoRead( TokenReader& rTr, const std::string& rLabel = "", const Type* pContext=0);
279 void DoWrite( TokenWriter& rTw, const std::string& rLabel= "", const Type* pContext=0) const;
Classes IndexSet, TaIndexSet.
Runtime interface, faudes types.
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.32b
--- 2024.03.01
--- c++ api documentaion by doxygen
|