27 this->m_serializeValueIsSet = obj.m_serializeValueIsSet;
28 this->m_serializeValue = obj.m_serializeValue;
37 this->
e =
static_cast<enum
T>(e1);
39 this->m_serializeValueIsSet =
false;
40 this->m_serializeValue = 0;
51 this->m_serializeValueIsSet =
false;
52 this->m_serializeValue = 0;
59 std::ostream& operator<<(std::ostream& os,
const Keep& obj) {
88 if (this->m_serializeValueIsSet) {
89 es = this->m_serializeValue;
108 this->
e =
static_cast<enum
T>(es);
113 #if FW_SERIALIZABLE_TO_STRING 140 this->m_serializeValue = serializeValue;
141 this->m_serializeValueIsSet =
true;
153 return (serialTypeValue <=
KEEP);
Serialization/Deserialization operation was successful.
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.
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialize raw enum value to SerialType.
Deserialization data had incorrect values (unexpected data types)
File will be deleted after the CFDP transaction.
virtual SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG)=0
Serialize an 8-bit unsigned integer value.
SerializeStatus
forward declaration for string
virtual SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)=0
Deserialize an 8-bit unsigned integer value.
File will be kept after the CFDP transaction.
const char * toChar() const
Convert to a C-style char*.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
U8 SerialType
The serial representation type.
RateGroupDivider component implementation.
bool isValid() const
Check raw enum value for validity.
ComCfg::Apid::SerialType SerialType