7 #ifndef Os_FileSystemStatusEnumAc_HPP
8 #define Os_FileSystemStatusEnumAc_HPP
137 return this->
e == e1;
143 return !(*
this == e1);
149 friend std::ostream& operator<<(
175 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
FPP shadow-enum representing Os::FileSystem::Status.
FileSystemStatus()
Constructor (default value of OP_OK)
I32 SerialType
The serial representation type.
Fw::SerializeStatus serialize(Fw::SerializeBufferBase &buffer) const
Serialize raw enum value to SerialType.
bool operator!=(T e1) const
Inequality operator.
bool isValid() const
Check raw enum value for validity.
T t
For backwards compatibility.
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.
bool operator==(T e1) const
Equality operator.
@ NUM_CONSTANTS
The number of enumerated constants.
@ SERIALIZED_SIZE
The size of the serial representation.
FileSystemStatus(const FileSystemStatus &obj)
Copy constructor.
FileSystemStatus(const T e1)
Constructor (user-provided value)
FileSystemStatus & operator=(const FileSystemStatus &obj)
Copy assignment operator (object)
SerializeStatus
forward declaration for string