![]() |
F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
|
FPP shadow-enum representing Os::FileSystem::Status. More...
#include <Os/Models/FileSystemStatusEnumAc.hpp>
Public Types | |
| enum | T { OP_OK = 0, ALREADY_EXISTS = 1, NO_SPACE = 2, NO_PERMISSION = 3, NOT_DIR = 4, IS_DIR = 5, NOT_EMPTY = 6, INVALID_PATH = 7, DOESNT_EXIST = 8, FILE_LIMIT = 9, BUSY = 10, NO_MORE_FILES = 11, BUFFER_TOO_SMALL = 12, EXDEV_ERROR = 13, OVERFLOW_ERROR = 14, NOT_SUPPORTED = 15, OTHER_ERROR = 16 } |
| The raw enum type. More... | |
| enum | { SERIALIZED_SIZE = sizeof(SerialType), NUM_CONSTANTS = 17 } |
| typedef I32 | SerialType |
| The serial representation type. More... | |
| typedef T | t |
| For backwards compatibility. More... | |
Public Types inherited from Fw::Serializable | |
| using | SizeType = NATIVE_UINT_TYPE |
Public Member Functions | |
| FileSystemStatus () | |
| Constructor (default value of OP_OK) More... | |
| FileSystemStatus (const T e1) | |
| Constructor (user-provided value) More... | |
| FileSystemStatus (const FileSystemStatus &obj) | |
| Copy constructor. More... | |
| FileSystemStatus & | operator= (const FileSystemStatus &obj) |
| Copy assignment operator (object) More... | |
| FileSystemStatus & | operator= (T e1) |
| Copy assignment operator (raw enum) More... | |
| operator T () const | |
| Conversion operator. More... | |
| bool | operator== (T e1) const |
| Equality operator. More... | |
| bool | operator!= (T e1) const |
| Inequality operator. More... | |
| bool | isValid () const |
| Check raw enum value for validity. More... | |
| Fw::SerializeStatus | serialize (Fw::SerializeBufferBase &buffer) const |
| Serialize raw enum value to SerialType. More... | |
| Fw::SerializeStatus | deserialize (Fw::SerializeBufferBase &buffer) |
| Deserialize raw enum value from SerialType. More... | |
Public Attributes | |
| T | e |
| The raw enum value. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::Serializable | |
| Serializable () | |
| Default constructor. More... | |
| virtual | ~Serializable () |
| destructor More... | |
FPP shadow-enum representing Os::FileSystem::Status.
Definition at line 17 of file FileSystemStatusEnumAc.hpp.
| typedef I32 Os::FileSystemStatus::SerialType |
The serial representation type.
Definition at line 28 of file FileSystemStatusEnumAc.hpp.
| typedef T Os::FileSystemStatus::t |
For backwards compatibility.
Definition at line 69 of file FileSystemStatusEnumAc.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| SERIALIZED_SIZE | The size of the serial representation. |
| NUM_CONSTANTS | The number of enumerated constants. |
Definition at line 77 of file FileSystemStatusEnumAc.hpp.
The raw enum type.
| Enumerator | |
|---|---|
| OP_OK | Operation was successful. |
| ALREADY_EXISTS | File already exists. |
| NO_SPACE | No space left. |
| NO_PERMISSION | No permission to write. |
| NOT_DIR | Path is not a directory. |
| IS_DIR | Path is a directory. |
| NOT_EMPTY | directory is not empty |
| INVALID_PATH | Path is too long, too many sym links, etc. |
| DOESNT_EXIST | Path doesn't exist. |
| FILE_LIMIT | Too many files or links. |
| BUSY | Operand is in use by the system or by a process. |
| NO_MORE_FILES | Directory stream has no more files. |
| BUFFER_TOO_SMALL | Buffer size is too small to hold full path (for getWorkingDirectory) |
| EXDEV_ERROR | Operation not supported across devices (e.g. rename) |
| OVERFLOW_ERROR | Operation failed due to overflow in calculation of the result. |
| NOT_SUPPORTED | Operation is not supported by the current implementation. |
| OTHER_ERROR | other OS-specific error |
Definition at line 31 of file FileSystemStatusEnumAc.hpp.
|
inline |
Constructor (default value of OP_OK)
Definition at line 91 of file FileSystemStatusEnumAc.hpp.
|
inline |
Constructor (user-provided value)
| e1 | The raw enum value |
Definition at line 97 of file FileSystemStatusEnumAc.hpp.
|
inline |
Copy constructor.
| obj | The source object |
Definition at line 105 of file FileSystemStatusEnumAc.hpp.
|
virtual |
Deserialize raw enum value from SerialType.
| buffer | The serial buffer |
Implements Fw::Serializable.
Definition at line 64 of file FileSystemStatusEnumAc.cpp.
| bool Os::FileSystemStatus::isValid | ( | ) | const |
Check raw enum value for validity.
Definition at line 49 of file FileSystemStatusEnumAc.cpp.
|
inline |
Conversion operator.
Definition at line 129 of file FileSystemStatusEnumAc.hpp.
|
inline |
Inequality operator.
Definition at line 141 of file FileSystemStatusEnumAc.hpp.
| FileSystemStatus & Os::FileSystemStatus::operator= | ( | const FileSystemStatus & | obj | ) |
Copy assignment operator (object)
| obj | The source object |
Definition at line 20 of file FileSystemStatusEnumAc.cpp.
| FileSystemStatus & Os::FileSystemStatus::operator= | ( | T | e1 | ) |
Copy assignment operator (raw enum)
| e1 | The enum value |
Definition at line 27 of file FileSystemStatusEnumAc.cpp.
|
inline |
Equality operator.
Definition at line 135 of file FileSystemStatusEnumAc.hpp.
|
virtual |
Serialize raw enum value to SerialType.
| buffer | The serial buffer |
Implements Fw::Serializable.
Definition at line 55 of file FileSystemStatusEnumAc.cpp.
| T Os::FileSystemStatus::e |
The raw enum value.
Definition at line 191 of file FileSystemStatusEnumAc.hpp.