7 #ifndef Fw_OnEnumAc_HPP 8 #define Fw_OnEnumAc_HPP 107 return this->
e == e1;
113 return !(*
this == e1);
119 friend std::ostream& operator<<(
147 #if FW_SERIALIZABLE_TO_STRING The number of enumerated constants.
Fw::SerializeStatus deserializeFrom(Fw::SerializeBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialize raw enum value from SerialType.
bool isValid() const
Check raw enum value for validity.
Fw::SerializeStatus serializeTo(Fw::SerializeBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialize raw enum value to SerialType.
On & operator=(const On &obj)
Copy assignment operator (object)
SerializeStatus
forward declaration for string
bool operator!=(T e1) const
Inequality operator.
U8 SerialType
The serial representation type.
uint8_t U8
8-bit unsigned integer
On(const T e1)
Constructor (user-provided value)
The size of the serial representation.
On()
Constructor (default value of OFF)
On(const On &obj)
Copy constructor.
T t
For backwards compatibility.
Implementation of malloc based allocator.
Big endian serialization.
bool operator==(T e1) const
Equality operator.