|
|
||||||
|
cfl_transset.h
Go to the documentation of this file.
236 // tweak: this appears to be a g++ 4.2 (OsX) issue --- fails at dynamic cast if this symbol is not explicitly exposed
950 virtual void DoWrite(TokenWriter& rTw, const std::string& rLabel="", const Type* pContext=0) const;
982 * which in turn must provide some basic funtionality. In contrast to the TTransSet, the TaTransSet
987 * a set of triples of indices with attributes. In particular, file IO of transitions is provided
993 class FAUDES_TAPI TaTransSet : public TransSet, public TAttrMap<Transition,Attr,TransSort::X1EvX2> {
1193 const Attr* AttributeType(void) const { return TAttrMap<Transition,Attr,TransSort::X1EvX2>::AttributeType(); };
1194 Attr* Attributep(const Transition& rElem) { return TAttrMap<Transition,Attr,TransSort::X1EvX2>::Attributep(rElem); };
1195 const Attr& Attribute(const Transition& rElem) const { return TAttrMap<Transition,Attr,TransSort::X1EvX2>::Attribute(rElem); };
1196 void Attribute(const Transition& rElem, const Attr& rAttr) { return TAttrMap<Transition,Attr,TransSort::X1EvX2>::Attribute(rElem,rAttr); };
1197 void Attribute(const Transition& rElem, const Type& rAttr) { return TAttrMap<Transition,Attr,TransSort::X1EvX2>::Attribute(rElem,rAttr); };
1198 void AttributeTry(const Transition& rElem, const Type& rAttr) { return TAttrMap<Transition,Attr,TransSort::X1EvX2>::AttributeTry(rElem,rAttr); };
1220 *************************************************************************************************
1221 *************************************************************************************************
1223 *************************************************************************************************
1224 *************************************************************************************************
1454 TEMP void THIS::DoWrite(TokenWriter& rTw, const std::string& rLabel, const Type* pContext) const
1850 *************************************************************************************************
1851 *************************************************************************************************
1853 *************************************************************************************************
1854 *************************************************************************************************
Classes AttributeVoid and AttributeFlags Class TAttrMap. Class TBaseSet. Compiletime options. #define FD_DC(message) Debug: optional report on container operations. Definition: cfl_definitions.h:153 Classes IndexSet, TaIndexSet. Classes NameSet, TaNameSet. Class TokenReader. #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 A SymbolTable associates sybolic names with indices. Definition: cfl_symboltable.h:61 Iterator class for high-level api to TBaseSet. Definition: cfl_baseset.h:396 Iterator EndByEvX2(Idx ev, Idx x2) const Iterator to first Transition after specified event and next state. Definition: cfl_transset.h:1379 bool ExistsByX1OrX2(Idx x) const Tests if a transition with specified predecessor or successor state exists. Definition: cfl_transset.h:1672 Iterator Find(Idx x1, Idx ev, Idx x2) const Find transition given by x1, ev, x2. Definition: cfl_transset.h:1651 Iterator BeginByX2Ev(Idx x2, Idx ev) const Iterator to first Transition specified by successor x2 and ev. Definition: cfl_transset.h:1411 Iterator Begin(Idx x1) const Iterator to first Transition specified by current state. Definition: cfl_transset.h:1285 void EraseByX1(Idx x1) Remove all transitions containing predecessor state x1. Definition: cfl_transset.h:1514 virtual void DoWrite(TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const Write to TokenWriter, see Type::Write for public wrappers. Definition: cfl_transset.h:1454 EventSet ActiveEvents(Idx x1, SymbolTable *pSymTab=NULL) const Get set of events that are active for a specified current state Since a transition set does not refer... Definition: cfl_transset.h:1827 Iterator Begin(Idx x1, Idx ev) const Iterator to first Transitions specified by current state and event. Definition: cfl_transset.h:1307 StateSet SuccessorStates(const StateSet &rX1Set) const Get set of successor states for specified current states. Definition: cfl_transset.h:1755 void EraseByX2(Idx x2) Remove all transitions containing successor state x2. Definition: cfl_transset.h:1553 Iterator BeginByEvX1(Idx ev, Idx x1) const Iterator to first Transition specified by event and current state. Definition: cfl_transset.h:1349 Iterator End(Idx x1, Idx ev) const Iterator to first Transition after spcified current state and event. Definition: cfl_transset.h:1317 StateSet SuccessorStates(Idx x1, Idx ev) const Get set of successor states for specified current state and event. Definition: cfl_transset.h:1776 void RestrictStates(const StateSet &rStateSet) Restrict to transitions with states as specified. Definition: cfl_transset.h:1619 Iterator EndByEv(Idx ev) const Iterator to first Transition after specified by event. Definition: cfl_transset.h:1338 Iterator EndByEvX1(Idx ev, Idx x1) const Iterator to first Transition after specified ev and current state. Definition: cfl_transset.h:1359 Iterator EndByX2Ev(Idx x2, Idx ev) const Iterator to first Transition after specified successor x2 and ev. Definition: cfl_transset.h:1421 Iterator BeginByX2(Idx x2) const Iterator to first Transition specified by successor state x2. Definition: cfl_transset.h:1389 void EraseByX1Ev(Idx x1, Idx ev) Remove all transitions containing predecessor state x1 and event ev. Definition: cfl_transset.h:1534 Iterator BeginByEv(Idx ev) const Iterator to first Transition specified by event. Definition: cfl_transset.h:1327 Iterator EndByX2(Idx x2) const Iterator to first Transition after specified successor state x2. Definition: cfl_transset.h:1400 Iterator Inject(const Iterator &pos, const Transition &rTransition) Add a Transition. Definition: cfl_transset.h:1485 StateSet SuccessorStates(Idx x1) const Get set of successor states for specified current state. Definition: cfl_transset.h:1738 void EraseByX1OrX2(const StateSet &rStates) Remove all transitions containing a specified state. Definition: cfl_transset.h:1604 void RestrictEvents(const EventSet &rEventSet) Restrict to transitions with events as specified. Definition: cfl_transset.h:1635 void EraseByX1OrX2(Idx x) Remove all transitions containing state x, This function iterates over all transitions to work with a... Definition: cfl_transset.h:1586 Iterator End(Idx x1) const Iterator to end or Transitions with specified current state. Definition: cfl_transset.h:1296 StateSet SuccessorStates(const StateSet &rX1Set, const EventSet &rEvSet) const Get set of successor states for specified current states and events. Definition: cfl_transset.h:1792 std::string Str(const Transition &rTrans) const Return pretty printable string representation. Definition: cfl_transset.h:1839 void ReSort(TTransSet< OtherCmp > &res) const Get copy of trantision relation sorted by other compare operator, e.g. Definition: cfl_transset.h:1718 Iterator BeginByEvX2(Idx ev, Idx x2) const Iterator to first Transition specified by event and next state. Definition: cfl_transset.h:1369 virtual TaTransSet & Assign(const TBaseSet< Transition, TransSort::X1EvX2 > &rSrc) Relaxed assignment method. Definition: cfl_transset.h:1902 virtual TaTransSet & operator=(const TransSet &rSrc) Relaxed assignment operator. Definition: cfl_transset.h:1041 Attr * Attributep(const Transition &rElem) Definition: cfl_transset.h:1194 TTransSet< TransSort::X1EvX2 >::Iterator Iterator Iterator on transition. Definition: cfl_transset.h:1051 void AttributeTry(const Transition &rElem, const Type &rAttr) Attribute access. Definition: cfl_transset.h:1198 void Attribute(const Transition &rElem, const Attr &rAttr) Definition: cfl_transset.h:1196 const Attr * AttributeType(void) const resolve ambiguities from attribute interface ("using" wont do the job) Definition: cfl_transset.h:1193 void Attribute(const Transition &rElem, const Type &rAttr) Definition: cfl_transset.h:1197 const Attr & Attribute(const Transition &rElem) const Definition: cfl_transset.h:1195 A TokenWriter writes sequential tokens to a file, a string or stdout. Definition: cfl_tokenwriter.h:52 Triple (X1,Ev,X2) to represent current state, event and next state. Definition: cfl_transset.h:57 Base class of all libFAUDES objects that participate in the run-time interface. Definition: cfl_types.h:239 std::string ToString(const std::string &rLabel="", const Type *pContext=0) const Write configuration data to a string. Definition: cfl_types.cpp:169 virtual Type & Assign(const Type &rSrc) Assign configuration data from other object. Definition: cfl_types.cpp:77 TTransSet< TransSort::EvX2X1 > TransSetEvX2X1 Type definition for ev, x2, x1 sorted TTransSet. Definition: cfl_transset.h:965 TTransSet< TransSort::X1EvX2 > TransSetX1EvX2 Type definition for default sorted TTransSet. Definition: cfl_transset.h:959 TTransSet< TransSort::X1EvX2 > TransSet Type definition for default sorted TTransSet. Definition: cfl_transset.h:956 TTransSet< TransSort::X2EvX1 > TransSetX2EvX1 Type definition for x2, ev, x1 sorted TTransSet. Definition: cfl_transset.h:968 TTransSet< TransSort::X1X2Ev > TransSetX1X2Ev Type definition for x1, x2, ev sorted TTransSet. Definition: cfl_transset.h:974 virtual void RestrictSet(const TBaseSet &rOtherSet) Restrict elements given by other set. Definition: cfl_baseset.h:2073 virtual void InsertSet(const TBaseSet &rOtherSet) Insert elements given by rOtherSet. Definition: cfl_baseset.h:1996 TTransSet< TransSort::EvX1X2 > TransSetEvX1X2 Type definition for ev, x1, x2 sorted TTransSet. Definition: cfl_transset.h:962 TTransSet< TransSort::X2X1Ev > TransSetX2X1Ev Type definition for x2, x1, ev sorted TTransSet. Definition: cfl_transset.h:971 virtual void EraseSet(const TBaseSet &rOtherSet) Erase elements given by other set. Definition: cfl_baseset.h:2051 Binary predicate for sorting transitions in order Ev, X1, X2. Definition: cfl_transset.h:128 Binary predicate for sorting transitions in order Ev, X2, X1. Definition: cfl_transset.h:140 Binary predicate for sorting transitions in order X1, Ev, X2. Definition: cfl_transset.h:188 Binary predicate for sorting transitions in order X1, X2, Ev. Definition: cfl_transset.h:176 Binary predicate for sorting transitions in order X2, Ev, X1. Definition: cfl_transset.h:152 Binary predicate for sorting transitions in order X2, X1, Ev. Definition: cfl_transset.h:164 libFAUDES 2.32f --- 2024.12.22 --- c++ api documentaion by doxygen |