|
|
||||||
|
cfl_indexset.h
Go to the documentation of this file.
228 virtual void DoWrite(TokenWriter& tw, const std::string& rLabel="", const Type* pContext=0) const;
244 virtual void DoXWrite(TokenWriter& tw, const std::string& rLabel="", const Type* pContext=0) const;
249 * section, reads subsequent integer tokens as indexes, and calls matching TokenReader::ReadEnd().
284 * The template parameter Attr must provide basic functions for file IO and must define a default
309 * Note that attributes may be either subsections or tokens of type different from integer and string.
529 void Attribute(const Idx& rElem, const Attr& rAttr) { return TAttrMap<Idx,Attr>::Attribute(rElem,rAttr); };
530 void Attribute(const Idx& rElem, const Type& rAttr) { return TAttrMap<Idx,Attr>::Attribute(rElem,rAttr); };
531 void AttributeTry(const Idx& rElem, const Type& rAttr) { return TAttrMap<Idx,Attr>::AttributeTry(rElem,rAttr); };
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_TDECLARATION(ftype, ctype, cbase) faudes type declaration macro, template version Definition: cfl_types.h:878 #define FAUDES_TYPE_DECLARATION(ftype, ctype, cbase) faudes type declaration macro Definition: cfl_types.h:867 #define FAUDES_TYPE_TIMPLEMENTATION(ftype, ctype, cbase, ctemp) faudes type implementation macros, overall Definition: cfl_types.h:972 std::string Str(const Idx &rIndex) const Return pretty printable index. Definition: cfl_indexset.h:185 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 TaIndexSet(const std::string &rFilename, const std::string &rLabel="") Construct from file. Definition: cfl_indexset.h:606 const Attr * AttributeType(void) const resolve ambiguities from attribute interface ("using" wont do the job) Definition: cfl_indexset.h:526 TaIndexSet(const IndexSet &rOtherSet) Copy-constructor (from IndexSet, sets attributes to default) Definition: cfl_indexset.h:594 const Attr & Attribute(const Idx &rElem) const Definition: cfl_indexset.h:528 virtual void InsertSet(const IndexSet &rOtherSet) Inserts elements of rOtherSet. Definition: cfl_indexset.h:682 virtual TaIndexSet & Assign(const TBaseSet< Idx > &rSrc) Relaxed assignment method. Definition: cfl_indexset.h:625 virtual void EraseSet(const TBaseSet< Idx > &rOtherSet) Erase elements given by other set. Definition: cfl_indexset.h:724 void Attribute(const Idx &rElem, const Type &rAttr) Definition: cfl_indexset.h:530 void AttributeTry(const Idx &rElem, const Type &rAttr) Attribute access. Definition: cfl_indexset.h:531 void EraseSet(const IndexSet &rOtherSet) Erase elements given by other set. Definition: cfl_indexset.h:717 void RestrictSet(const IndexSet &rOtherSet) Restrict to specified subset. Definition: cfl_indexset.h:739 void Attribute(const Idx &rElem, const Attr &rAttr) Definition: cfl_indexset.h:529 virtual void InsertSet(const TBaseSet< Idx > &rOtherSet) Inserts elements of rOtherSet. Definition: cfl_indexset.h:689 TaIndexSet(const TaIndexSet &rOtherSet) Copy-constructor (from TaIndexSet, incl attributes) Definition: cfl_indexset.h:583 virtual TaIndexSet & operator=(const IndexSet &rSrc) Relaxed assignment operator. Definition: cfl_indexset.h:380 IndexSet::Iterator Erase(const Iterator &pos) Erase element by iterator (incl attribute) Definition: cfl_indexset.h:710 bool Insert(const Idx &rIndex, const Attr &attr) Insert element with attribute. Definition: cfl_indexset.h:674 virtual void RestrictSet(const TBaseSet< Idx > &rOtherSet) Restrict to specified subset. Definition: cfl_indexset.h:746 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 TBaseVector< IndexSet > IndexSetVector Convenience typedef for vectors og generators. Definition: cfl_indexset.h:278 libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |