7 #ifndef Fw_DpStateEnumAc_HPP 8 #define Fw_DpStateEnumAc_HPP 86 this->m_serializeValueIsSet = obj.m_serializeValueIsSet;
87 this->m_serializeValue = obj.m_serializeValue;
108 operator enum T()
const 116 return this->
e == e1;
122 return !(*
this == e1);
128 friend std::ostream& operator<<(
156 #if FW_SERIALIZABLE_TO_STRING 168 void setSerializeValue(
207 bool m_serializeValueIsSet =
false;
bool isValid() const
Check raw enum value for validity.
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialize raw enum value to SerialType.
DpState & operator=(const DpState &obj)
Copy assignment operator (object)
DpState(const enum T e1)
Constructor (user-provided value)
DpState(const DpState &obj)
Copy constructor.
SerializeStatus
forward declaration for string
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialize raw enum value from SerialType.
The number of enumerated constants.
The size of the serial representation.
U8 SerialType
The serial representation type.
enum T e
The raw enum value.
uint8_t U8
8-bit unsigned integer
enum T t
For backwards compatibility.
bool operator==(enum T e1) const
Equality operator.
DpState()
Constructor (default value of UNTRANSMITTED)
Implementation of malloc based allocator.
bool operator!=(enum T e1) const
Inequality operator.
Big endian serialization.