MongoDB  2.1.1-pre-
Public Member Functions | Static Public Member Functions
mongo::FileInterface Class Reference
Inheritance diagram for mongo::FileInterface:
mongo::File

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]
Returns:
-1 if error or unavailable

Reimplemented in mongo::File.


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