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