61 static_cast<SerialType>(this->
e),
76 this->
e =
static_cast<enum
T>(es);
84 #if FW_SERIALIZABLE_TO_STRING 86 void FileSystemStatus ::
128 s =
"BUFFER_TOO_SMALL";
134 s =
"OVERFLOW_ERROR";
149 #elif FW_ENABLE_TEXT_LOGGING 151 void FileSystemStatus ::
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.
const char * toChar() const
Convert to a C-style char*.
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.
FormatStatus format(const CHAR *formatString,...)
write formatted string to buffer
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)
U8 SerialType
The serial representation type.
Fw::SerializeStatus deserializeFrom(Fw::SerialBufferBase &buffer, Fw::Endianness mode=Fw::Endianness::BIG)
Deserialize raw enum value from SerialType.