7 #ifndef Svc_VersionEnabledEnumAc_HPP
8 #define Svc_VersionEnabledEnumAc_HPP
107 return this->
e == e1;
113 return !(*
this == e1);
119 friend std::ostream& operator<<(
145 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
Tracks versions for project, framework and user defined versions etc.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
VersionEnabled(const VersionEnabled &obj)
Copy constructor.
bool operator==(T e1) const
Equality operator.
VersionEnabled & operator=(const VersionEnabled &obj)
Copy assignment operator (object)
I32 SerialType
The serial representation type.
@ DISABLED
verbosity disabled
@ ENABLED
verbosity enabled
VersionEnabled()
Constructor (default value of DISABLED)
T t
For backwards compatibility.
bool isValid() const
Check raw enum value for validity.
VersionEnabled(const T e1)
Constructor (user-provided value)
bool operator!=(T e1) const
Inequality operator.
@ SERIALIZED_SIZE
The size of the serial representation.
@ NUM_CONSTANTS
The number of enumerated constants.
SerializeStatus
forward declaration for string