7 #ifndef Svc_Ccsds_Cfdp_KeepEnumAc_HPP 8 #define Svc_Ccsds_Cfdp_KeepEnumAc_HPP 87 this->m_serializeValueIsSet = obj.m_serializeValueIsSet;
88 this->m_serializeValue = obj.m_serializeValue;
109 operator enum T()
const 117 return this->
e == e1;
123 return !(*
this == e1);
129 friend std::ostream& operator<<(
157 #if FW_SERIALIZABLE_TO_STRING 169 void setSerializeValue(
208 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.
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.
The number of enumerated constants.
uint8_t U8
8-bit unsigned integer
bool operator!=(enum T e1) const
Inequality operator.
Keep(const enum T e1)
Constructor (user-provided value)
U8 SerialType
The serial representation type.
The size of the serial representation.
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.