7 #ifndef Fw_SerialStatusEnumAc_HPP
8 #define Fw_SerialStatusEnumAc_HPP
109 return this->
e == e1;
115 return !(*
this == e1);
121 friend std::ostream& operator<<(
147 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
SerialStatus(const T e1)
Constructor (user-provided value)
@ FORMAT_ERROR
Data was the wrong format (e.g. wrong packet type)
@ OK
Serialization operation succeeded.
@ NO_ROOM_LEFT
No room left in the buffer to serialize data.
bool operator!=(T e1) const
Inequality operator.
SerialStatus()
Constructor (default value of OK)
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
I32 SerialType
The serial representation type.
SerialStatus(const SerialStatus &obj)
Copy constructor.
bool operator==(T e1) const
Equality operator.
@ NUM_CONSTANTS
The number of enumerated constants.
@ SERIALIZED_SIZE
The size of the serial representation.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
bool isValid() const
Check raw enum value for validity.
T t
For backwards compatibility.
SerialStatus & operator=(const SerialStatus &obj)
Copy assignment operator (object)
SerializeStatus
forward declaration for string