|
faudes::TaTransSet< Attr > Class Template Reference Detailed Descriptiontemplate<class Attr> class faudes::TaTransSet< Attr > Set of Transitions with attributes. This container class is derived from TTransSet to provide attributes as an additional feature. The template parameter specifies the attribute class, which in turn must provide some basic funtionality. In contrast to the TTransSet, the TaTransSet is restricted to standard ordering. Note that it is the context of a Generator that actually allows to interpret a TaTransSet as a set of transitions as opposed to a set of triples of indices with attributes. In particular, file IO of transitions is provided by the generator class (although TaTransSet provides output functions for debugging) Definition at line 1056 of file cfl_transset.h.
Member Typedef Documentation◆ Iterator
template<class Attr >
doxygen group Iterator on transition Definition at line 1114 of file cfl_transset.h. Constructor & Destructor Documentation◆ TaTransSet() [1/3]
template<class Attr >
doxygen group Construct an empty TaTransSet object Definition at line 2056 of file cfl_transset.h. ◆ TaTransSet() [2/3]
template<class Attr >
Copy-constructor (incl attributes) Definition at line 2064 of file cfl_transset.h. ◆ TaTransSet() [3/3]
template<class Attr >
Copy-Constructor (set attributes to default) Definition at line 2074 of file cfl_transset.h. ◆ ~TaTransSet()
template<class Attr >
Virtual destructor Definition at line 1084 of file cfl_transset.h. Member Function Documentation◆ Assign()
template<class Attr >
Relaxed assignment method. Runtime typecheck for TransSet, maintains attributes provided they can be casted.
Definition at line 2090 of file cfl_transset.h. ◆ Attribute() [1/3]
template<class Attr >
Attribute access. This virtual function provides an interface for derived classes with attributes eg TaIndexSet. The TBaseSet has no attributes and thus returns a void attribute. Derived classes that provide attributes are meant to return the attribute specified by rElem.
Reimplemented from faudes::TBaseSet< Transition, TransSort::X1EvX2 >. Definition at line 1258 of file cfl_transset.h. ◆ Attribute() [2/3]
template<class Attr >
Definition at line 1259 of file cfl_transset.h. ◆ Attribute() [3/3]
template<class Attr >
Attribute access. This virtual function provides an interface for derived classes with attributes eg TaIndexSet. The TBaseSet itself has void attributes and thus formally accepts any nontrivial attribute, however, ignoring any value. Derived classes that provide attributes are meant to set the attribute as specified. Only if the required cast to the actual attribute type fails an exception is thrown.
Reimplemented from faudes::TBaseSet< Transition, TransSort::X1EvX2 >. Definition at line 1260 of file cfl_transset.h. ◆ Attributep()
template<class Attr >
Attribute access. This virtual function provides an interface for derived classes with attributes eg TaIndexSet. The TBaseSet has no attributes and thus throws an exception. Derived classes that provide attributes are meant to return a pointer to the attribute specified by rElem.
Reimplemented from faudes::TBaseSet< Transition, TransSort::X1EvX2 >. Definition at line 1257 of file cfl_transset.h. ◆ AttributeTry()
template<class Attr >
Attribute access. This virtual function provides an interface for derived classes with attributes eg TaIndexSet. It is meant to try to set the attribute as specified if the type can be casted. Otherwise it does nothing.
Reimplemented from faudes::TBaseSet< Transition, TransSort::X1EvX2 >. Definition at line 1261 of file cfl_transset.h. ◆ AttributeType()
template<class Attr >
resolve ambiguities from attribute interface ("using" wont do the job) Reimplemented from faudes::TBaseSet< Transition, TransSort::X1EvX2 >. Definition at line 1256 of file cfl_transset.h. ◆ DoAssign()
template<class Attr >
Assign my members. Maintain attributes.
Definition at line 2084 of file cfl_transset.h. ◆ Erase() [1/3]
template<class Attr >
Remove a Transition by iterator
Reimplemented from faudes::TBaseSet< Transition, TransSort::X1EvX2 >. Definition at line 2163 of file cfl_transset.h. ◆ Erase() [2/3]
template<class Attr >
Remove a Transition
Definition at line 2151 of file cfl_transset.h. ◆ Erase() [3/3]
template<class Attr >
Remove a Transition
Definition at line 2156 of file cfl_transset.h. ◆ EraseSet() [1/2]
template<class Attr >
Inserts elements of rOtherSet. This variant uses a runtime cast to access attributes.
Definition at line 2181 of file cfl_transset.h. ◆ EraseSet() [2/2]
template<class Attr >
Inserts elements of rOtherSet. Attributes of this set are maintained.
Definition at line 2175 of file cfl_transset.h. ◆ Insert() [1/3]
template<class Attr >
Add a Transition directly. If the transition already exists, the attribute is maintained. Otherwise, the transition is inserted with default attribute.
Definition at line 2111 of file cfl_transset.h. ◆ Insert() [2/3]
template<class Attr >
Add a Transition with attribute.
Definition at line 2124 of file cfl_transset.h. ◆ Insert() [3/3]
template<class Attr >
Add a Transition by indices
Definition at line 2117 of file cfl_transset.h. ◆ InsertSet() [1/2]
template<class Attr >
Inserts elements of rOtherSet. This variant uses a runtime cast to access attributes.
Definition at line 2136 of file cfl_transset.h. ◆ InsertSet() [2/2]
template<class Attr >
Inserts elements of rOtherSet. Attributes of this set are maintained, newly inserted elements attain the attribute from rOtherSet if it can be casted appropriately.
Definition at line 2130 of file cfl_transset.h. ◆ operator=()
template<class Attr >
Relaxed assignment operator.
Definition at line 1104 of file cfl_transset.h. ◆ RestrictSet() [1/2]
template<class Attr >
Restrict to specified subset. This variant uses a runtime cast to access attributes.
Definition at line 2202 of file cfl_transset.h. ◆ RestrictSet() [2/2]
template<class Attr >
Restrict to specified subset. Erases any elements no in the specified set. This function ignores the attributes of the other set and maintains the attributes of the remaining elements in this set.
Definition at line 2195 of file cfl_transset.h. The documentation for this class was generated from the following file: libFAUDES 2.33k --- 2025.09.16 --- c++ api documentaion by doxygen |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||