35 std::ostream& operator<<(std::ostream& os,
const DirectoryStatus& obj) {
69 this->
e =
static_cast<T>(es);
77 #if FW_SERIALIZABLE_TO_STRING
79 void DirectoryStatus ::
106 s =
"BAD_DESCRIPTOR";
109 s =
"ALREADY_EXISTS";
124 #elif FW_ENABLE_TEXT_LOGGING
126 void DirectoryStatus ::
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::Directory::Status.
bool isValid() const
Check raw enum value for validity.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
Fw::SerializeStatus deserialize(Fw::SerializeBufferBase &buffer)
Deserialize raw enum value from SerialType.
I32 SerialType
The serial representation type.
DirectoryStatus & operator=(const DirectoryStatus &obj)
Copy assignment operator (object)
@ DOESNT_EXIST
Directory doesn't exist.
@ NO_PERMISSION
No permission to read directory.
@ OP_OK
Operation was successful.
@ OTHER_ERROR
A catch-all for other errors. Have to look in implementation-specific code.
@ FILE_LIMIT
Directory has more files than can be read.
@ NOT_SUPPORTED
Operation is not supported by the current implementation.
@ NO_MORE_FILES
Directory stream has no more files.
@ ALREADY_EXISTS
Directory already exists.
@ NOT_DIR
Path is not a directory.
@ BAD_DESCRIPTOR
Directory stream descriptor is invalid.
@ NOT_OPENED
Directory hasn't been opened yet.
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.