|
#include <hio_constraint.h>
|
| THioConstraint (void) |
|
| THioConstraint (const Generator &rOtherGen) |
|
| THioConstraint (const Generator &rOtherGen, const EventSet &rY, const EventSet &rU) |
|
| THioConstraint (const THioConstraint &rOtherGen) |
|
| THioConstraint (const std::string &rFileName) |
|
THioConstraint * | New (void) const |
|
virtual THioConstraint * | Copy (void) const |
|
THioConstraint | NewHioConstraint (void) const |
|
virtual THioConstraint & | operator= (const THioConstraint &rOtherGen) |
|
void | InsYEvent (Idx index) |
|
Idx | InsYEvent (const std::string &rName) |
|
void | InsUEvent (Idx index) |
|
Idx | InsUEvent (const std::string &rName) |
|
void | SetY (Idx index) |
|
void | SetY (const std::string &rName) |
|
void | SetY (const EventSet &rEvents) |
|
void | SetU (Idx index) |
|
void | SetU (const std::string &rName) |
|
void | SetU (const EventSet &rEvents) |
|
bool | IsY (Idx index) const |
|
bool | IsY (const std::string &rName) const |
|
bool | IsU (Idx index) const |
|
bool | IsU (const std::string &rName) const |
|
EventSet | YEvents (void) const |
|
EventSet | UEvents (void) const |
|
void | SetQY (Idx index) |
|
void | SetQY (const std::string &rName) |
|
void | SetQY (const StateSet &rStates) |
|
void | ClrQY (Idx index) |
|
void | ClrQY (const std::string &rName) |
|
void | ClrQY (const StateSet &rStates) |
|
bool | IsQY (Idx index) const |
|
bool | IsQY (const std::string &rName) const |
|
StateSet | QYStates (void) const |
|
void | SetQU (Idx index) |
|
void | SetQU (const std::string &rName) |
|
void | SetQU (const StateSet &rStates) |
|
void | ClrQU (Idx index) |
|
void | ClrQU (const std::string &rName) |
|
void | ClrQU (const StateSet &rStates) |
|
bool | IsQU (Idx index) const |
|
bool | IsQU (const std::string &rName) const |
|
StateSet | QUStates (void) const |
|
void | SetErr (Idx index) |
|
void | SetErr (const std::string &rName) |
|
void | SetErr (const StateSet &rStates) |
|
void | ClrErr (Idx index) |
|
void | ClrErr (const std::string &rName) |
|
void | ClrErr (const StateSet &rStates) |
|
bool | IsErr (Idx index) const |
|
bool | IsErr (const std::string &rName) const |
|
StateSet | ErrStates (void) const |
|
virtual bool | UpdateAttributes (void) |
|
| TaGenerator (void) |
|
| TaGenerator (const TaGenerator &rOtherGen) |
|
| TaGenerator (const vGenerator &rOtherGen) |
|
| TaGenerator (const std::string &rFileName) |
|
virtual TaGenerator | NewAGen (void) const |
|
virtual const Type * | Cast (const Type *pOther) const |
|
virtual | ~TaGenerator (void) |
|
virtual TaGenerator & | Assign (const Type &rSrc) |
|
TaGenerator & | operator= (const TaGenerator &rOtherGen) |
|
virtual void | Move (TaGenerator &rGen) |
|
virtual void | Move (Generator &rGen) |
|
bool | Valid (void) const |
|
virtual void | Clear (void) |
|
const TaEventSet< EventAttr > & | Alphabet (void) const |
|
const TaStateSet< StateAttr > & | States (void) const |
|
const ATransSet & | TransRel (void) const |
|
void | TransRel (TransSetX1EvX2 &res) const |
|
void | TransRel (TransSetEvX1X2 &res) const |
|
void | TransRel (TransSetEvX2X1 &res) const |
|
void | TransRel (TransSetX2EvX1 &res) const |
|
void | TransRel (TransSetX2X1Ev &res) const |
|
void | TransRel (TransSetX1X2Ev &res) const |
|
bool | InsEvent (Idx index) |
|
Idx | InsEvent (const std::string &rName) |
|
bool | InsEvent (Idx index, const EventAttr &rAttr) |
|
Idx | InsEvent (const std::string &rName, const EventAttr &rAttr) |
|
void | InjectAlphabet (const EventSet &rNewalphabet) |
|
void | InjectAlphabet (const TaEventSet< EventAttr > &rNewalphabet) |
|
Idx | InsState (void) |
|
Idx | InsState (const StateAttr &attr) |
|
bool | InsState (Idx index) |
|
Idx | InsState (const std::string &rName) |
|
Idx | InsState (const std::string &rName, const StateAttr &attr) |
|
bool | InsState (Idx index, const StateAttr &attr) |
|
void | InjectStates (const StateSet &rNewStates) |
|
void | InjectStates (const TaStateSet< StateAttr > &rNewStates) |
|
bool | SetTransition (Idx x1, Idx ev, Idx x2) |
|
bool | SetTransition (const std::string &rX1, const std::string &rEv, const std::string &rX2) |
|
bool | SetTransition (const Transition &rTransition) |
|
bool | SetTransition (const Transition &rTransition, const TransAttr &rAttr) |
|
void | InjectTransRel (const TransSet &rNewtransrel) |
|
void | InjectTransRel (const ATransSet &rNewtransrel) |
|
void | EventAttribute (Idx index, const EventAttr &rAttr) |
|
void | EventAttribute (Idx index, const Type &rAttr) |
|
const EventAttr & | EventAttribute (Idx index) const |
|
const EventAttr & | EventAttribute (const std::string &rName) const |
|
EventAttr * | EventAttributep (Idx index) |
|
EventAttr * | EventAttributep (const std::string &rName) |
|
void | StateAttribute (Idx index, const StateAttr &rAttr) |
|
void | StateAttribute (Idx index, const Type &rAttr) |
|
const StateAttr & | StateAttribute (Idx index) const |
|
StateAttr * | StateAttributep (Idx index) |
|
void | TransAttribute (const Transition &rTrans, const TransAttr &rAttr) |
|
void | TransAttribute (const Transition &rTrans, const Type &rAttr) |
|
const TransAttr & | TransAttribute (const Transition &rTrans) const |
|
TransAttr * | TransAttributep (const Transition &rTrans) |
|
void | GlobalAttribute (const GlobalAttr &rAttr) |
|
void | GlobalAttribute (const Type &rAttr) |
|
const GlobalAttr & | GlobalAttribute (void) const |
|
GlobalAttr * | GlobalAttributep (void) |
|
| vGenerator (void) |
|
| vGenerator (const vGenerator &rOtherGen) |
|
| vGenerator (const std::string &rFileName) |
|
virtual | ~vGenerator (void) |
|
virtual vGenerator & | AssignWithoutAttributes (const vGenerator &rGen) |
|
vGenerator & | operator= (const vGenerator &rOtherGen) |
|
virtual void | Version (const std::string &rVersion, vGenerator &rResGen) const |
|
virtual void | Version (Idx version, vGenerator &rResGen) const |
|
virtual void | Version (const std::string &rPattern, const std::string &rReplacement, vGenerator &rResGen) const |
|
void | Name (const std::string &rName) |
|
const std::string & | Name (void) const |
|
void | ClearStates (void) |
|
Idx | AlphabetSize (void) const |
|
Idx | Size (void) const |
|
Idx | TransRelSize (void) const |
|
Idx | InitStatesSize (void) const |
|
Idx | MarkedStatesSize (void) const |
|
bool | Empty (void) const |
|
bool | AlphabetEmpty (void) const |
|
bool | TransRelEmpty (void) const |
|
bool | InitStatesEmpty (void) const |
|
bool | MarkedStatesEmpty (void) const |
|
SymbolTable * | EventSymbolTablep (void) const |
|
virtual void | EventSymbolTablep (SymbolTable *pSymTab) |
|
virtual void | EventSymbolTablep (const vGenerator &rOtherGen) |
|
EventSet | NewEventSet (void) const |
|
EventSet * | NewEventSetp (void) const |
|
Idx | EventIndex (const std::string &rName) const |
|
std::string | EventName (Idx index) const |
|
void | EventName (Idx index, const std::string &rName) |
|
std::string | UniqueEventName (const std::string &rName) const |
|
bool | EventRename (Idx event, const std::string &rNewName) |
|
bool | EventRename (const std::string &rOldName, const std::string &rNewName) |
|
const SymbolTable & | StateSymbolTable (void) const |
|
void | StateSymbolTable (const SymbolTable &rSymTab) |
|
Idx | StateIndex (const std::string &rName) const |
|
std::string | StateName (Idx index) const |
|
void | StateName (Idx index, const std::string &rName) |
|
void | ClearStateNames (void) |
|
void | ClrStateName (Idx index) |
|
void | ClrStateName (const std::string &rName) |
|
bool | StateNamesEnabled (void) const |
|
void | StateNamesEnabled (bool flag) |
|
void | SetDefaultStateNames (void) |
|
void | EnforceStateNames (const std::string &rTemplate) |
|
std::string | UniqueStateName (const std::string &rName) const |
|
EventSet::Iterator | AlphabetBegin (void) const |
|
EventSet::Iterator | AlphabetEnd (void) const |
|
bool | ExistsEvent (Idx index) const |
|
bool | ExistsEvent (const std::string &rName) const |
|
EventSet::Iterator | FindEvent (Idx index) const |
|
EventSet::Iterator | FindEvent (const std::string &rName) const |
|
const EventSet & | Alphabet (void) const |
|
StateSet::Iterator | StatesBegin (void) const |
|
StateSet::Iterator | StatesEnd (void) const |
|
bool | ExistsState (Idx index) const |
|
bool | ExistsState (const std::string &name) const |
|
StateSet::Iterator | FindState (Idx index) const |
|
StateSet::Iterator | FindState (const std::string &rName) const |
|
const StateSet & | States (void) const |
|
Idx | InitState (void) const |
|
StateSet::Iterator | InitStatesBegin (void) const |
|
StateSet::Iterator | InitStatesEnd (void) const |
|
bool | ExistsInitState (Idx index) const |
|
StateSet::Iterator | FindInitState (Idx index) const |
|
const StateSet & | InitStates (void) const |
|
StateSet::Iterator | MarkedStatesBegin (void) const |
|
StateSet::Iterator | MarkedStatesEnd (void) const |
|
bool | ExistsMarkedState (Idx index) const |
|
StateSet::Iterator | FindMarkedState (Idx index) const |
|
const StateSet & | MarkedStates (void) const |
|
TransSet::Iterator | TransRelBegin (void) const |
|
TransSet::Iterator | TransRelEnd (void) const |
|
TransSet::Iterator | TransRelBegin (Idx x1) const |
|
TransSet::Iterator | TransRelEnd (Idx x1) const |
|
TransSet::Iterator | TransRelBegin (Idx x1, Idx ev) const |
|
TransSet::Iterator | TransRelEnd (Idx x1, Idx ev) const |
|
TransSet::Iterator | FindTransition (const std::string &rX1, const std::string &rEv, const std::string &rX2) const |
|
TransSet::Iterator | FindTransition (Idx x1, Idx ev, Idx x2) const |
|
TransSet::Iterator | FindTransition (const Transition &rTrans) const |
|
bool | ExistsTransition (const std::string &rX1, const std::string &rEv, const std::string &rX2) const |
|
bool | ExistsTransition (Idx x1, Idx ev, Idx x2) const |
|
bool | ExistsTransition (const Transition &rTrans) const |
|
bool | ExistsTransition (Idx x1, Idx ev) const |
|
bool | ExistsTransition (Idx x1) const |
|
const TransSet & | TransRel (void) const |
|
void | TransRel (TransSetX1EvX2 &res) const |
|
void | TransRel (TransSetEvX1X2 &res) const |
|
void | TransRel (TransSetEvX2X1 &res) const |
|
void | TransRel (TransSetX2EvX1 &res) const |
|
void | TransRel (TransSetX2X1Ev &res) const |
|
void | TransRel (TransSetX1X2Ev &res) const |
|
Transition | TransitionByNames (const std::string &rX1, const std::string &rEv, const std::string &rX2) const |
|
bool | InsEvent (Idx index) |
|
Idx | InsEvent (const std::string &rName) |
|
void | InsEvents (const EventSet &events) |
|
bool | DelEvent (Idx index) |
|
bool | DelEvent (const std::string &rName) |
|
void | DelEvents (const EventSet &rEvents) |
|
bool | DelEventFromAlphabet (Idx index) |
|
void | InjectAlphabet (const EventSet &rNewalphabet) |
|
void | RestrictAlphabet (const EventSet &rNewalphabet) |
|
Idx | InsState (void) |
|
bool | InsState (Idx index) |
|
Idx | InsState (const std::string &rName) |
|
void | InsStates (const StateSet &rStates) |
|
bool | DelState (Idx index) |
|
bool | DelState (const std::string &rName) |
|
void | DelStates (const StateSet &rDelStates) |
|
bool | DelStateFromStates (Idx index) |
|
StateSet::Iterator | DelStateFromStates (StateSet::Iterator pos) |
|
void | RestrictStates (const StateSet &rStates) |
|
void | InjectState (Idx index) |
|
void | InjectStates (const StateSet &rNewStates) |
|
Idx | InsInitState (void) |
|
bool | InsInitState (Idx index) |
|
Idx | InsInitState (const std::string &rName) |
|
void | InsInitStates (const StateSet &rStates) |
|
Idx | InsMarkedState (void) |
|
bool | InsMarkedState (Idx index) |
|
Idx | InsMarkedState (const std::string &rName) |
|
void | InsMarkedStates (const StateSet &rStates) |
|
void | SetInitState (Idx index) |
|
void | SetInitState (const std::string &rName) |
|
void | InjectInitStates (const StateSet &rNewInitStates) |
|
void | ClrInitState (Idx index) |
|
void | ClrInitState (const std::string &rName) |
|
StateSet::Iterator | ClrInitState (StateSet::Iterator pos) |
|
void | ClearInitStates (void) |
|
void | SetMarkedState (Idx index) |
|
void | SetMarkedState (const std::string &rName) |
|
void | ClrMarkedState (Idx index) |
|
void | ClrMarkedState (const std::string &rName) |
|
StateSet::Iterator | ClrMarkedState (StateSet::Iterator pos) |
|
void | ClearMarkedStates (void) |
|
void | InjectMarkedStates (const StateSet &rNewMarkedStates) |
|
bool | SetTransition (Idx x1, Idx ev, Idx x2) |
|
bool | SetTransition (const std::string &rX1, const std::string &rEv, const std::string &rX2) |
|
bool | SetTransition (const Transition &rTransition) |
|
void | ClrTransition (Idx x1, Idx ev, Idx x2) |
|
void | ClrTransition (const Transition &rTrans) |
|
TransSet::Iterator | ClrTransition (TransSet::Iterator it) |
|
void | ClrTransitions (Idx x1, Idx ev) |
|
void | ClrTransitions (Idx x1) |
|
void | ClearTransRel (void) |
|
void | InjectTransition (const Transition &rTrans) |
|
void | InjectTransRel (const TransSet &rNewtransrel) |
|
virtual void | ClearAttributes (void) |
|
virtual void | ClearEventAttributes (void) |
|
virtual void | ClrEventAttribute (Idx index) |
|
virtual void | EventAttributes (const EventSet &rEventSet) |
|
virtual void | ClearStateAttributes (void) |
|
virtual void | ClrStateAttribute (Idx index) |
|
virtual void | ClearTransAttributes (void) |
|
virtual void | ClrTransAttribute (const Transition &rTrans) |
|
virtual void | ClearGlobalAttribute (void) |
|
virtual void | GlobalAttributeTry (const Type &rAttr) |
|
StateSet | AccessibleSet (void) const |
|
bool | Accessible (void) |
|
bool | IsAccessible (void) const |
|
StateSet | CoaccessibleSet (void) const |
|
bool | Coaccessible (void) |
|
bool | IsCoaccessible (void) const |
|
StateSet | BlockingStates (void) const |
|
StateSet | TerminalStates (void) const |
|
StateSet | TerminalStates (const StateSet &rStates) const |
|
bool | IsComplete (void) const |
|
bool | IsComplete (const StateSet &rStates) const |
|
bool | IsComplete (const EventSet &rSigmaO) const |
|
bool | Complete (void) |
|
bool | Complete (const EventSet &rSigmaO) |
|
StateSet | TrimSet (void) const |
|
bool | Trim (void) |
|
bool | IsTrim (void) const |
|
bool | OmegaTrim (void) |
|
bool | IsOmegaTrim (void) const |
|
EventSet | UsedEvents (void) const |
|
EventSet | UnusedEvents (void) const |
|
void | MinimizeAlphabet (void) |
|
EventSet | ActiveEventSet (Idx x1) const |
|
TransSet | ActiveTransSet (Idx x1) const |
|
StateSet | TransRelStates (void) const |
|
Idx | SuccessorState (Idx x1, Idx ev) const |
|
StateSet | SuccessorStates (Idx x1) const |
|
StateSet | SuccessorStates (Idx x1, Idx ev) const |
|
bool | IsDeterministic (void) const |
|
void | SetMinStateIndexMap (void) const |
|
void | ClearMinStateIndexMap (void) const |
|
Idx | MinStateIndex (Idx index) const |
|
void | MinStateIndex (void) |
|
Idx | MaxStateIndex (void) const |
|
const std::map< Idx, Idx > & | MinStateIndexMap (void) const |
|
std::string | EStr (Idx index) const |
|
std::string | SStr (Idx index) const |
|
std::string | TStr (const Transition &rTrans) const |
|
void | GraphWrite (const std::string &rFileName, const std::string &rOutFormat="", const std::string &rDotExec="dot") const |
|
bool | operator< (const vGenerator &rOtherGen) const |
|
void | WriteAlphabet (void) const |
|
std::string | AlphabetToString (void) const |
|
void | WriteAlphabet (TokenWriter &rTw) const |
|
void | WriteStateSet (const StateSet &rStateSet) const |
|
std::string | StateSetToString (const StateSet &rStateSet) const |
|
std::string | StateSetToText (const StateSet &rStateSet) const |
|
void | WriteStateSet (TokenWriter &rTw, const StateSet &rStateSet) const |
|
void | DWriteStateSet (TokenWriter &rTw, const StateSet &rStateSet) const |
|
std::string | StatesToString (void) const |
|
std::string | StatesToText (void) const |
|
std::string | MarkedStatesToString (void) const |
|
std::string | InitStatesToString (void) const |
|
void | WriteTransRel (void) const |
|
std::string | TransRelToString (void) const |
|
std::string | TransRelToText (void) const |
|
void | WriteTransRel (TokenWriter &rTw) const |
|
void | DWriteTransRel (TokenWriter &rTw) const |
|
virtual void | DotWrite (const std::string &rFileName) const |
|
virtual void | DDotWrite (const std::string &rFileName) const |
|
virtual void | XDotWrite (const std::string &rFileName) const |
|
void | ReadStateSet (TokenReader &rTr, const std::string &rLabel, StateSet &rStateSet) const |
|
bool | ReindexOnWrite (void) const |
|
void | ReindexOnWrite (bool flag) |
|
| Type (void) |
|
| Type (const Type &rType) |
|
virtual | ~Type (void) |
|
Type & | operator= (const Type &rSrc) |
|
virtual bool | Equal (const Type &rOther) const |
|
bool | operator== (const Type &rOther) const |
|
bool | operator!= (const Type &rOther) const |
|
virtual const std::string & | TypeName (void) const |
|
void | Write (const Type *pContext=0) const |
|
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 |
|
void | Write (const std::string &pFileName, std::ios::openmode openmode) const |
|
void | Write (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
|
virtual void | XWrite (const std::string &pFileName, const std::string &rLabel="", const Type *pContext=0) const |
|
void | XWrite (const Type *pContext=0) const |
|
void | XWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
|
std::string | ToString (const std::string &rLabel="", const Type *pContext=0) const |
|
std::string | ToText (const std::string &rLabel="", const Type *pContext=0) const |
|
void | DWrite (const Type *pContext=0) const |
|
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 |
|
void | DWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
|
void | SWrite (TokenWriter &rTw) const |
|
void | SWrite (void) const |
|
std::string | ToSText (void) const |
|
void | Read (const std::string &rFileName, const std::string &rLabel="", const Type *pContext=0) |
|
void | FromString (const std::string &rString, const std::string &rLabel="", const Type *pContext=0) |
|
void | Read (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
|
|
typedef TaTransSet< TransAttr > | ATransSet |
|
static SymbolTable * | GlobalEventSymbolTablep (void) |
|
static void | StateNamesEnabledDefault (bool flag) |
|
static void | ReindexOnWriteDefault (bool flag) |
|
static bool | ReindexOnWriteDefault (void) |
|
virtual void | NewCore (void) |
|
virtual void | UpdateCore (void) |
|
void | DoAssign (const TaGenerator &rGen) |
|
virtual void | DeleteCore (void) |
|
void | ConfigureAttributeTypes (const AttributeVoid *pNewGlobalPrototype, const StateSet *pNewStatesPrototype, const EventSet *pNewAlphabetPrototype, const TransSet *pNewTransRelPrototype) |
|
void | DoAssign (const vGenerator &rSrc) |
|
virtual void | DoRead (TokenReader &rTr, const std::string &rLabel="", const Type *pContext=0) |
|
virtual void | DoWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
|
virtual void | DoDWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
|
virtual void | DoSWrite (TokenWriter &rTw) const |
|
virtual void | DoXWrite (TokenWriter &rTw, const std::string &rLabel="", const Type *pContext=0) const |
|
void | ReadAlphabet (TokenReader &rTr) |
|
void | WriteStates (TokenWriter &rTw) const |
|
void | ReadStates (TokenReader &rTr) |
|
void | XReadStateSet (TokenReader &rTr, StateSet &rStateSet, const std::string &rLabel="") const |
|
void | ReadTransRel (const std::string &rFileName) |
|
void | ReadTransRel (TokenReader &rTr) |
|
void | XReadTransRel (TokenReader &rTr) |
|
void | XWriteStateSet (TokenWriter &rTw, const StateSet &rStateSet, const std::string &rLabel="") const |
|
void | XWriteTransRel (TokenWriter &rTw) const |
|
void | DoAssign (const Type &rSrc) |
|
bool | DoEqual (const Type &rOther) const |
|
virtual const TypeDefinition * | TypeDefinitionp (void) const |
|
virtual Token | XBeginTag (const std::string &rLabel="", const std::string &rFallbackLabel="") const |
|
static const TaNameSet< EventAttr > & | AlphabetTaGen (void) |
|
static const TaIndexSet< StateAttr > & | StatesTaGen (void) |
|
static const ATransSet & | TransRelTaGen (void) |
|
static const GlobalAttr & | GlobalTaGen (void) |
|
static const EventSet & | AlphabetVoid (void) |
|
static const StateSet & | StatesVoid (void) |
|
static const TransSet & | TransRelVoid (void) |
|
static const AttributeVoid & | GlobalVoid (void) |
|
TaNameSet< EventAttr > * | pAlphabet |
|
TaIndexSet< StateAttr > * | pStates |
|
ATransSet * | pTransRel |
|
GlobalAttr * | pGlobalAttribute |
|
std::string | mMyName |
|
Idx | mId |
|
SymbolTable | mStateSymbolTable |
|
SymbolTable * | mpStateSymbolTable |
|
SymbolTable * | mpEventSymbolTable |
|
bool | mStateNamesEnabled |
|
bool | mReindexOnWrite |
|
EventSet * | mpAlphabet |
|
StateSet * | mpStates |
|
TransSet * | mpTransRel |
|
AttributeVoid * | mpGlobalAttribute |
|
const EventSet * | pAlphabetPrototype |
|
const StateSet * | pStatesPrototype |
|
const TransSet * | pTransRelPrototype |
|
const AttributeVoid * | pGlobalPrototype |
|
StateSet | mInitStates |
|
StateSet | mMarkedStates |
|
std::map< Idx, Idx > | mMinStateIndexMap |
|
static Idx | msObjectCount = 0 |
|
static bool | msStateNamesEnabledDefault = true |
|
static bool | msReindexOnWriteDefault = false |
|
template<class GlobalAttr, class StateAttr, class EventAttr, class TransAttr>
class faudes::THioConstraint< GlobalAttr, StateAttr, EventAttr, TransAttr >
Generator with I/O-constraint attributes. The HioConstraint is a variant of the Generator to add an interface for events and states with I/O-constraint attributes, built from HioEvent- and HioStateFlags
- event attributes: Y,U
- state attributes: QY,QU
Technically, the construct is based on the specialized attribute classes faudes::HioEventFlags and faudes::HioStateFlags that provide attributes with semantics for hierarchical I/O properties. The THioConstraint expects attribute template parameters with the minimum interface defined in HioEventFlags and HioStateFlags. Thus, you can add further semantics by deriving a class HioEventFlagsAndMore from HioEventFlags (same for HioStateFlags) and use this as event attribute parameter for THioConstraint. To model a plain finite state machine plus I/O-constraint properties, use THioConstraint with HioEventFlags and HioStateFlags for the event and state attribute parameters and AttributeVoid for the other parameters. For convenience, this has been typedefed as HioConstraint.
Definition at line 43 of file hio_constraint.h.
◆ THioConstraint() [1/5]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ THioConstraint() [2/5]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
HioConstraint from a std Generator. Copy constructor
- Parameters
-
Definition at line 541 of file hio_constraint.h.
◆ THioConstraint() [3/5]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
HioConstraint from a std Generator and event sets. Copy constructor
- Parameters
-
rOtherGen | Generator |
rY | Output alphabet |
rU | Input alphabet |
Definition at line 546 of file hio_constraint.h.
◆ THioConstraint() [4/5]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
HioConstraint from a HioConstraint. Copy constructor
- Parameters
-
Definition at line 536 of file hio_constraint.h.
◆ THioConstraint() [5/5]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
construct a HioConstraint from file
- Parameters
-
- Exceptions
-
Definition at line 557 of file hio_constraint.h.
◆ ClrErr() [1/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Mark set of states as NOT Err-states (by index)
- Parameters
-
Definition at line 914 of file hio_constraint.h.
◆ ClrErr() [2/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
void faudes::THioConstraint< GlobalAttr, StateAttr, EventAttr, TransAttr >::ClrErr |
( |
const std::string & |
rName | ) |
|
Mark state as NOT Err-state (by name)
- Parameters
-
Definition at line 907 of file hio_constraint.h.
◆ ClrErr() [3/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Mark state as NOT Err-state (by index)
- Parameters
-
Definition at line 899 of file hio_constraint.h.
◆ ClrQU() [1/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Mark set of states as NOT QU-states (by index)
- Parameters
-
Definition at line 843 of file hio_constraint.h.
◆ ClrQU() [2/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
void faudes::THioConstraint< GlobalAttr, StateAttr, EventAttr, TransAttr >::ClrQU |
( |
const std::string & |
rName | ) |
|
Mark state as NOT QU-state (by name)
- Parameters
-
Definition at line 836 of file hio_constraint.h.
◆ ClrQU() [3/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Mark state as NOT QU-state (by index)
- Parameters
-
Definition at line 828 of file hio_constraint.h.
◆ ClrQY() [1/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Mark set of states as NOT QY-states (by index)
- Parameters
-
Definition at line 764 of file hio_constraint.h.
◆ ClrQY() [2/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
void faudes::THioConstraint< GlobalAttr, StateAttr, EventAttr, TransAttr >::ClrQY |
( |
const std::string & |
rName | ) |
|
Mark state as NOT QY-state (by name)
- Parameters
-
Definition at line 757 of file hio_constraint.h.
◆ ClrQY() [3/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Mark state as NOT QY-state (by index)
- Parameters
-
Definition at line 749 of file hio_constraint.h.
◆ Copy()
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ ErrStates()
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Get StateSet with Err-states
- Returns
- StateSet of Err-states
Definition at line 935 of file hio_constraint.h.
◆ InsUEvent() [1/2]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Add new named U-event to generator. An entry in the global event table will be made if event is new.
- Parameters
-
rName | Name of the event to add |
- Returns
- New global unique index
Definition at line 658 of file hio_constraint.h.
◆ InsUEvent() [2/2]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Add an existing U-event to generator. An entry in the global event table will be made.
- Parameters
-
Definition at line 650 of file hio_constraint.h.
◆ InsYEvent() [1/2]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Add new named Y-event to generator. An entry in the global event table will be made if event is new.
- Parameters
-
rName | Name of the event to add |
- Returns
- New global unique index
Definition at line 642 of file hio_constraint.h.
◆ InsYEvent() [2/2]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Add an existing Y-event to generator. An entry in the global event table will be made.
- Parameters
-
Definition at line 634 of file hio_constraint.h.
◆ IsErr() [1/2]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
bool faudes::THioConstraint< GlobalAttr, StateAttr, EventAttr, TransAttr >::IsErr |
( |
const std::string & |
rName | ) |
const |
Is state Err-state (by name)
- Parameters
-
- Returns
- True / false
Definition at line 929 of file hio_constraint.h.
◆ IsErr() [2/2]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Is state Err-state (by index)
- Parameters
-
- Returns
- True / false
Definition at line 923 of file hio_constraint.h.
◆ IsQU() [1/2]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
bool faudes::THioConstraint< GlobalAttr, StateAttr, EventAttr, TransAttr >::IsQU |
( |
const std::string & |
rName | ) |
const |
Is state QU-state (by name)
- Parameters
-
- Returns
- True / false
Definition at line 858 of file hio_constraint.h.
◆ IsQU() [2/2]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Is state QU-state (by index)
- Parameters
-
- Returns
- True / false
Definition at line 852 of file hio_constraint.h.
◆ IsQY() [1/2]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
bool faudes::THioConstraint< GlobalAttr, StateAttr, EventAttr, TransAttr >::IsQY |
( |
const std::string & |
rName | ) |
const |
Is state QY-state (by name)
- Parameters
-
- Returns
- True / false
Definition at line 779 of file hio_constraint.h.
◆ IsQY() [2/2]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Is state QY-state (by index)
- Parameters
-
- Returns
- True / false
Definition at line 773 of file hio_constraint.h.
◆ IsU() [1/2]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
bool faudes::THioConstraint< GlobalAttr, StateAttr, EventAttr, TransAttr >::IsU |
( |
const std::string & |
rName | ) |
const |
Is event U-event(by name)
- Parameters
-
- Returns
- True / false
Definition at line 604 of file hio_constraint.h.
◆ IsU() [2/2]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Is event U-event(by index)
- Parameters
-
- Returns
- True / false
Definition at line 598 of file hio_constraint.h.
◆ IsY() [1/2]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
bool faudes::THioConstraint< GlobalAttr, StateAttr, EventAttr, TransAttr >::IsY |
( |
const std::string & |
rName | ) |
const |
Is event Y-event(by name)
- Parameters
-
- Returns
- True / false
Definition at line 592 of file hio_constraint.h.
◆ IsY() [2/2]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Is event Y-event(by index)
- Parameters
-
- Returns
- True / false
Definition at line 586 of file hio_constraint.h.
◆ New()
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ NewHioConstraint()
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Create empty HioConstraint with same symboltable as this
- Returns
- New Generator
Definition at line 577 of file hio_constraint.h.
◆ operator=()
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ QUStates()
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Get StateSet with QU-states
- Returns
- StateSet of QU-states
Definition at line 864 of file hio_constraint.h.
◆ QYStates()
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Get StateSet with QY-states
- Returns
- StateSet of QY-states
Definition at line 785 of file hio_constraint.h.
◆ SetErr() [1/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ SetErr() [2/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
void faudes::THioConstraint< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetErr |
( |
const std::string & |
rName | ) |
|
◆ SetErr() [3/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ SetQU() [1/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ SetQU() [2/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
void faudes::THioConstraint< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetQU |
( |
const std::string & |
rName | ) |
|
◆ SetQU() [3/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ SetQY() [1/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ SetQY() [2/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
void faudes::THioConstraint< GlobalAttr, StateAttr, EventAttr, TransAttr >::SetQY |
( |
const std::string & |
rName | ) |
|
◆ SetQY() [3/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ SetU() [1/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ SetU() [2/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ SetU() [3/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ SetY() [1/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ SetY() [2/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ SetY() [3/3]
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
◆ UEvents()
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Get EventSet with U-events
- Returns
- EventSet of U-events
Definition at line 621 of file hio_constraint.h.
◆ UpdateAttributes()
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Updates internal attributes. This method sets the state partition attributes.
- Returns
- True if value changed
Reimplemented from faudes::vGenerator.
Definition at line 512 of file hio_constraint.h.
◆ YEvents()
template<class GlobalAttr , class StateAttr , class EventAttr , class TransAttr >
Get EventSet with Y-events
- Returns
- EventSet of Y-events
Definition at line 610 of file hio_constraint.h.
The documentation for this class was generated from the following file:
libFAUDES 2.33b
--- 2025.05.07
--- c++ api documentaion by doxygen
|