7#ifndef Fw_EnabledEnumAc_HPP
8#define Fw_EnabledEnumAc_HPP
99 operator T()
const {
…}
113 return !(*
this ==
e);
119 friend std::ostream& operator<<(
145#if FW_SERIALIZABLE_TO_STRING || FW_ENABLE_TEXT_LOGGING || BUILD_UT
C++-compatible configuration header for fprime configuration.
Enabled and disabled states.
@ DISABLED
Disabled state.
Enabled(const Enabled &obj)
Copy constructor.
Enabled(const T e)
Constructor (user-provided value)
bool operator==(T e) const
Equality operator.
bool operator!=(T e) const
Inequality operator.
bool isValid() const
Check raw enum value for validity.
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 & 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.
@ SERIALIZED_SIZE
The size of the serial representation.
@ NUM_CONSTANTS
The number of enumerated constants.
SerializeStatus
forward declaration for string