carb::filesystem::FileStatus
Defined in carb/filesystem/IFileSystem.h
-
enum class carb::filesystem::FileStatus
defines the potential states that an open file stream can be in.
These states are only valid after an operation such as read, write, seek, etc complete. The current state of the file stream can be retrieved with getFileStatus(). Its return value will persist until another operation on the stream completes.
Values:
-
enumerator eOk
the stream is valid and ready to be operated on. No special state is set.
-
enumerator eEof
the stream has reached an end-of-file condition on the last operation.
-
enumerator eError
the stream has encountered an error on the last operation.
-
enumerator eOk