7 #ifndef Fw_ParamValidEnumAc_HPP 8 #define Fw_ParamValidEnumAc_HPP 83 this->m_serializeValueIsSet = obj.m_serializeValueIsSet;
84 this->m_serializeValue = obj.m_serializeValue;
105 operator enum T()
const 113 return this->
e == e1;
119 return !(*
this == e1);
125 friend std::ostream& operator<<(
153 #if FW_SERIALIZABLE_TO_STRING 165 void setSerializeValue(
204 bool m_serializeValueIsSet =
false;
U8 SerialType
The serial representation type.
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialize raw enum value from SerialType.
bool operator!=(enum T e1) const
Inequality operator.
bool isValid() const
Check raw enum value for validity.
The number of enumerated constants.
enum T t
For backwards compatibility.
SerializeStatus
forward declaration for string
ParamValid()
Constructor (default value of UNINIT)
ParamValid & operator=(const ParamValid &obj)
Copy assignment operator (object)
enum T e
The raw enum value.
uint8_t U8
8-bit unsigned integer
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialize raw enum value to SerialType.
The size of the serial representation.
bool operator==(enum T e1) const
Equality operator.
Enum representing parameter validity.
ParamValid(const enum T e1)
Constructor (user-provided value)
Implementation of malloc based allocator.
ParamValid(const ParamValid &obj)
Copy constructor.
Big endian serialization.