mongo::File Class Reference
#include <file.h>
List of all members.
Public Member Functions |
| bool | bad () |
| | File () |
| void | fsync () |
| bool | is_open () |
| fileofs | len () |
| void | open (const char *filename, bool readOnly=false) |
| void | read (fileofs o, char *data, unsigned len) |
| void | write (fileofs o, const char *data, unsigned len) |
| | ~File () |
Public Attributes |
| int | fd |
Private Member Functions |
| void | err (bool ok) |
Private Attributes |
| bool | _bad |
Detailed Description
Definition at line 117 of file file.h.
Constructor & Destructor Documentation
| mongo::File::File |
( |
|
) |
[inline] |
| mongo::File::~File |
( |
|
) |
[inline] |
Member Function Documentation
| bool mongo::File::bad |
( |
|
) |
[inline] |
| void mongo::File::err |
( |
bool |
ok |
) |
[inline, private] |
| void mongo::File::fsync |
( |
|
) |
[inline] |
| bool mongo::File::is_open |
( |
|
) |
[inline] |
| fileofs mongo::File::len |
( |
|
) |
[inline] |
| void mongo::File::open |
( |
const char * |
filename, |
|
|
bool |
readOnly = false | |
|
) |
| | [inline] |
| void mongo::File::read |
( |
fileofs |
o, |
|
|
char * |
data, |
|
|
unsigned |
len | |
|
) |
| | [inline] |
| void mongo::File::write |
( |
fileofs |
o, |
|
|
const char * |
data, |
|
|
unsigned |
len | |
|
) |
| | [inline] |
Member Data Documentation
The documentation for this class was generated from the following file: