artefaktur
software engineer &        architecture

 
 
 
 

class CharArrayReader

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

acdk::io::CharArrayReader Class Reference

#include <CharArrayReader.h>

Inheritance diagram for acdk::io::CharArrayReader:

acdk::lang::Object acdk::io::CharReader acdk::lang::ObjectBase acdk::lang::dmi::StdDispatch List of all members.

Detailed Description

Reads from an uccharArray API: Java.

Author:
Roger Rene Kommer
Version:
Revision
1.13
Date:
Date
2005/04/09 19:26:44
See also:
InterfaceXXX
Bug:
Incomplete, Untested, etc.


Public Member Functions

 CharArrayReader (IN(RuccharArray) buf, int offset=0, int length=-1)
virtual acdk::locale::RDecoder getDecoder ()
virtual void setDecoder (IN(acdk::locale::RDecoder) decoder)
virtual int readChar ()
 read one char.

virtual RString readString ()
 read until EOF and return as string

virtual void close ()
 closes the reader


Public Attributes

acdk::locale::RDecoder _decoder
RuccharArray _buffer
int _pos
int _count
int _markedPos

Constructor & Destructor Documentation

acdk::io::CharArrayReader::CharArrayReader IN(RuccharArray buf,
int  offset = 0,
int  length = -1
[inline]
 


Member Function Documentation

virtual void acdk::io::CharArrayReader::close  )  [inline, virtual]
 

closes the reader

Implements acdk::io::CharReader.

virtual acdk::locale::RDecoder acdk::io::CharArrayReader::getDecoder  )  [inline, virtual]
 

virtual int acdk::io::CharArrayReader::readChar  )  [virtual]
 

read one char.

Returns:
-1 if end of file

Implements acdk::io::CharReader.

virtual RString acdk::io::CharArrayReader::readString  )  [virtual]
 

read until EOF and return as string

Implements acdk::io::CharReader.

virtual void acdk::io::CharArrayReader::setDecoder IN(acdk::locale::RDecoder decoder  )  [inline, virtual]
 


Member Data Documentation

RuccharArray acdk::io::CharArrayReader::_buffer
 

int acdk::io::CharArrayReader::_count
 

acdk::locale::RDecoder acdk::io::CharArrayReader::_decoder
 

int acdk::io::CharArrayReader::_markedPos
 

int acdk::io::CharArrayReader::_pos
 

 
Last modified 2005-05-08 18:32 by SYSTEM By Artefaktur, Ing. Bureau Kommer