69 this->
e =
static_cast<T>(es);
77 #if FW_SERIALIZABLE_TO_STRING
79 void FileSystemStatus ::
121 s =
"BUFFER_TOO_SMALL";
127 s =
"OVERFLOW_ERROR";
142 #elif FW_ENABLE_TEXT_LOGGING
144 void FileSystemStatus ::
SerializeStatus deserialize(U8 &val)
deserialize 8-bit unsigned int
SerializeStatus serialize(U8 val)
serialize 8-bit unsigned int
void format(const CHAR *formatString,...)
write formatted string to buffer
const char * toChar() const
FPP shadow-enum representing Os::FileSystem::Status.
I32 SerialType
The serial representation type.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
bool isValid() const
Check raw enum value for validity.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
@ IS_DIR
Path is a directory.
@ INVALID_PATH
Path is too long, too many sym links, etc.
@ BUFFER_TOO_SMALL
Buffer size is too small to hold full path (for getWorkingDirectory)
@ NOT_SUPPORTED
Operation is not supported by the current implementation.
@ NOT_DIR
Path is not a directory.
@ BUSY
Operand is in use by the system or by a process.
@ ALREADY_EXISTS
File already exists.
@ OTHER_ERROR
other OS-specific error
@ NO_MORE_FILES
Directory stream has no more files.
@ DOESNT_EXIST
Path doesn't exist.
@ OVERFLOW_ERROR
Operation failed due to overflow in calculation of the result.
@ EXDEV_ERROR
Operation not supported across devices (e.g. rename)
@ NOT_EMPTY
directory is not empty
@ OP_OK
Operation was successful.
@ NO_PERMISSION
No permission to write.
@ FILE_LIMIT
Too many files or links.
FileSystemStatus & operator=(const FileSystemStatus &obj)
Copy assignment operator (object)
SerializeStatus
forward declaration for string
@ FW_DESERIALIZE_FORMAT_ERROR
Deserialization data had incorrect values (unexpected data types)
@ FW_SERIALIZE_OK
Serialization/Deserialization operation was successful.