7 #ifndef Fw_DeserialStatusEnumAc_HPP
8 #define Fw_DeserialStatusEnumAc_HPP
112 return this->
e == e1;
118 return !(*
this == e1);
124 friend std::ostream& operator<<(
150 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
bool operator==(T e1) const
Equality operator.
bool isValid() const
Check raw enum value for validity.
@ SERIALIZED_SIZE
The size of the serial representation.
@ NUM_CONSTANTS
The number of enumerated constants.
bool operator!=(T e1) const
Inequality operator.
DeserialStatus & operator=(const DeserialStatus &obj)
Copy assignment operator (object)
DeserialStatus(const T e1)
Constructor (user-provided value)
T t
For backwards compatibility.
DeserialStatus(const DeserialStatus &obj)
Copy constructor.
DeserialStatus()
Constructor (default value of OK)
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
@ TYPE_MISMATCH
Deserialized type ID didn't match.
@ FORMAT_ERROR
Deserialization data had incorrect values (unexpected data types)
@ SIZE_MISMATCH
Data was left in in the buffer, but not enough to deserialize.
@ BUFFER_EMPTY
Deserialization buffer was empty when trying to read data.
I32 SerialType
The serial representation type.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
SerializeStatus
forward declaration for string