MongoDB  2.7.0
Public Member Functions | Static Public Member Functions | List of all members
mongo::File Class Reference

Public Member Functions

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

Static Public Member Functions

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

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