| |
|
|||||||
|
|
||||||||
|
Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
List of all members
faudes::AttrType Class Reference Detailed DescriptionExtended Type to base Attributes. Attributes are used as template parameters for faudes containers and facilitate the modelling of customized properties of events, states and transitions. See the class faudes::AttributeFlags for a non-trivial example. To derive a class from faudes::AttrType you should reimplement the virtual interface
The class faudes::AttrType extends the base Type marginally to distinguish void attributes from plain type objects; i.e., we introduce a marker in the type hierarchy. There is (almost) nothing functional about this class and we should find ways to go without. Definition at line 1128 of file cfl_types.h.
Constructor & Destructor Documentation◆ AttrType() [1/2]
Constructor Definition at line 375 of file cfl_types.cpp. ◆ AttrType() [2/2]
Copy Constructor Definition at line 380 of file cfl_types.cpp. ◆ ~AttrType()
Destructor Definition at line 385 of file cfl_types.cpp. Member Function Documentation◆ DoCopy()
Copy (no members, dummy) Definition at line 1167 of file cfl_types.h. ◆ DoEqual()
Test (no members, dummy) Definition at line 1170 of file cfl_types.h. ◆ IsDefault()
Test for default value. Reimplemented from faudes::Type. Reimplemented in faudes::AttributeDiagnoserState, faudes::AttributeFailureEvents, faudes::AttributeFailureTypeMap, faudes::DiagLabelSet, faudes::HioEventFlags, faudes::HioStateFlags, faudes::AttributeLhaTrans, faudes::AttributeLhaState, faudes::AttributeLhaGlobal, faudes::AttributeSignalOutput, faudes::AttributeSignalInput, faudes::AttributeSignalEvent, faudes::AttributeSimplenetOutput, faudes::AttributeSimplenetInput, faudes::AttributeSimplenetEvent, faudes::AttributeDeviceEvent, faudes::AttributeIosEvent, faudes::AttributeIosState, faudes::AttributeColoredState, faudes::StateRanking, faudes::AttributePGenGl, faudes::AttributePriority, faudes::AttributeSimCondition, faudes::SimEventAttribute, faudes::AttributeTimedTrans, faudes::AttributeTimedState, faudes::AttributeTimedGlobal, faudes::AttributeFlags, faudes::AttributeCFlags, faudes::TBaseSet< T, Cmp >, faudes::TBaseSet< Idx >, faudes::TBaseSet< Idx, std::less< Idx > >, faudes::TBaseSet< std::string >, faudes::TBaseSet< T, Cmp >, faudes::TBaseSet< T, std::less< T > >, faudes::TBaseSet< Transition, TransSort::X1EvX2 >, faudes::TBaseSet< Transition, TransSort::X2EvX1 >, and faudes::vBaseVector. Definition at line 1148 of file cfl_types.h. ◆ operator!=()
Test equality of configuration data. See operator==(const Type&). This operator calls DoEqual(). Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Definition at line 434 of file cfl_types.cpp. ◆ operator=() [1/2]Copy configuration data from other object. Derived classes should implement at least the signature with matching source and destination types via the DoCopy method. Additionally, one may implement variants with a base class as source, as mong as meaningul assigment is possible. Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Definition at line 368 of file cfl_types.cpp. ◆ operator=() [2/2]Copy configuration data from other object (destructive) Derived classes should implement at least the signature with matching source and destination types via the DoCopy method. Additionally, one may implement variants with a base class as source, as mong as meaningul assigment is possible. Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Definition at line 383 of file cfl_types.cpp. ◆ operator==()
Test equality of configuration data. The operator form of the equality test is only defined for matching types, no cast will be performed. Thus, the test will be optimistic if the type is not known at compiletime. The object name or id is not considered in the test. This operator calls DoEqual(). Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Definition at line 418 of file cfl_types.cpp. ◆ Skip()
Skip attribute tokens. Helper method to be called after all sttribute derived classes had their chance to read their data. It skips all tokens and sections until it reaches a String or decimal Integer. This should go to BaseSet.
Definition at line 390 of file cfl_types.cpp. The documentation for this class was generated from the following files: libFAUDES 2.34e --- 2026.03.16 --- c++ api documentaion by doxygen |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||