Main Page   Class Hierarchy   Alphabetical List   Compound List   Examples  

MMFile Struct Reference

Memory mapped file. More...

#include <mmfile.h>

Inheritance diagram for MMFile:

FileOp List of all members.

Public Types

typedef char * iterator
typedef const char * const_iterator

Public Member Functions

 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

Protected Member Functions

bool map ()
bool open (int flags)
bool stat ()

Protected Attributes

std::string m_fqn
bool m_stated
stat m_st
int m_fd
char * m_beg
char * m_end

Detailed Description

Memory mapped file.


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