#include <vfsprovider.h>
Public Member Functions | |
OParams & | append () |
Open the file for append. | |
bool | isAppend () const |
bool | isRdOnly () const |
bool | isRdwr () const |
bool | isShNone () const |
bool | isShNoRead () const |
bool | isShNoWrite () const |
bool | isTruncate () const |
bool | isWrOnly () const |
OParams () | |
OParams & | rdOnly () |
OParams & | rdwr () |
OParams & | shNone () |
OParams & | shNoRead () |
OParams & | shNoWrite () |
OParams & | truncate () |
If the file exists, it is truncated. | |
OParams & | wrOnly () |
Friends | |
class | VSFProvider |
Parameters for opening a stream on the provider. Subclasses may overload this class to provide VFS specific open-flags.
Falcon::VFSProvider::VFSProvider::OParams::OParams | ( | ) | [inline] |
OParams& Falcon::VFSProvider::VFSProvider::OParams::append | ( | ) | [inline] |
Open the file for append.
File pointer is moved to the end of file at open. (Some FS guarantee also moving the file pointer at end of file after each write).
bool Falcon::VFSProvider::VFSProvider::OParams::isAppend | ( | ) | const [inline] |
Referenced by Falcon::VFSFile::paramsToMode().
bool Falcon::VFSProvider::VFSProvider::OParams::isRdOnly | ( | ) | const [inline] |
Referenced by Falcon::VFSFile::paramsToMode().
bool Falcon::VFSProvider::VFSProvider::OParams::isRdwr | ( | ) | const [inline] |
Referenced by Falcon::VFSFile::paramsToMode().
bool Falcon::VFSProvider::VFSProvider::OParams::isShNone | ( | ) | const [inline] |
bool Falcon::VFSProvider::VFSProvider::OParams::isShNoRead | ( | ) | const [inline] |
bool Falcon::VFSProvider::VFSProvider::OParams::isShNoWrite | ( | ) | const [inline] |
bool Falcon::VFSProvider::VFSProvider::OParams::isTruncate | ( | ) | const [inline] |
Referenced by Falcon::VFSFile::paramsToMode().
bool Falcon::VFSProvider::VFSProvider::OParams::isWrOnly | ( | ) | const [inline] |
OParams& Falcon::VFSProvider::VFSProvider::OParams::rdOnly | ( | ) | [inline] |
OParams& Falcon::VFSProvider::VFSProvider::OParams::rdwr | ( | ) | [inline] |
OParams& Falcon::VFSProvider::VFSProvider::OParams::shNone | ( | ) | [inline] |
OParams& Falcon::VFSProvider::VFSProvider::OParams::shNoRead | ( | ) | [inline] |
OParams& Falcon::VFSProvider::VFSProvider::OParams::shNoWrite | ( | ) | [inline] |
OParams& Falcon::VFSProvider::VFSProvider::OParams::truncate | ( | ) | [inline] |
If the file exists, it is truncated.
Can be specified also when creating a file. In that case, truncating a file causes it's modification time to be changed, but all its other stats (as owner, security access, creation date, etc.) are left untouched.
OParams& Falcon::VFSProvider::VFSProvider::OParams::wrOnly | ( | ) | [inline] |
friend class VSFProvider [friend] |