|
roo_io
API Documentation for roo_io
|
#include <mount.h>
Public Member Functions | |
| Mount () | |
| Mount (const Mount &other)=delete | |
| Mount & | operator= (const Mount &other)=delete |
| Mount (Mount &&other) | |
| Mount & | operator= (Mount &&other) |
| Status | status () const |
| bool | ok () const |
| bool | exists (const char *path) const |
| Stat | stat (const char *path) const |
| Status | remove (const char *path) |
| Status | rename (const char *pathFrom, const char *pathTo) |
| Status | mkdir (const char *path) |
| Status | rmdir (const char *path) |
| Directory | opendir (const char *path) |
| std::unique_ptr< MultipassInputStream > | fopen (const char *path) |
| std::unique_ptr< OutputStream > | fopenForWrite (const char *path, FileUpdatePolicy update_policy) |
| bool | isReadOnly () const |
| void | close () |
Friends | |
| class | Filesystem |
|
inline |
Definition at line 250 of file mount.h.
References roo_io::kNotMounted, and roo_io::kOk.
Definition at line 57 of file mount.h.
References roo_io::Stat::exists(), and stat().
|
inline |
Definition at line 212 of file mount.h.
References roo_io::InputError(), and roo_io::kOk.
Referenced by roo_io::FileResource::open().
|
inline |
Definition at line 236 of file mount.h.
References roo_io::kOk, roo_io::kReadOnlyFilesystem, and roo_io::OutputError().
Definition at line 146 of file mount.h.
References roo_io::kOk, and roo_io::kReadOnlyFilesystem.
|
inline |
Definition at line 53 of file mount.h.
References roo_io::kOk, and status().
Definition at line 191 of file mount.h.
References roo_io::kOk.
Definition at line 96 of file mount.h.
References roo_io::kOk, and roo_io::kReadOnlyFilesystem.
Definition at line 122 of file mount.h.
References roo_io::kOk, and roo_io::kReadOnlyFilesystem.
Definition at line 169 of file mount.h.
References roo_io::kOk, and roo_io::kReadOnlyFilesystem.
|
inline |
Definition at line 46 of file mount.h.
References roo_io::kNotMounted, and roo_io::kOk.
Referenced by ok().
|
friend |