|
|
||||||
|
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
948 virtual void DoWrite(TokenWriter& rTw, const std::string& rLabel="", const Type* pContext=0) const;
980 * which in turn must provide some basic funtionality. In contrast to the TTransSet, the TaTransSet
985 * a set of triples of indices with attributes. In particular, file IO of transitions is provided
991 class FAUDES_API TaTransSet : public TransSet, public TAttrMap<Transition,Attr,TransSort::X1EvX2> {
1187 const Attr* AttributeType(void) const { return TAttrMap<Transition,Attr,TransSort::X1EvX2>::AttributeType(); };
1188 Attr* Attributep(const Transition& rElem) { return TAttrMap<Transition,Attr,TransSort::X1EvX2>::Attributep(rElem); };
1189 const Attr& Attribute(const Transition& rElem) const { return TAttrMap<Transition,Attr,TransSort::X1EvX2>::Attribute(rElem); };
1190 void Attribute(const Transition& rElem, const Attr& rAttr) { return TAttrMap<Transition,Attr,TransSort::X1EvX2>::Attribute(rElem,rAttr); };
1191 void Attribute(const Transition& rElem, const Type& rAttr) { return TAttrMap<Transition,Attr,TransSort::X1EvX2>::Attribute(rElem,rAttr); };
1192 void AttributeTry(const Transition& rElem, const Type& rAttr) { return TAttrMap<Transition,Attr,TransSort::X1EvX2>::AttributeTry(rElem,rAttr); };
1216 *************************************************************************************************
1217 *************************************************************************************************
1219 *************************************************************************************************
1220 *************************************************************************************************
1450 TEMP void THIS::DoWrite(TokenWriter& rTw, const std::string& rLabel, const Type* pContext) const
1846 *************************************************************************************************
1847 *************************************************************************************************
1849 *************************************************************************************************
1850 *************************************************************************************************
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:387 Iterator EndByEvX2(Idx ev, Idx x2) const Iterator to first Transition after specified event and next state. Definition: cfl_transset.h:1375 bool ExistsByX1OrX2(Idx x) const Tests if a transition with specified predecessor or successor state exists. Definition: cfl_transset.h:1668 Iterator Find(Idx x1, Idx ev, Idx x2) const Find transition given by x1, ev, x2. Definition: cfl_transset.h:1647 Iterator BeginByX2Ev(Idx x2, Idx ev) const Iterator to first Transition specified by successor x2 and ev. Definition: cfl_transset.h:1407 Iterator Begin(Idx x1) const Iterator to first Transition specified by current state. Definition: cfl_transset.h:1281 void EraseByX1(Idx x1) Remove all transitions containing predecessor state x1. Definition: cfl_transset.h:1510 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:1450 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:1823 Iterator Begin(Idx x1, Idx ev) const Iterator to first Transitions specified by current state and event. Definition: cfl_transset.h:1303 StateSet SuccessorStates(const StateSet &rX1Set) const Get set of successor states for specified current states. Definition: cfl_transset.h:1751 void EraseByX2(Idx x2) Remove all transitions containing successor state x2. Definition: cfl_transset.h:1549 Iterator BeginByEvX1(Idx ev, Idx x1) const Iterator to first Transition specified by event and current state. Definition: cfl_transset.h:1345 Iterator End(Idx x1, Idx ev) const Iterator to first Transition after spcified current state and event. Definition: cfl_transset.h:1313 StateSet SuccessorStates(Idx x1, Idx ev) const Get set of successor states for specified current state and event. Definition: cfl_transset.h:1772 void RestrictStates(const StateSet &rStateSet) Restrict to transitions with states as specified. Definition: cfl_transset.h:1615 Iterator EndByEv(Idx ev) const Iterator to first Transition after specified by event. Definition: cfl_transset.h:1334 Iterator EndByEvX1(Idx ev, Idx x1) const Iterator to first Transition after specified ev and current state. Definition: cfl_transset.h:1355 Iterator EndByX2Ev(Idx x2, Idx ev) const Iterator to first Transition after specified successor x2 and ev. Definition: cfl_transset.h:1417 Iterator BeginByX2(Idx x2) const Iterator to first Transition specified by successor state x2. Definition: cfl_transset.h:1385 void EraseByX1Ev(Idx x1, Idx ev) Remove all transitions containing predecessor state x1 and event ev. Definition: cfl_transset.h:1530 Iterator BeginByEv(Idx ev) const Iterator to first Transition specified by event. Definition: cfl_transset.h:1323 Iterator EndByX2(Idx x2) const Iterator to first Transition after specified successor state x2. Definition: cfl_transset.h:1396 Iterator Inject(const Iterator &pos, const Transition &rTransition) Add a Transition. Definition: cfl_transset.h:1481 StateSet SuccessorStates(Idx x1) const Get set of successor states for specified current state. Definition: cfl_transset.h:1734 void EraseByX1OrX2(const StateSet &rStates) Remove all transitions containing a specified state. Definition: cfl_transset.h:1600 void RestrictEvents(const EventSet &rEventSet) Restrict to transitions with events as specified. Definition: cfl_transset.h:1631 void EraseByX1OrX2(Idx x) Remove all transitions containing state x, This function iterates over all transitions to work with a... Definition: cfl_transset.h:1582 Iterator End(Idx x1) const Iterator to end or Transitions with specified current state. Definition: cfl_transset.h:1292 StateSet SuccessorStates(const StateSet &rX1Set, const EventSet &rEvSet) const Get set of successor states for specified current states and events. Definition: cfl_transset.h:1788 std::string Str(const Transition &rTrans) const Return pretty printable string representation. Definition: cfl_transset.h:1835 void ReSort(TTransSet< OtherCmp > &res) const Get copy of trantision relation sorted by other compare operator, e.g. Definition: cfl_transset.h:1714 Iterator BeginByEvX2(Idx ev, Idx x2) const Iterator to first Transition specified by event and next state. Definition: cfl_transset.h:1365 virtual TaTransSet & Assign(const TBaseSet< Transition, TransSort::X1EvX2 > &rSrc) Relaxed assignment method. Definition: cfl_transset.h:1898 virtual TaTransSet & operator=(const TransSet &rSrc) Relaxed assignment operator. Definition: cfl_transset.h:1035 Attr * Attributep(const Transition &rElem) Definition: cfl_transset.h:1188 TTransSet< TransSort::X1EvX2 >::Iterator Iterator Iterator on transition. Definition: cfl_transset.h:1045 void AttributeTry(const Transition &rElem, const Type &rAttr) Attribute access. Definition: cfl_transset.h:1192 void Attribute(const Transition &rElem, const Attr &rAttr) Definition: cfl_transset.h:1190 const Attr * AttributeType(void) const resolve ambiguities from attribute interface ("using" wont do the job) Definition: cfl_transset.h:1187 void Attribute(const Transition &rElem, const Type &rAttr) Definition: cfl_transset.h:1191 const Attr & Attribute(const Transition &rElem) const Definition: cfl_transset.h:1189 A TokenWriter writes sequential tokens to a file, a string or stdout. Definition: cfl_tokenwriter.h:51 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:963 TTransSet< TransSort::X1EvX2 > TransSetX1EvX2 Type definition for default sorted TTransSet. Definition: cfl_transset.h:957 TTransSet< TransSort::X1EvX2 > TransSet Type definition for default sorted TTransSet. Definition: cfl_transset.h:954 TTransSet< TransSort::X2EvX1 > TransSetX2EvX1 Type definition for x2, ev, x1 sorted TTransSet. Definition: cfl_transset.h:966 TTransSet< TransSort::X1X2Ev > TransSetX1X2Ev Type definition for x1, x2, ev sorted TTransSet. Definition: cfl_transset.h:972 virtual void RestrictSet(const TBaseSet &rOtherSet) Restrict elements given by other set. Definition: cfl_baseset.h:2064 virtual void InsertSet(const TBaseSet &rOtherSet) Insert elements given by rOtherSet. Definition: cfl_baseset.h:1987 TTransSet< TransSort::EvX1X2 > TransSetEvX1X2 Type definition for ev, x1, x2 sorted TTransSet. Definition: cfl_transset.h:960 TTransSet< TransSort::X2X1Ev > TransSetX2X1Ev Type definition for x2, x1, ev sorted TTransSet. Definition: cfl_transset.h:969 virtual void EraseSet(const TBaseSet &rOtherSet) Erase elements given by other set. Definition: cfl_baseset.h:2042 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.32b --- 2024.03.01 --- c++ api documentaion by doxygen |