|
|
||||||
|
cfl_nameset.h
Go to the documentation of this file.
103 * This constructor reads a NameSet from a file using the DoRead(TokenReader&, const std::string&)
468 virtual void DoWrite(TokenWriter& tw, const std::string& rLabel="", const Type* pContext=0) const;
483 virtual void DoDWrite(TokenWriter& tw, const std::string& rLabel="", const Type* pContext=0) const;
499 virtual void DoXWrite(TokenWriter& tw, const std::string& rLabel="", const Type* pContext=0) const;
605 * This constructor reads a NameSet from a file using the DoRead(TokenReader&, const std::String&)
850 void Attribute(const Idx& rElem, const Attr& rAttr) { return TAttrMap<Idx,Attr>::Attribute(rElem,rAttr); };
851 void Attribute(const Idx& rElem, const Type& rAttr) { return TAttrMap<Idx,Attr>::Attribute(rElem,rAttr); };
852 void AttributeTry(const Idx& rElem, const Type& rAttr) { return TAttrMap<Idx,Attr>::AttributeTry(rElem,rAttr); };
1170 FD_DC("TaNameSet(" << this << ")::Attributes(otherset) with type " << typeid(*rOtherSet.AttributeType()).name());
Class TAttrMap. Class TBaseVector. Compiletime options. #define FD_DC(message) Debug: optional report on container operations. Definition: cfl_definitions.h:153 Class Exception. Runtime interface, registry for faudes-types and functions. Class SymbolTable. #define FAUDES_TYPE_TIMPLEMENTATION_CAST(ftype, ctype, cbase, ctemp) Definition: cfl_types.h:922 #define FAUDES_TYPE_TIMPLEMENTATION_EQUAL(ftype, ctype, cbase, ctemp) Definition: cfl_types.h:933 #define FAUDES_TYPE_TDECLARATION(ftype, ctype, cbase) faudes type declaration macro, template version Definition: cfl_types.h:878 #define FAUDES_TYPE_TIMPLEMENTATION_ASSIGN(ftype, ctype, cbase, ctemp) Definition: cfl_types.h:925 #define FAUDES_TYPE_DECLARATION(ftype, ctype, cbase) faudes type declaration macro Definition: cfl_types.h:867 #define FAUDES_TYPE_TIMPLEMENTATION_COPY(ftype, ctype, cbase, ctemp) Definition: cfl_types.h:919 std::string Str(const Idx &rIndex) const Return pretty printable symbolic name for index. Definition: cfl_nameset.cpp:530 bool DoEqual(const NameSet &rOtherSet) const Test equality of configuration data. Definition: cfl_nameset.cpp:92 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 EraseSet(const TBaseSet< T, Cmp > &rOtherSet) Erase elements given by other set. Definition: cfl_attrmap.h:386 void InsertSet(const TBaseSet< T, Cmp > &rOtherSet) Inserts elements from rOtherSet. Definition: cfl_attrmap.h:340 void RestrictSet(const TBaseSet< T, Cmp > &rOtherSet) Restrict to specified subset. Definition: cfl_attrmap.h:409 void AssignWithAttributes(const TBaseSet< T, Cmp > &rSourceSet) Copy from a TBaseSet to the associated TBaseSet, with attributes, provided that they can be casted ac... Definition: cfl_attrmap.h:292 virtual void InsertSet(const TBaseSet< Idx > &rOtherSet) Inserts all elements of rOtherSet. Definition: cfl_nameset.h:1052 void AttributeTry(const Idx &rElem, const Type &rAttr) Attribute access. Definition: cfl_nameset.h:852 virtual void Attributes(const TBaseSet< Idx > &rOtherSet) Set attributes. Definition: cfl_nameset.h:1169 bool DoEqual(const NameSet &rOtherSet) const Test equality of configuration data, ignore attributes Ignore name of the set, insist in matching sym... Definition: cfl_nameset.h:965 virtual void EraseSet(const NameSet &rOtherSet) Erase elements indicated by rOtherSet. Definition: cfl_nameset.h:1100 std::string Str(const Idx &rIndex) const Return pretty printable symbolic name for index. Definition: cfl_nameset.h:1190 virtual bool Insert(const Idx &rIndex, const Attr &rAttr) Add an element by index incl. Definition: cfl_nameset.h:1007 virtual void EraseSet(const TBaseSet< Idx > &rOtherSet) Erase elements specified by rOtherSet. Definition: cfl_nameset.h:1115 virtual Idx Insert(const std::string &rName) Add an element by its symbolic name. Definition: cfl_nameset.h:1021 TaNameSet & operator=(const NameSet &rSrc) Relaxed assignment operator (uses base class to maintain attributes) Definition: cfl_nameset.h:638 virtual void RestrictSet(const NameSet &rOtherSet) Restrict elements indicated by rOtherSet. Definition: cfl_nameset.h:1135 TaNameSet(void) Constructor for NameSet referring to the static SymbolTable. Definition: cfl_nameset.h:906 void Attribute(const Idx &rElem, const Attr &rAttr) Definition: cfl_nameset.h:850 virtual Idx Insert(const std::string &rName, const Attr &rAttr) Add an element by its symbolic name. Definition: cfl_nameset.h:1029 virtual void InsertSet(const NameSet &rOtherSet) Inserts elements of rOtherSet. Definition: cfl_nameset.h:1038 const Attr & Attribute(const Idx &rElem) const Definition: cfl_nameset.h:849 virtual TaNameSet & Assign(const TBaseSet< Idx > &rSrc) Relaxed assignment method (uses base class to maintain attributes) Definition: cfl_nameset.h:973 void Attribute(const Idx &rElem, const Type &rAttr) Definition: cfl_nameset.h:851 virtual NameSet::Iterator Erase(const Iterator &pos) Delete element by iterator. Definition: cfl_nameset.h:1094 const Attr * AttributeType(void) const resolve ambiguities from attribute interface ("using" wont do the job) Definition: cfl_nameset.h:847 virtual void RestrictSet(const TBaseSet< Idx > &rOtherSet) Restrict to elements specified by rOtherSet. Definition: cfl_nameset.h:1149 virtual bool Erase(const std::string &rName) Delete element by symbolic name. Definition: cfl_nameset.h:1079 A TokenReader reads sequential tokens from a file or string. Definition: cfl_tokenreader.h:64 A TokenWriter writes sequential tokens to a file, a string or stdout. Definition: cfl_tokenwriter.h:52 Base class of all libFAUDES objects that participate in the run-time interface. Definition: cfl_types.h:239 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 const AttributeVoid * AttributeType(void) const Attribute typeinfo. Definition: cfl_baseset.h:2180 void SetUnion(const TBaseSet< T, Cmp > &rSetA, const TBaseSet< T, Cmp > &rSetB, TBaseSet< T, Cmp > &rRes) Definition: cfl_baseset.h:1028 void SetIntersection(const TBaseSet< T, Cmp > &rSetA, const TBaseSet< T, Cmp > &rSetB, TBaseSet< T, Cmp > &rRes) Definition: cfl_baseset.h:1058 libFAUDES 2.32f --- 2024.12.22 --- c++ api documentaion by doxygen |