7 #ifndef Svc_SystemResourceEnabledEnumAc_HPP 8 #define Svc_SystemResourceEnabledEnumAc_HPP 79 this->
e =
static_cast<enum
T>(e1);
89 this->m_serializeValueIsSet = obj.m_serializeValueIsSet;
90 this->m_serializeValue = obj.m_serializeValue;
116 operator enum T()
const 124 return this->
e == e1;
130 return !(*
this == e1);
136 friend std::ostream& operator<<(
164 #if FW_SERIALIZABLE_TO_STRING 176 void setSerializeValue(
215 bool m_serializeValueIsSet =
false;
SystemResourceEnabled(const SystemResourceEnabled &obj)
Copy constructor.
bool operator==(enum T e1) const
Equality operator.
bool isValid() const
Check raw enum value for validity.
bool operator!=(enum T e1) const
Inequality operator.
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialize raw enum value to SerialType.
SerializeStatus
forward declaration for string
SystemResourceEnabled(const enum T e1)
Constructor (user-provided value)
enum T t
For backwards compatibility.
SystemResourceEnabled(const SerialType e1)
Constructor (serial representation value)
The size of the serial representation.
uint8_t U8
8-bit unsigned integer
SystemResourceEnabled & operator=(const SystemResourceEnabled &obj)
Copy assignment operator (object)
RateGroupDivider component implementation.
U8 SerialType
The serial representation type.
The number of enumerated constants.
enum T e
The raw enum value.
SystemResourceEnabled()
Constructor (default value of DISABLED)
Big endian serialization.
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialize raw enum value from SerialType.