7 #ifndef Fw_SuccessEnumAc_HPP 8 #define Fw_SuccessEnumAc_HPP 107 return this->
e == e1;
113 return !(*
this == e1);
119 friend std::ostream& operator<<(
145 #if FW_SERIALIZABLE_TO_STRING
bool isValid() const
Check raw enum value for validity.
Fw::SerializeStatus deserializeFrom(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
The size of the serial representation.
Success(const T e1)
Constructor (user-provided value)
SerializeStatus
forward declaration for string
Success & operator=(const Success &obj)
Copy assignment operator (object)
bool operator!=(T e1) const
Inequality operator.
Success()
Constructor (default value of FAILURE)
uint8_t U8
8-bit unsigned integer
Success(const Success &obj)
Copy constructor.
bool operator==(T e1) const
Equality operator.
The number of enumerated constants.
Fw::SerializeStatus serializeTo(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
U8 SerialType
The serial representation type.
T t
For backwards compatibility.