|
|
||||||
|
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 1056 of file cfl_types.h.
Constructor & Destructor Documentation◆ AttrType() [1/2]
Constructor Definition at line 354 of file cfl_types.cpp. ◆ AttrType() [2/2]
Copy Constructor Definition at line 359 of file cfl_types.cpp. ◆ ~AttrType()
Destructor Definition at line 364 of file cfl_types.cpp. Member Function Documentation◆ DoAssign()
Assign (no members, dummy) Definition at line 1095 of file cfl_types.h. ◆ DoEqual()
Test (no members, dummy) Definition at line 1098 of file cfl_types.h. ◆ IsDefault()
Test for default value. Reimplemented from faudes::Type. Reimplemented in faudes::vBaseVector, faudes::TBaseSet< T, Cmp >, faudes::TBaseSet< std::string >, faudes::TBaseSet< Idx >, faudes::TBaseSet< Transition, TransSort::X1EvX2 >, faudes::TBaseSet< T, std::less< T > >, faudes::TBaseSet< T, Cmp >, faudes::AttributeCFlags, faudes::AttributeFlags, faudes::AttributeTimedGlobal, faudes::AttributeTimedState, faudes::AttributeTimedTrans, faudes::SimEventAttribute, faudes::AttributeSimCondition, faudes::AttributePriority, faudes::AttributeColoredState, faudes::AttributeIosState, faudes::AttributeIosEvent, faudes::AttributeDeviceEvent, faudes::AttributeSimplenetEvent, faudes::AttributeSimplenetInput, faudes::AttributeSimplenetOutput, faudes::AttributeSignalEvent, faudes::AttributeSignalInput, faudes::AttributeSignalOutput, faudes::AttributeLhaGlobal, faudes::AttributeLhaState, faudes::AttributeLhaTrans, faudes::HioStateFlags, faudes::HioEventFlags, faudes::DiagLabelSet, faudes::AttributeFailureTypeMap, faudes::AttributeFailureEvents, and faudes::AttributeDiagnoserState. Definition at line 1076 of file cfl_types.h. ◆ operator!=()
Test equality of configuration data. See operator==(const Type&). This method calls the virtual method DoEqual(). Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Definition at line 406 of file cfl_types.cpp. ◆ operator=()
Assign configurationdata from other object. Derived classes should implement the operator form for the assignment for each source type which allows for a non-trivial assignment. This includes the particular case were the source and destination types match exactly. In the latter case the DoAssign method should be invoked. In contrast to the Assign function, the operator form must not be reimplemented for missmatched source types: the operator form only accepts sensible source types. This allows for compiletime typeckecking. However, the downside is that when the type is not known at compiletime, configuration is not properly assigned. Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Definition at line 355 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 methoc calls the virtual method DoEqual(). Re-implementation can be done via the convenience macros FAUDES_TYPE_DECLARATION and FAUDES_TYPE_IMPLEMENTATION.
Definition at line 390 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 369 of file cfl_types.cpp. The documentation for this class was generated from the following files: libFAUDES 2.33h --- 2025.06.18 --- c++ api documentaion by doxygen |