7#ifndef Fw_SuccessEnumAc_HPP
8#define Fw_SuccessEnumAc_HPP
99 operator T()
const {
…}
113 return !(*
this ==
e);
119 friend std::ostream& operator<<(
145#if FW_SERIALIZABLE_TO_STRING || FW_ENABLE_TEXT_LOGGING || BUILD_UT
C++-compatible configuration header for fprime configuration.
bool operator==(T e) const
Equality operator.
Success & operator=(const Success &obj)
Copy assignment operator (object)
Success(const Success &obj)
Copy constructor.
bool isValid() const
Check raw enum value for validity.
bool operator!=(T e) const
Inequality operator.
@ FAILURE
Representing failure.
@ SUCCESS
Representing success.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
T t
For backwards compatibility.
I32 SerialType
The serial representation type.
Success()
Constructor (default value of FAILURE)
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.
Success(const T e)
Constructor (user-provided value)
SerializeStatus
forward declaration for string