7 #ifndef Os_GenericStatusEnumAc_HPP
8 #define Os_GenericStatusEnumAc_HPP
107 return this->
e == e1;
113 return !(*
this == e1);
119 friend std::ostream& operator<<(
145 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
FPP shadow-enum representing Os::Generic::Status.
@ ERROR
error return value
GenericStatus & operator=(const GenericStatus &obj)
Copy assignment operator (object)
bool operator!=(T e1) const
Inequality operator.
bool operator==(T e1) const
Equality operator.
I32 SerialType
The serial representation type.
GenericStatus(const T e1)
Constructor (user-provided value)
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
@ SERIALIZED_SIZE
The size of the serial representation.
@ NUM_CONSTANTS
The number of enumerated constants.
bool isValid() const
Check raw enum value for validity.
T t
For backwards compatibility.
GenericStatus()
Constructor (default value of OP_OK)
GenericStatus(const GenericStatus &obj)
Copy constructor.
SerializeStatus
forward declaration for string