Logo Search packages:      
Sourcecode: zinnia version File versions  Download package

Public Member Functions | Private Attributes

zinnia::Mmap< T > Class Template Reference

Inheritance diagram for zinnia::Mmap< T >:
Inheritance graph
Collaboration diagram for zinnia::Mmap< T >:
Collaboration graph

List of all members.

Public Member Functions

T * begin ()
const T * begin () const
void close ()
bool empty ()
T * end ()
const T * end () const
const char * file_name ()
size_t file_size ()
bool open (const char *filename, const char *mode="r")
const T & operator[] (size_t n) const
T & operator[] (size_t n)
size_t size ()
const char * what ()

Private Attributes

int fd
std::string fileName
int flag
size_t length
T * text
whatlog what_

Detailed Description

template<class T>
class zinnia::Mmap< T >

Definition at line 67 of file mmap.h.

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

Generated by  Doxygen 1.6.0   Back to index