7 #ifndef Fw_EnabledEnumAc_HPP
8 #define Fw_EnabledEnumAc_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.
Enabled and disabled states.
@ DISABLED
Disabled state.
Enabled(const Enabled &obj)
Copy constructor.
@ SERIALIZED_SIZE
The size of the serial representation.
@ NUM_CONSTANTS
The number of enumerated constants.
bool isValid() const
Check raw enum value for validity.
bool operator!=(T e1) const
Inequality operator.
Enabled()
Constructor (default value of DISABLED)
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
I32 SerialType
The serial representation type.
Enabled(const T e1)
Constructor (user-provided value)
Enabled & operator=(const Enabled &obj)
Copy assignment operator (object)
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
T t
For backwards compatibility.
bool operator==(T e1) const
Equality operator.
SerializeStatus
forward declaration for string