23 this->m_serializeValueIsSet = obj.m_serializeValueIsSet;
24 this->m_serializeValue = obj.m_serializeValue;
33 this->
e =
static_cast<enum
T>(e1);
35 this->m_serializeValueIsSet =
false;
36 this->m_serializeValue = 0;
47 this->m_serializeValueIsSet =
false;
48 this->m_serializeValue = 0;
84 if (this->m_serializeValueIsSet) {
85 es = this->m_serializeValue;
104 this->
e =
static_cast<enum
T>(es);
109 #if FW_SERIALIZABLE_TO_STRING 111 void FileSystemStatus ::
120 s =
"ALREADY_EXISTS";
153 s =
"BUFFER_TOO_SMALL";
159 s =
"OVERFLOW_ERROR";
178 void FileSystemStatus ::
181 this->m_serializeValue = serializeValue;
182 this->m_serializeValueIsSet =
true;
Buffer size is too small to hold full path (for getWorkingDirectory)
Serialization/Deserialization operation was successful.
FileSystemStatus & operator=(const FileSystemStatus &obj)
Copy assignment operator (object)
Path is too long, too many sym links, etc.
FPP shadow-enum representing Os::FileSystem::Status.
Directory stream has no more files.
Operation was successful.
Deserialization data had incorrect values (unexpected data types)
virtual SerializeStatus serializeFrom(U8 val, Endianness mode=Endianness::BIG)=0
Serialize an 8-bit unsigned integer value.
Operation is not supported by the current implementation.
SerializeStatus
forward declaration for string
virtual SerializeStatus deserializeTo(U8 &val, Endianness mode=Endianness::BIG)=0
Deserialize an 8-bit unsigned integer value.
Operation failed due to overflow in calculation of the result.
enum T e
The raw enum value.
bool isValid() const
Check raw enum value for validity.
Operand is in use by the system or by a process.
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.
Fw::SerializeStatus serializeTo(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG) const
Serialize raw enum value to SerialType.
Operation not supported across devices (e.g. rename)
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialize raw enum value from SerialType.
ComCfg::Apid::SerialType SerialType