Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indri::file::File Class Reference

#include <File.hpp>

List of all members.

Public Member Functions

 File ()
 ~File ()
bool create (const std::string &filename)
bool open (const std::string &filename)
bool openRead (const std::string &filename)
bool openTemporary (std::string &filename)
void close ()
size_t read (void *buffer, UINT64 position, size_t length)
size_t write (const void *buffer, UINT64 position, size_t length)
UINT64 size ()

Private Attributes

int _handle

Constructor & Destructor Documentation

indri::file::File::File  ) 

indri::file::File::~File  ) 

Member Function Documentation

void indri::file::File::close  ) 

bool indri::file::File::create const std::string &  filename  ) 

bool indri::file::File::open const std::string &  filename  ) 

bool indri::file::File::openRead const std::string &  filename  ) 

bool indri::file::File::openTemporary std::string &  filename  ) 

size_t indri::file::File::read void *  buffer,
UINT64  position,
size_t  length

UINT64 indri::file::File::size  ) 

size_t indri::file::File::write const void *  buffer,
UINT64  position,
size_t  length

Member Data Documentation

int indri::file::File::_handle [private]

The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:00 2010 for Lemur by doxygen 1.3.4