mongo::FileInterface Class Reference

Inheritance diagram for mongo::FileInterface:

List of all members.

Public Member Functions

void open (const char *fn)
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)

Member Function Documentation

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

Reimplemented in mongo::File.

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