Public Member Functions |
| | SimConditionSet (void) |
| | Default constructor.
|
| | SimConditionSet (const SimConditionSet &rOtherSet) |
| | Copy constructor.
|
| virtual | ~SimConditionSet (void) |
| | Virtual destructor.
|
| bool | Enabled (Idx cond) const |
| | Test condition for enabled.
|
| void | Enabled (Idx cond, bool on) |
| | Set condition enabled.
|
| SimConditionSet | EnabledConditions (void) |
| | Get set of enabled conditions.
|
| void | Reset (void) |
| | Reset all condition states.
|
| | TaNameSet (void) |
| | Constructor for NameSet referring to the static SymbolTable.
|
| | TaNameSet (const TaNameSet &rOtherSet) |
| | Copy-constructor from other TaNameSet (incl attributes and symboltable)
|
| | TaNameSet (const NameSet &rOtherSet) |
| | Constructor from NameSet (sets default attributes, same symboltable)
|
| | TaNameSet (const std::string &rFilename, const std::string &rLabel="") |
| | Constructor from file.
|
| virtual | ~TaNameSet (void) |
| | Virtual destructor.
|
| virtual TaNameSet & | Assign (const TBaseSet< Idx > &rSrc) |
| | Relaxed assignment method (uses base class to maintain attributes)
|
| virtual TaNameSet & | operator= (const NameSet &rSrc) |
| | Relaxed assignment operator
(uses base class to maintain attributes)
|
| virtual bool | Insert (const Idx &rIndex) |
| | Add an element by index.
|
| virtual bool | Insert (const Idx &rIndex, const AttributeSimCondition &rAttr) |
| | Add an element by index incl.
|
| virtual Idx | Insert (const std::string &rName) |
| | Add an element by its symbolic name.
|
| virtual Idx | Insert (const std::string &rName, const AttributeSimCondition &rAttr) |
| | Add an element by its symbolic name.
|
| virtual void | InsertSet (const NameSet &rOtherSet) |
| | Inserts elements of rOtherSet.
|
| virtual void | InsertSet (const TBaseSet< Idx > &rOtherSet) |
| | Inserts all elements of rOtherSet.
|
| virtual bool | Erase (const Idx &rIndex) |
| | Delete element by index.
|
| virtual bool | Erase (const std::string &rName) |
| | Delete element by symbolic name.
|
| virtual NameSet::Iterator | Erase (const Iterator &pos) |
| | Delete element by iterator.
|
| virtual void | EraseSet (const NameSet &rOtherSet) |
| | Erase elements indicated by rOtherSet.
|
| virtual void | EraseSet (const TBaseSet< Idx > &rOtherSet) |
| | Erase elements specified by rOtherSet.
|
| virtual void | RestrictSet (const NameSet &rOtherSet) |
| | Restrict elements indicated by rOtherSet.
|
| virtual void | RestrictSet (const TBaseSet< Idx > &rOtherSet) |
| | Restrict to elements specified by rOtherSet.
|
| virtual void | Attributes (const TBaseSet< Idx > &rOtherSet) |
| | Set attributes.
|
| std::string | Str (const Idx &rIndex) const |
| | Return pretty printable symbolic name for index.
|
| const AttributeSimCondition * | AttributeType (void) const |
| | resolve ambiguities from attribute interface ("using" wont do the job)
|
| AttributeSimCondition * | Attributep (const Idx &rElem) |
| | Get attribute reference by element.
|
| const AttributeSimCondition & | Attribute (const Idx &rElem) const |
| | Get attribute by element.
|
| void | Attribute (const Idx &rElem, const AttributeSimCondition &rAttr) |
| | Set attribute.
|
| void | Attribute (const Idx &rElem, const Type &rAttr) |
| | Set attribute.
|
| void | AttributeTry (const Idx &rElem, const Type &rAttr) |
| | Set attribute.
|
| | NameSet (void) |
| | Constructor for NameSet referring to the static SymbolTable.
|
| | NameSet (const NameSet &rOtherSet) |
| | Copy-constructor from other NameSet.
|
| | NameSet (const std::string &rFilename, const std::string &rLabel="") |
| | Constructor from file.
|
| virtual | ~NameSet (void) |
| | Virtual destructor.
|
| SymbolTable * | SymbolTablep (void) const |
| | Get Pointer mpSymbolTable.
|
| void | SymbolTablep (SymbolTable *pSymTab) |
| | Set SymbolTable reference.
|
| void | SymbolicName (Idx index, const std::string &rName) |
| | Set new name for existing index.
|
| void | SymbolicName (const std::string &rName, const std::string &rNewName) |
| | Set new name for existing name FAUDES_CHECKED checks if the specified name exists in NameSet.
|
| std::string | SymbolicName (Idx index) const |
| | Name lookup.
|
| Idx | Index (const std::string &rName) const |
| | Index lookup.
|
| bool | Exists (const Idx &rIndex) const |
| | Test existence of index.
|
| bool | Exists (const std::string &rName) const |
| | Test existence of name.
|
| NameSet::Iterator | Find (const Idx &rIndex) const |
| | Find iterator for index.
|
| NameSet::Iterator | Find (const std::string &rName) const |
| | Find iterator for name.
|
| NameSet | operator+ (const NameSet &rOtherSet) const |
| | Set union operator.
|
| NameSet | operator- (const NameSet &rOtherSet) const |
| | Set difference operator.
|
| NameSet | operator* (const NameSet &rOtherSet) const |
| | Set intersection operator.
|
| bool | operator<= (const NameSet &rOtherSet) const |
| | Test for subset.
|
| bool | operator>= (const NameSet &rOtherSet) const |
| | Test for superset.
|
| | TBaseSet (void) |
| | Constructor.
|
| | TBaseSet (const TBaseSet &rOtherSet) |
| | Copy-constructor.
|
| | TBaseSet (const std::string &rFilename, const std::string &rLabel="BaseSet") |
| | Constructor from file.
|
| virtual | ~TBaseSet (void) |
| | Virtual destructor.
|
| const std::string & | Name (void) const |
| | Return name of TBaseSet.
|
| void | Name (const std::string &rName) |
| | Set name of TBaseSet.
|
| virtual void | Clear (void) |
| | Clear all set.
|
| Idx | Size (void) const |
| | Get Size of TBaseSet.
|
| bool | Empty (void) const |
| | Test whether if the TBaseSet is Empty.
|
| Iterator | Begin (void) const |
| | Iterator to the begin of set.
|
| Iterator | End (void) const |
| | Iterator to the end of set.
|
| virtual bool | Valid (const Idx &rElem) const |
| | Test validty of candidate element.
|
| virtual void | EraseSet (const TBaseSet &rOtherSet) |
| | Erase elements given by other set.
|
| virtual void | RestrictSet (const TBaseSet &rOtherSet) |
| | Restrict elements given by other set.
|
| virtual Iterator | Inject (const Iterator &pos, const Idx &rElem) |
| | Insert specified element.
|
| virtual void | Inject (const Idx &rElem) |
| | Insert specified element.
|
| virtual void | InsertSet (const TBaseSet &rOtherSet) |
| | Insert elements given by rOtherSet.
|
| TBaseSet | operator+ (const TBaseSet &rOtherSet) const |
| | Set union operator.
|
| TBaseSet | operator- (const TBaseSet &rOtherSet) const |
| | Set difference operator.
|
| TBaseSet | operator* (const TBaseSet &rOtherSet) const |
| | Set intersection operator.
|
| bool | operator<= (const TBaseSet &rOtherSet) const |
| | Test for subset.
|
| bool | operator>= (const TBaseSet &rOtherSet) const |
| | Test for superset.
|
| bool | operator< (const TBaseSet &rOtherSet) const |
| | Order for sorting containers of TBaseSet.
|
| void | DValid (const std::string &rMessage="") const |
| | Some validation of deferred copy mechanism (provoke abort)
|
| void | Detach (DetachMode flag=AttrIncl) const |
| void | Lock (void) const |
| | Detach and lock any further reallocation.
|
| virtual bool | AttributeTest (const Type &rAttr) const |
| | Attribute typeinfo.
|
| virtual TBaseSet & | AssignWithoutAttributes (const TBaseSet &rSourceSet) |
| | Attribute access.
|
| virtual void | Attributes (const TBaseSet &rOtherSet) |
| | Attributes access.
|
| Idx | AttributesSize (void) const |
| | Attribute access.
|
| void | ClearAttributes (void) |
| | Attribute access.
|
| bool | EqualAttributes (const TBaseSet &rOtherSet) const |
| | Attribute access.
|
| virtual void | ClrAttribute (const Idx &rElem) |
| | Attribute access.
|
| virtual void | XElementTag (const std::string &rTag) |
| | Configure the element name tag.
|
| virtual const std::string & | TypeName (void) const |
| | Get objects's type name.
|
| virtual void | TypeName (const std::string &rType) |
| | Overwrite faudes-type name.
|
| | Type (void) |
| | Constructor.
|
| | Type (const Type &rType) |
| | Copy constructor.
|
| virtual | ~Type (void) |
| | Destructor.
|
| virtual Type * | New (void) const |
| | Construct on heap.
|
| virtual Type * | Copy (void) const |
| | Construct on heap.
|
| virtual const Type * | Cast (const Type *pOther) const |
| | Cast other object to this type.
|
| virtual Type & | Assign (const Type &rSrc) |
| | Assign configuration data from other object.
|
| virtual Type & | operator= (const Type &rSrc) |
| | Assign configurationdata from other object.
|
| virtual bool | Equal (const Type &rOther) const |
| | Test equality of configuration data.
|
| virtual bool | operator== (const Type &rOther) const |
| | Test equality of configuration data.
|
| virtual bool | operator!= (const Type &rOther) const |
| | Test equality of configuration data.
|
| void | Write (const Type *pContext=0) const |
| | Write configuration data to console.
|
| void | Write (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0, std::ios::openmode openmode=std::ios::out|std::ios::trunc) const |
| | Write configuration data to a file.
|
| void | Write (const std::string &pFileName, std::ios::openmode openmode) const |
| | Write configuration data to a file.
|
| void | Write (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| | Write configuration data to TokenWriter.
|
| virtual void | XWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0) const |
| | Write configuration data to an XML file.
|
| void | XWrite (const Type *pContext=0) const |
| | Write configuration data in XML format to concole Note: this write function uses the virtual function DoXWrite(), to be reimplemented by derived classes.
|
| void | XWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| | Write configuration data in XML format to TokenWriter.
|
| std::string | ToString (const std::string &rLabel="", const Type *pContext=0) const |
| | Write configuration data to a string.
|
| std::string | ToText (const std::string &rLabel="", const Type *pContext=0) const |
| | Write configuration data to a formated string.
|
| void | DWrite (const Type *pContext=0) const |
| | Write configuration data to console, debugging format.
|
| void | DWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0, std::ios::openmode openmode=std::ios::out|std::ios::trunc) const |
| | Write configuration data to a file, debugging format.
|
| void | DWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
| | Write configuration data in debug format to TokenWriter.
|
| void | SWrite (TokenWriter &rTw) const |
| | Write statistics comment to TokenWriter.
|
| void | SWrite (void) const |
| | Write statistics comment to console.
|
| std::string | ToSText (void) const |
| | Write statistics to a string.
|
| void | Read (const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0) |
| | Read configuration data from file with label specified.
|
| void | FromString (const std::string &rString, const std::string &rLabel="", const Type *pContext=0) |
| | Read configuration data from a string.
|
| void | Read (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
| | Read configuration data from TokenReader with label sepcified.
|
| | TAttrMap (TBaseSet< Idx, std::less< Idx > > *pBaseSetRef) |
| | Constructor.
|
| virtual | ~TAttrMap (void) |
| | Virtual destructor.
|
| void | AssignWithAttributes (const TBaseSet< Idx, std::less< Idx > > &rSourceSet) |
| | Copy from a TBaseSet to the associated TBaseSet, with attributes, provided that they can be casted accordingly.
|
| void | InsertSet (const TBaseSet< Idx, std::less< Idx > > &rOtherSet) |
| | Inserts elements from rOtherSet.
|
TBaseSet< Idx, std::less< Idx >
>::Iterator | Erase (const typename TBaseSet< Idx, std::less< Idx > >::Iterator &pos) |
| | Erase element by iterator (incl attribute)
|
| void | EraseSet (const TBaseSet< Idx, std::less< Idx > > &rOtherSet) |
| | Erase elements given by other set.
|
| void | RestrictSet (const TBaseSet< Idx, std::less< Idx > > &rOtherSet) |
| | Restrict to specified subset.
|
Protected Member Functions |
| void | DoAssign (const SimConditionSet &rSourceSet) |
| | Assign from other condition set.
|
| void | DoAssign (const TaNameSet &rSourceSet) |
| | Assign to other name set.
|
| bool | DoEqual (const NameSet &rOtherSet) const |
| | Test equality of configuration data, ignore attributes Ignore name of the set, insist in matching symboltables.
|
| void | DoAssign (const NameSet &rSourceSet) |
| | Assign from other name set.
|
| 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 attributes in derived classes.
|
| 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.
|
| 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 token IO of attributes in derived classes.
|
| virtual void | DoRead (TokenReader &tr, const std::string &rLabel="", const Type *pContext=0) |
| | Read from TokenReader, see Type::Read for public wrappers.
|
| virtual const std::string & | XElementTag (void) const |
| | Get name of elements (used for XML IO)
|
| virtual void | DoSWrite (TokenWriter &rTw) const |
| | Token output, see Type::SWrite for public wrappers.
|
| void | DoAssign (const TBaseSet &rSourceSet) |
| | assign my members
|
| bool | DoEqual (const TBaseSet &rOtherSet) const |
| | test equality
|
| void | DoAttribute (const Idx &rElem, const Type *pAttr) |
| | set attribute in map (assume elem exists in set, NULL <=> set to default)
|
| const AttributeVoid * | DoAttribute (const Idx &rElem) const |
| | get attribute from map (return null if elem does not exist in map)
|
| AttributeVoid * | DoAttributeExplicit (const Idx &rElem) |
| | get attribute from map (insert explicit default if elem does not exist in map)
|
TBaseSet< Idx, std::less< Idx >
>::Iterator | ThisIterator (const typename std::set< Idx, std::less< Idx > >::const_iterator &sit) const |
| | Convert STL iterator to API iterator.
|
| void | RelinkClients (void) |
| | Ensure that we do not host contents to anyone else.
|
| void | AttachClient (TBaseSet *pRef) const |
| | Record that we provide contents to some other BaseSet.
|
| void | DetachClient (TBaseSet *pRef) const |
| | Record that we stop providing data for some TBaseSet.
|
| void | AttachIterator (Iterator *pFit) const |
| | Record that an iterator refers to this TBaseSet.
|
| void | DetachIterator (Iterator *pFit) const |
| | Record that an iterator stops to refer to this TBaseSet.
|
| virtual const TypeDefinition * | TypeDefinitionp (void) const |
| | Reimplment from type to use chache.
|
| void | DoAssign (const Type &rSrc) |
| | Assign configuration data from other object.
|
| bool | DoEqual (const Type &rOther) const |
| | Test equality of configuration data.
|
| virtual Token | XBeginTag (const std::string &rLabel="", const std::string &rFallbackLabel="") const |