7 #ifndef Fw_DpStateEnumAc_HPP
8 #define Fw_DpStateEnumAc_HPP
110 return this->
e == e1;
116 return !(*
this == e1);
122 friend std::ostream& operator<<(
148 #if FW_SERIALIZABLE_TO_STRING
uint8_t U8
8-bit unsigned integer
C++-compatible configuration header for fprime configuration.
DpState(const T e1)
Constructor (user-provided value)
@ UNTRANSMITTED
The untransmitted state.
@ TRANSMITTED
The transmitted state.
DpState()
Constructor (default value of UNTRANSMITTED)
bool isValid() const
Check raw enum value for validity.
bool operator==(T e1) const
Equality operator.
bool operator!=(T e1) const
Inequality operator.
DpState & operator=(const DpState &obj)
Copy assignment operator (object)
@ NUM_CONSTANTS
The number of enumerated constants.
@ SERIALIZED_SIZE
The size of the serial representation.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
T t
For backwards compatibility.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
DpState(const DpState &obj)
Copy constructor.
U8 SerialType
The serial representation type.
SerializeStatus
forward declaration for string