mongo::File Class Reference

Inheritance diagram for mongo::File:

List of all members.

Public Member Functions

void open (const char *filename, bool readOnly=false, bool direct=false)
void write (fileofs o, const char *data, unsigned len)
void read (fileofs o, char *data, unsigned len)
bool bad ()
bool is_open ()
fileofs len ()
void fsync ()
void truncate (fileofs size)

Static Public Member Functions

static boost::intmax_t freeSpace (const string &path)

Public Attributes

int fd

Member Function Documentation

static boost::intmax_t mongo::File::freeSpace ( const string &  path  )  [inline, static]
-1 if error or unavailable

Reimplemented from mongo::FileInterface.

The documentation for this class was generated from the following file:
Generated on Wed Sep 14 01:46:41 2011 for MongoDB by  doxygen 1.6.3