Falcon::VFSProvider::VFSProvider::OParams Class Reference

Open Parameters. More...

#include <vfsprovider.h>

Inheritance diagram for Falcon::VFSProvider::VFSProvider::OParams:

Inheritance graph
[legend]

List of all members.

Public Member Functions

OParamsappend ()
 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 ()
OParamsrdOnly ()
OParamsrdwr ()
OParamsshNone ()
OParamsshNoRead ()
OParamsshNoWrite ()
OParamstruncate ()
 If the file exists, it is truncated.
OParamswrOnly ()

Friends

class VSFProvider


Detailed Description

Open Parameters.

Parameters for opening a stream on the provider. Subclasses may overload this class to provide VFS specific open-flags.


Constructor & Destructor Documentation

Falcon::VFSProvider::VFSProvider::OParams::OParams (  )  [inline]


Member Function Documentation

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]

bool Falcon::VFSProvider::VFSProvider::OParams::isRdOnly (  )  const [inline]

bool Falcon::VFSProvider::VFSProvider::OParams::isRdwr (  )  const [inline]

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]

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]


Friends And Related Function Documentation

friend class VSFProvider [friend]


The documentation for this class was generated from the following file:

Generated on Mon Oct 19 10:11:49 2009 for Falcon_Core by  doxygen 1.5.8