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