2005/5/9

     
 

class FileWriter

artefaktur
Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   Namespace Members   Compound Members   Related Pages  

acdk::io::FileWriter Class Reference

#include <FileWriter.h>

Inheritance diagram for acdk::io::FileWriter:

acdk::io::AbstractStorageWriter acdk::io::AbstractWriter acdk::io::Storage acdk::lang::Object acdk::io::Writer acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

byte Writer into a file API: ACDK

Author:
Roger Rene Kommer (mailto:kommer@artefaktur.com)
Version:
Revision
1.11
Date:
Date
2005/04/09 19:26:45


Public Member Functions

 FileWriter (IN(RFile) file, bool append=false, bool binary=true)
 FileWriter (IN(RFileDescriptor) fd, bool dupl=false)
 FileWriter (IN(RString) fileName, bool append=false, bool binary=true)
virtual ~FileWriter ()
virtual void write (byte c)
 implements form Writer

virtual void write (const byte *cstr, int offset, int len)
 implements form Writer

virtual void write (IN(RbyteArray) ch, int offset=0, int len=-1)
 implements form Writer

virtual void flush ()
 implements form Writer

virtual void close ()
 implements form Writer

virtual RString getDeviceName ()
 implements form Storage

virtual bool isWriteable ()
 implements form Storage

virtual bool isReadable ()
 implements form Storage

jlong tell ()

Private Attributes

RString _fname
FileReaderWriterImpl _fileImpl


Constructor & Destructor Documentation

acdk::io::FileWriter::FileWriter IN(RFile file,
bool  append = false,
bool  binary = true
 

acdk::io::FileWriter::FileWriter IN(RFileDescriptor fd,
bool  dupl = false
 

acdk::io::FileWriter::FileWriter IN(RString fileName,
bool  append = false,
bool  binary = true
 

virtual acdk::io::FileWriter::~FileWriter  )  [virtual]
 


Member Function Documentation

virtual void acdk::io::FileWriter::close  )  [virtual]
 

implements form Writer

Implements acdk::io::AbstractWriter.

virtual void acdk::io::FileWriter::flush  )  [virtual]
 

implements form Writer

Implements acdk::io::AbstractWriter.

virtual RString acdk::io::FileWriter::getDeviceName  )  [virtual]
 

implements form Storage

Implements acdk::io::AbstractStorageWriter.

virtual bool acdk::io::FileWriter::isReadable  )  [virtual]
 

implements form Storage

Implements acdk::io::AbstractStorageWriter.

virtual bool acdk::io::FileWriter::isWriteable  )  [virtual]
 

implements form Storage

Implements acdk::io::AbstractStorageWriter.

jlong acdk::io::FileWriter::tell  ) 
 

virtual void acdk::io::FileWriter::write IN(RbyteArray ch,
int  offset = 0,
int  len = -1
[inline, virtual]
 

implements form Writer

Reimplemented from acdk::io::AbstractWriter.

virtual void acdk::io::FileWriter::write const byte cstr,
int  offset,
int  len
[virtual]
 

implements form Writer

Reimplemented from acdk::io::AbstractWriter.

virtual void acdk::io::FileWriter::write byte  c  )  [virtual]
 

implements form Writer

Implements acdk::io::AbstractWriter.


Member Data Documentation

FileReaderWriterImpl acdk::io::FileWriter::_fileImpl [private]
 

RString acdk::io::FileWriter::_fname [private]