7 #ifndef Svc_Ccsds_Cfdp_KeepEnumAc_HPP 8 #define Svc_Ccsds_Cfdp_KeepEnumAc_HPP 86 this->
e =
static_cast<enum
T>(e1);
96 this->m_serializeValueIsSet = obj.m_serializeValueIsSet;
97 this->m_serializeValue = obj.m_serializeValue;
123 operator enum T()
const 131 return this->
e == e1;
137 return !(*
this == e1);
143 friend std::ostream& operator<<(
171 #if FW_SERIALIZABLE_TO_STRING 183 void setSerializeValue(
222 bool m_serializeValueIsSet =
false;
Enum used to determine if a file should be kept or deleted after a CFDP transaction.
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialize raw enum value from SerialType.
Keep & operator=(const Keep &obj)
Copy assignment operator (object)
enum T e
The raw enum value.
The size of the serial representation.
bool operator==(enum T e1) const
Equality operator.
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialize raw enum value to SerialType.
File will be deleted after the CFDP transaction.
Keep()
Constructor (default value of DELETE)
SerializeStatus
forward declaration for string
File will be kept after the CFDP transaction.
uint8_t U8
8-bit unsigned integer
bool operator!=(enum T e1) const
Inequality operator.
Keep(const enum T e1)
Constructor (user-provided value)
Keep(const SerialType e1)
Constructor (serial representation value)
U8 SerialType
The serial representation type.
The number of enumerated constants.
RateGroupDivider component implementation.
Keep(const Keep &obj)
Copy constructor.
bool isValid() const
Check raw enum value for validity.
Big endian serialization.
enum T t
For backwards compatibility.