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