|
|
||||||
|
cfl_nameset.cpp
Go to the documentation of this file.
142 void NameSet::DoDWrite(TokenWriter& tw, const std::string& rLabel, const Type* pContext) const {
158 void NameSet::DoXWrite(TokenWriter& tw, const std::string& rLabel, const Type* pContext) const {
162 FD_DC("NameSet(" << this << ")::DoXWrite(..): section " << btag.StringValue() << " #" << Size());
205 FD_DC("NameSet(" << this << ")::DoRead(..): section " << label << " with symtab " << mpSymbolTable);
#define FD_DC(message) Debug: optional report on container operations. Definition: cfl_definitions.h:153 #define FD_ERR(message) Debug: report more errors with file/line info. Definition: cfl_definitions.h:91 Classes NameSet, TaNameSet. #define FAUDES_TYPE_IMPLEMENTATION_EQUAL(ftype, ctype, cbase) Definition: cfl_types.h:904 #define FAUDES_TYPE_IMPLEMENTATION_COPY(ftype, ctype, cbase) Definition: cfl_types.h:891 #define FAUDES_TYPE_IMPLEMENTATION_CAST(ftype, ctype, cbase) Definition: cfl_types.h:893 #define FAUDES_TYPE_IMPLEMENTATION_ASSIGN(ftype, ctype, cbase) Definition: cfl_types.h:896 NameSet(void) Constructor for NameSet referring to the static SymbolTable. Definition: cfl_nameset.cpp:48 NameSet::Iterator Find(const Idx &rIndex) const Find iterator for index. Definition: cfl_nameset.cpp:443 void SymbolicName(Idx index, const std::string &rName) Set new name for existing index. Definition: cfl_nameset.cpp:400 virtual void DoRead(TokenReader &tr, const std::string &rLabel="", const Type *pContext=0) Read from TokenReader, see Type::Read for public wrappers. Definition: cfl_nameset.cpp:188 std::string Str(const Idx &rIndex) const Return pretty printable symbolic name for index. Definition: cfl_nameset.cpp:530 virtual void InsertSet(const NameSet &rOtherSet) Inserts all elements of rOtherSet. Definition: cfl_nameset.cpp:295 NameSet operator-(const NameSet &rOtherSet) const Set difference operator. Definition: cfl_nameset.cpp:471 bool DoEqual(const NameSet &rOtherSet) const Test equality of configuration data. Definition: cfl_nameset.cpp:92 NameSet operator*(const NameSet &rOtherSet) const Set intersection operator. Definition: cfl_nameset.cpp:489 virtual void DoDWrite(TokenWriter &tw, const std::string &rLabel="", const Type *pContext=0) const Write debug info to TokenWriter, see Type::DWrite for public wrapper. Definition: cfl_nameset.cpp:142 virtual void DoXWrite(TokenWriter &tw, const std::string &rLabel="", const Type *pContext=0) const Write to TokenWriter XML format, see Type::XWrite for public wrappers This function will also do the ... Definition: cfl_nameset.cpp:158 void EraseSet(const NameSet &rOtherSet) Erase elements specified by rOtherSet. Definition: cfl_nameset.cpp:352 void RestrictSet(const NameSet &rOtherSet) Restrict to elements specified by rOtherSet. Definition: cfl_nameset.cpp:383 virtual void DoWrite(TokenWriter &tw, const std::string &rLabel="", const Type *pContext=0) const Write to TokenWriter, see Type::Write for public wrappers This function will also do the token IO of ... Definition: cfl_nameset.cpp:119 A SymbolTable associates sybolic names with indices. Definition: cfl_symboltable.h:61 static SymbolTable * GlobalEventSymbolTablep(void) Get Static Symboltable ref (initialize on first use pattern) Definition: cfl_symboltable.cpp:277 void SetEntry(Idx index, const std::string &rName) Set symbolic name for existing entry. Definition: cfl_symboltable.cpp:178 Idx InsEntry(Idx index, const std::string &rName) Add new entry (aka symbolic name and index) to symboltable,. Definition: cfl_symboltable.cpp:138 std::vector< int >::size_type Position convenience typedef for positions Definition: cfl_basevector.h:623 A TokenReader reads sequential tokens from a file or string. Definition: cfl_tokenreader.h:63 bool Eos(const std::string &rLabel) Peek a token and check whether it ends the specified section. Definition: cfl_tokenreader.cpp:439 void ReadEnd(const std::string &rLabel) Close the current section by matching the previous ReadBegin(). Definition: cfl_tokenreader.cpp:364 void ReadBegin(const std::string &rLabel) Open a section by specified label. Definition: cfl_tokenreader.cpp:249 A TokenWriter writes sequential tokens to a file, a string or stdout. Definition: cfl_tokenwriter.h:51 const std::string & StringValue(void) const Get string value of a name token. Definition: cfl_token.cpp:177 bool ExistsAttributeString(const std::string &name) Test attibute existence. Definition: cfl_token.cpp:355 void InsAttributeString(const std::string &name, const std::string &value) Insert named attribute with string value. Definition: cfl_token.cpp:309 const std::string & AttributeStringValue(const std::string &name) Access attribute value. Definition: cfl_token.cpp:385 Base class of all libFAUDES objects that participate in the run-time interface. Definition: cfl_types.h:239 virtual Token XBeginTag(const std::string &rLabel="", const std::string &rFallbackLabel="") const Definition: cfl_types.cpp:315 void Read(const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0) Read configuration data from file with label specified. Definition: cfl_types.cpp:261 std::string ToString(const std::string &rLabel="", const Type *pContext=0) const Write configuration data to a string. Definition: cfl_types.cpp:169 virtual void XWrite(const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0) const Write configuration data to an XML file. Definition: cfl_types.cpp:200 virtual Type & Assign(const Type &rSrc) Assign configuration data from other object. Definition: cfl_types.cpp:77 void Write(const Type *pContext=0) const Write configuration data to console. Definition: cfl_types.cpp:139 virtual const AttributeVoid * AttributeType(void) const Attribute typeinfo. Definition: cfl_baseset.h:2171 virtual const std::string & XElementTag(void) const Get name of elements (used for XML IO) Definition: cfl_baseset.h:1777 virtual void RestrictSet(const TBaseSet &rOtherSet) Restrict elements given by other set. Definition: cfl_baseset.h:2064 virtual void InsertSet(const TBaseSet &rOtherSet) Insert elements given by rOtherSet. Definition: cfl_baseset.h:1987 virtual const std::string & TypeName(void) const Get objects's type name. Definition: cfl_baseset.h:1795 virtual const AttributeVoid & Attribute(const Idx &rElem) const Attribute access. Definition: cfl_baseset.h:2290 void SetUnion(const TBaseSet< T, Cmp > &rSetA, const TBaseSet< T, Cmp > &rSetB, TBaseSet< T, Cmp > &rRes) Definition: cfl_baseset.h:1019 void SetIntersection(const TBaseSet< T, Cmp > &rSetA, const TBaseSet< T, Cmp > &rSetB, TBaseSet< T, Cmp > &rRes) Definition: cfl_baseset.h:1049 virtual void EraseSet(const TBaseSet &rOtherSet) Erase elements given by other set. Definition: cfl_baseset.h:2042 libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |