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

WriteBuffer Class Reference

#include <WriteBuffer.hpp>

List of all members.

Public Methods

 WriteBuffer (File &file, int bufferSize)
 ~WriteBuffer ()
void write (const char *data, int length)
void flush ()
File::offset_type tellp () const


Detailed Description

Provide a write buffer for a File object, enabling explicit buffer management..


Constructor & Destructor Documentation

WriteBuffer::WriteBuffer File   file,
int    bufferSize
 

WriteBuffer::~WriteBuffer  
 


Member Function Documentation

void WriteBuffer::flush  
 

flushes the internal buffer out to the ofstream. does not explicitly flush the ofstream.

File::offset_type WriteBuffer::tellp  
 

returns the current write pointer position

void WriteBuffer::write const char *    data,
int    length
 

standard write semantics; will perform an unbuffered write if <length> is long enough to warrant it


The documentation for this class was generated from the following files:
Generated on Fri Jul 2 16:25:45 2004 for Lemur Toolkit by doxygen1.2.18