7 #ifndef Svc_CompressionAlgorithmEnumAc_HPP 8 #define Svc_CompressionAlgorithmEnumAc_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;
bool operator==(enum T e1) const
Equality operator.
enum T e
The raw enum value.
CompressionAlgorithm()
Constructor (default value of UNCOMPRESSED)
The size of the serial representation.
bool isValid() const
Check raw enum value for validity.
SerializeStatus
forward declaration for string
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialize raw enum value from SerialType.
CompressionAlgorithm(const enum T e1)
Constructor (user-provided value)
CompressionAlgorithm(const SerialType e1)
Constructor (serial representation 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.
CompressionAlgorithm & operator=(const CompressionAlgorithm &obj)
Copy assignment operator (object)
CompressionAlgorithm(const CompressionAlgorithm &obj)
Copy constructor.
The number of enumerated constants.
RateGroupDivider component implementation.
enum T t
For backwards compatibility.
bool operator!=(enum T e1) const
Inequality operator.
U8 SerialType
The serial representation type.
Big endian serialization.