7 #ifndef Fw_ActiveEnumAc_HPP
8 #define Fw_ActiveEnumAc_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.
Active and inactive states.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
Active()
Constructor (default value of INACTIVE)
bool isValid() const
Check raw enum value for validity.
I32 SerialType
The serial representation type.
T t
For backwards compatibility.
Active & operator=(const Active &obj)
Copy assignment operator (object)
bool operator==(T e1) const
Equality operator.
@ INACTIVE
Inactive state.
@ NUM_CONSTANTS
The number of enumerated constants.
@ SERIALIZED_SIZE
The size of the serial representation.
Active(const T e1)
Constructor (user-provided value)
bool operator!=(T e1) const
Inequality operator.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
Active(const Active &obj)
Copy constructor.
SerializeStatus
forward declaration for string