7 #ifndef Os_DirectoryStatusEnumAc_HPP
8 #define Os_DirectoryStatusEnumAc_HPP
125 return this->
e == e1;
131 return !(*
this == e1);
137 friend std::ostream& operator<<(
163 #if FW_SERIALIZABLE_TO_STRING
C++-compatible configuration header for fprime configuration.
FPP shadow-enum representing Os::Directory::Status.
T t
For backwards compatibility.
bool isValid() const
Check raw enum value for validity.
bool operator==(T e1) const
Equality operator.
DirectoryStatus(const DirectoryStatus &obj)
Copy constructor.
DirectoryStatus()
Constructor (default value of OP_OK)
bool operator!=(T e1) const
Inequality operator.
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)
DirectoryStatus(const T e1)
Constructor (user-provided value)
@ NUM_CONSTANTS
The number of enumerated constants.
@ SERIALIZED_SIZE
The size of the serial representation.
@ 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