|
Public Types |
| enum | flags { DELETE_IF_EMPTY = 1
} |
Public Member Functions |
| | BVFSFile (const SUrl &url, int flags, int mode=0, status_t *outResult=0) |
| | BVFSFile (const char *path, int flags, int mode=0, status_t *outResult=0) |
| | BVFSFile () |
| status_t | Delete () |
| status_t | InitCheck () const |
| bool | IsReadable () const |
| bool | IsWritable () const |
| virtual ssize_t | ReadAtV (off_t position, const struct iovec *vector, ssize_t count) |
| | Read the bytes described by iovec from location position in the storage.
|
| virtual status_t | SetSize (off_t size) |
| | Set the total number of bytes in the store.
|
| status_t | SetTo (const SUrl &url, int flags, int mode=0) |
| status_t | SetTo (const char *path, int flags, int mode=0) |
| virtual off_t | Size () const |
| | Return the total number of bytes in the store.
|
| virtual status_t | Sync () |
| | Make sure all data in the storage is written to its physical device.
|
| uint16_t | VolRefNum () const |
| virtual ssize_t | WriteAtV (off_t position, const struct iovec *vector, ssize_t count) |
| | Write the bytes described by iovec at location position in the storage.
|
Protected Member Functions |
| virtual | ~BVFSFile () |