Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

File Class Reference

#include <File.hpp>

List of all members.

Public Types

typedef INT64 offset_type
typedef FILE_OFFSET library_offset_type

Public Methods

 File ()
 ~File ()
void open (const std::string &fileName, int mode)
void close ()
void read (void *buffer, offset_type count)
void write (const void *buffer, offset_type count)
void seekg (offset_type relativePosition, std::fstream::seekdir direction)
void seekp (offset_type relativePosition, std::fstream::seekdir direction)
offset_type tellg ()
offset_type tellp ()
offset_type gcount ()
int rdstate ()
offset_type size () const
void unlink ()

Static Public Methods

void unlink (const std::string &fileName)
void rename (const std::string &oldName, const std::string &newName)


Detailed Description

Provide single file interface file date stored in multiple segment files on disk. Keeps each segment size below 2GB for OSes without large file support.


Member Typedef Documentation

typedef FILE_OFFSET File::library_offset_type
 

typedef INT64 File::offset_type
 


Constructor & Destructor Documentation

File::File  
 

File::~File  
 


Member Function Documentation

void File::close  
 

File::offset_type File::gcount  
 

void File::open const std::string &    fileName,
int    mode
 

int File::rdstate  
 

void File::read void *    buffer,
offset_type    count
 

void File::rename const std::string &    oldName,
const std::string &    newName
[static]
 

void File::seekg offset_type    relativePosition,
std::fstream::seekdir    direction
 

void File::seekp offset_type    relativePosition,
std::fstream::seekdir    direction
 

File::offset_type File::size  
 

File::offset_type File::tellg  
 

File::offset_type File::tellp  
 

void File::unlink const std::string &    fileName [static]
 

void File::unlink  
 

void File::write const void *    buffer,
offset_type    count
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 3 12:59:32 2004 for Lemur Toolkit by doxygen1.2.18