|
|
||||||
|
cfl_nameset.h
Go to the documentation of this file.
99 * This constructor reads a NameSet from a file using the DoRead(TokenReader&, const std::string&)
466 virtual void DoWrite(TokenWriter& tw, const std::string& rLabel="", const Type* pContext=0) const;
481 virtual void DoDWrite(TokenWriter& tw, const std::string& rLabel="", const Type* pContext=0) const;
497 virtual void DoXWrite(TokenWriter& tw, const std::string& rLabel="", const Type* pContext=0) const;
599 * This constructor reads a NameSet from a file using the DoRead(TokenReader&, const std::String&)
845 void Attribute(const Idx& rElem, const Attr& rAttr) { return TAttrMap<Idx,Attr>::Attribute(rElem,rAttr); };
846 void Attribute(const Idx& rElem, const Type& rAttr) { return TAttrMap<Idx,Attr>::Attribute(rElem,rAttr); };
847 void AttributeTry(const Idx& rElem, const Type& rAttr) { return TAttrMap<Idx,Attr>::AttributeTry(rElem,rAttr); };
1165 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:1047 void AttributeTry(const Idx &rElem, const Type &rAttr) Attribute access. Definition: cfl_nameset.h:847 virtual void Attributes(const TBaseSet< Idx > &rOtherSet) Set attributes. Definition: cfl_nameset.h:1164 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:960 virtual void EraseSet(const NameSet &rOtherSet) Erase elements indicated by rOtherSet. Definition: cfl_nameset.h:1095 std::string Str(const Idx &rIndex) const Return pretty printable symbolic name for index. Definition: cfl_nameset.h:1185 virtual bool Insert(const Idx &rIndex, const Attr &rAttr) Add an element by index incl. Definition: cfl_nameset.h:1002 virtual TaNameSet & operator=(const NameSet &rSrc) Relaxed assignment operator (uses base class to maintain attributes) Definition: cfl_nameset.h:633 virtual void EraseSet(const TBaseSet< Idx > &rOtherSet) Erase elements specified by rOtherSet. Definition: cfl_nameset.h:1110 virtual Idx Insert(const std::string &rName) Add an element by its symbolic name. Definition: cfl_nameset.h:1016 virtual void RestrictSet(const NameSet &rOtherSet) Restrict elements indicated by rOtherSet. Definition: cfl_nameset.h:1130 TaNameSet(void) Constructor for NameSet referring to the static SymbolTable. Definition: cfl_nameset.h:901 void Attribute(const Idx &rElem, const Attr &rAttr) Definition: cfl_nameset.h:845 virtual Idx Insert(const std::string &rName, const Attr &rAttr) Add an element by its symbolic name. Definition: cfl_nameset.h:1024 virtual void InsertSet(const NameSet &rOtherSet) Inserts elements of rOtherSet. Definition: cfl_nameset.h:1033 const Attr & Attribute(const Idx &rElem) const Definition: cfl_nameset.h:844 virtual TaNameSet & Assign(const TBaseSet< Idx > &rSrc) Relaxed assignment method (uses base class to maintain attributes) Definition: cfl_nameset.h:968 void Attribute(const Idx &rElem, const Type &rAttr) Definition: cfl_nameset.h:846 virtual NameSet::Iterator Erase(const Iterator &pos) Delete element by iterator. Definition: cfl_nameset.h:1089 const Attr * AttributeType(void) const resolve ambiguities from attribute interface ("using" wont do the job) Definition: cfl_nameset.h:842 virtual void RestrictSet(const TBaseSet< Idx > &rOtherSet) Restrict to elements specified by rOtherSet. Definition: cfl_nameset.h:1144 virtual bool Erase(const std::string &rName) Delete element by symbolic name. Definition: cfl_nameset.h:1074 A TokenReader reads sequential tokens from a file or string. Definition: cfl_tokenreader.h:63 A TokenWriter writes sequential tokens to a file, a string or stdout. Definition: cfl_tokenwriter.h:51 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:2171 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 libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |