Memory mapped file.
More...
#include <mmfile.h>
|
typedef char * | iterator |
|
typedef const char * | const_iterator |
|
typedef unsigned int | uint |
|
|
| MMFile (const std::string &, int mode=O_RDONLY) |
|
| operator bool () const |
|
bool | open (const std::string &, int mode=O_RDONLY) |
|
void | close () |
|
uint | read (char *, int) |
|
iterator | begin () |
|
const_iterator | begin () const |
|
iterator | end () |
|
const_iterator | end () const |
|
|
bool | map () |
|
bool | open (int flags) |
|
bool | stat () |
|
|
std::string | m_fqn |
|
bool | m_stated |
|
struct stat | m_st |
|
int | m_fd |
|
char * | m_beg |
|
char * | m_end |
|
|
static bool | remove (const std::string &) |
|
static bool | move (const std::string &, const std::string &) |
|
static bool | exists (const std::string &) |
|
static uint | size (const std::string &) |
|
static uint | ctime (const std::string &) |
|
static uint | atime (const std::string &) |
|
static uint | mtime (const std::string &) |
|
The documentation for this struct was generated from the following file: