|
|
||||||
|
Public Member Functions |
Static Public Member Functions |
Protected Member Functions |
List of all members
faudes::AttributeVoid Class Reference Detailed DescriptionMinimal Attribute. Attributes are used as template parameters for faudes containers and generators and facilitate the modelling of customized To derive a class from AttributeVoid you should reimplement the virtual interface
Definition at line 52 of file cfl_attributes.h.
Constructor & Destructor Documentation◆ AttributeVoid() [1/2]
Constructor. Definition at line 38 of file cfl_attributes.cpp. ◆ AttributeVoid() [2/2]
Copy Constructor. Definition at line 43 of file cfl_attributes.cpp. ◆ ~AttributeVoid()
Destructor. Definition at line 49 of file cfl_attributes.cpp. Member Function Documentation◆ Clear()
Synonym for SetDefault to match std interface. Reimplemented from faudes::Type. Reimplemented in faudes::AttributeDeviceEvent, faudes::AttributeSimplenetEvent, faudes::AttributeSimplenetInput, faudes::AttributeSimplenetOutput, faudes::AttributeSignalEvent, faudes::AttributeSignalInput, faudes::AttributeSignalOutput, faudes::DiagLabelSet, faudes::AttributeFailureTypeMap, faudes::AttributeFailureEvents, and faudes::AttributeDiagnoserState. Definition at line 81 of file cfl_attributes.h. ◆ DoAssign()
Assign attribute members. Since AttributeVoid has no members, this method does nothing. Derived classes are meant to reimplement DoAssign by first calling their base and then assigning additional member variables.
Definition at line 108 of file cfl_attributes.h. ◆ DoDWrite()
Actual write method to write the attribute to a TokenWriter. Reimplement this method for derived attribute classes to define the token io format. See Type::Write for public wrappers.
Reimplemented from faudes::Type. Definition at line 60 of file cfl_attributes.cpp. ◆ DoEqual()
Test equality of configuration data. Derived attributes should reimplement this class to compare configuration data. The base AttributeVoid returns true as a default.
Definition at line 119 of file cfl_attributes.h. ◆ DoRead()
Actual read method to read attribute from tokenreader. For derived attributue classes, this method must either read all tokens that belong to the respective attribute, or none. It may throw exceptions on token mismatch within the relevant attribute, but it may not throw exceptions when it encounters tokens that possibly belong to another attribute. The latter are to be skipped by the provided Skip method. See Type::Read for public wrappers.
Reimplemented from faudes::Type. Reimplemented in faudes::AttributeCFlags, faudes::AttributeFlags, faudes::AttributeTimedGlobal, faudes::AttributeTimedState, faudes::AttributeTimedTrans, faudes::SimEventAttribute, faudes::AttributeSimCondition, faudes::AttributeColoredState, faudes::AttributeIosState, faudes::AttributeIosEvent, faudes::AttributeDeviceEvent, faudes::AttributeSimplenetInput, faudes::AttributeSimplenetOutput, faudes::AttributeSignalInput, faudes::AttributeSignalOutput, faudes::AttributeLhaGlobal, faudes::AttributeLhaState, faudes::AttributeLhaTrans, faudes::HioStateFlags, faudes::HioEventFlags, faudes::AttributeFailureTypeMap, faudes::AttributeFailureEvents, faudes::DiagLabelSet, and faudes::AttributeDiagnoserState. Definition at line 68 of file cfl_attributes.cpp. ◆ DoWrite()
Actual write method to write the attribute to a TokenWriter. Reimplement this method for derived attribute classes to define the token io format. See Type::Write for public wrappers.
Reimplemented from faudes::Type. Reimplemented in faudes::AttributeCFlags, faudes::AttributeFlags, faudes::AttributeTimedGlobal, faudes::AttributeTimedState, faudes::AttributeTimedTrans, faudes::SimEventAttribute, faudes::AttributeSimCondition, faudes::AttributeColoredState, faudes::AttributeIosState, faudes::AttributeIosEvent, faudes::AttributeDeviceEvent, faudes::AttributeSimplenetInput, faudes::AttributeSimplenetOutput, faudes::AttributeSignalInput, faudes::AttributeSignalOutput, faudes::AttributeLhaGlobal, faudes::AttributeLhaState, faudes::AttributeLhaTrans, faudes::HioStateFlags, faudes::HioEventFlags, faudes::AttributeFailureTypeMap, faudes::DiagLabelSet, faudes::AttributeFailureEvents, and faudes::AttributeDiagnoserState. Definition at line 54 of file cfl_attributes.cpp. ◆ IsDefault()
Test for default value. Reimplemented in faudes::AttributeCFlags, faudes::AttributeFlags, faudes::AttributeTimedGlobal, faudes::AttributeTimedState, faudes::AttributeTimedTrans, faudes::SimEventAttribute, faudes::AttributeSimCondition, 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 70 of file cfl_attributes.h. ◆ SetDefault()
Set to default value. Derived classes must reimplement this function for Clear to operate properly. Definition at line 76 of file cfl_attributes.h. ◆ 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.
Definition at line 74 of file cfl_attributes.cpp. The documentation for this class was generated from the following files: libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |