faudes::AttributeVoid Class ReferenceMinimal Attribute. More...
Detailed DescriptionMinimal Attribute. Attributes are used as template parameters for faudes containers and generators and facilitate the modelling of customized properties of events, states and transitions. The AttributeVoid class defines the minimal interface of faudes attributes and therefore is the designated base class for all attribute implementations. The AttributeVoid class does not define any actual properties. See AttributeFlags for a non-trivial example. To derive a class from AttributeVoid you should reimplement the virtual interface
Definition at line 52 of file cfl_attributes.h. Constructor & Destructor Documentation
Constructor. Definition at line 38 of file cfl_attributes.cpp.
Destructor. Definition at line 43 of file cfl_attributes.cpp. Member Function Documentation
Synonym for SetDefault to match std interface. Reimplemented from faudes::Type. Reimplemented in faudes::AttributeDiagnoserState, faudes::AttributeFailureEvents, faudes::AttributeFailureTypeMap, faudes::DiagLabelSet, faudes::AttributeSignalOutput, faudes::AttributeSignalInput, faudes::AttributeSignalEvent, faudes::AttributeSimplenetOutput, faudes::AttributeSimplenetInput, faudes::AttributeSimplenetEvent, and faudes::AttributeDeviceEvent. Definition at line 78 of file cfl_attributes.h.
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 105 of file cfl_attributes.h.
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 116 of file cfl_attributes.h.
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::AttributeFlags, faudes::AttributeCFlags, faudes::AttributeDiagnoserState, faudes::AttributeFailureEvents, faudes::AttributeFailureTypeMap, faudes::DiagLabelSet, faudes::HioEventFlags, faudes::HioStateFlags, faudes::AttributeIosEvent, faudes::AttributeIosState, faudes::AttributeColoredState, faudes::AttributePushdownState, faudes::AttributePushdownTransition, faudes::AttributePushdownGlobal, faudes::AttributeGotoTransition, faudes::AttributeGotoState, faudes::AttributeTimedTrans, faudes::AttributeTimedState, faudes::AttributeTimedGlobal, faudes::AttributeSimCondition, faudes::SimEventAttribute, faudes::AttributeSignalOutput, faudes::AttributeSignalInput, faudes::AttributeSimplenetOutput, faudes::AttributeSimplenetInput, and faudes::AttributeDeviceEvent. Definition at line 54 of file cfl_attributes.cpp.
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::AttributeFlags, faudes::AttributeCFlags, faudes::AttributeDiagnoserState, faudes::AttributeFailureEvents, faudes::AttributeFailureTypeMap, faudes::DiagLabelSet, faudes::HioEventFlags, faudes::HioStateFlags, faudes::AttributeIosEvent, faudes::AttributeIosState, faudes::AttributeColoredState, faudes::AttributePushdownState, faudes::AttributePushdownTransition, faudes::AttributePushdownGlobal, faudes::AttributeGotoTransition, faudes::AttributeGotoState, faudes::AttributeTimedTrans, faudes::AttributeTimedState, faudes::AttributeTimedGlobal, faudes::AttributeSimCondition, faudes::SimEventAttribute, faudes::AttributeSignalOutput, faudes::AttributeSignalInput, faudes::AttributeSimplenetOutput, faudes::AttributeSimplenetInput, and faudes::AttributeDeviceEvent. Definition at line 48 of file cfl_attributes.cpp.
Test for default value. Reimplemented in faudes::AttributeFlags, faudes::AttributeCFlags, faudes::AttributeDiagnoserState, faudes::AttributeFailureEvents, faudes::AttributeFailureTypeMap, faudes::DiagLabelSet, faudes::HioEventFlags, faudes::HioStateFlags, faudes::AttributeIosEvent, faudes::AttributeIosState, faudes::AttributeColoredState, faudes::AttributePushdownState, faudes::AttributePushdownTransition, faudes::AttributePushdownGlobal, faudes::AttributeGotoTransition, faudes::AttributeGotoState, faudes::AttributeTimedTrans, faudes::AttributeTimedState, faudes::AttributeTimedGlobal, faudes::AttributeSimCondition, faudes::SimEventAttribute, faudes::AttributeSignalOutput, faudes::AttributeSignalInput, faudes::AttributeSignalEvent, faudes::AttributeSimplenetOutput, faudes::AttributeSimplenetInput, faudes::AttributeSimplenetEvent, and faudes::AttributeDeviceEvent. Definition at line 67 of file cfl_attributes.h.
Set to default value. Derived classes must reimplement this function for Clear to operate properly. Definition at line 73 of file cfl_attributes.h.
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 60 of file cfl_attributes.cpp. The documentation for this class was generated from the following files: libFAUDES 2.23h --- 2014.04.03 --- c++ api documentaion by doxygen |