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

RunLengthEncoder Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/qpdf/xpdf/Stream.h>

Inheritance diagram for RunLengthEncoder:

Inheritance graph
[legend]
Collaboration diagram for RunLengthEncoder:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 RunLengthEncoder (Stream *strA)
virtual ~RunLengthEncoder ()
virtual StreamKind getKind ()
virtual void reset ()
virtual void close ()
virtual int getChar ()
virtual int lookChar ()
virtual GStringgetPSFilter (char *indent)
virtual GBool isBinary (GBool last=gTrue)
virtual GBool isEncoder ()

Private Member Functions

GBool fillBuf ()

Private Attributes

char buf [131]
char * bufPtr
char * bufEnd
char * nextEnd
GBool eof

Constructor & Destructor Documentation

RunLengthEncoder::RunLengthEncoder Stream strA  ) 
 

Definition at line 3524 of file Stream.cc.

References buf, bufEnd, bufPtr, eof, gFalse, and nextEnd.

RunLengthEncoder::~RunLengthEncoder  )  [virtual]
 

Definition at line 3530 of file Stream.cc.

References Stream::isEncoder(), and FilterStream::str.


Member Function Documentation

void RunLengthEncoder::close  )  [virtual]
 

Reimplemented from FilterStream.

Definition at line 3541 of file Stream.cc.

GBool RunLengthEncoder::fillBuf  )  [private]
 

Definition at line 3552 of file Stream.cc.

References buf, bufEnd, bufPtr, eof, getChar(), Stream::getChar(), gFalse, gTrue, nextEnd, and FilterStream::str.

Referenced by getChar(), and lookChar().

virtual int RunLengthEncoder::getChar  )  [inline, virtual]
 

Implements Stream.

Definition at line 781 of file Stream.h.

References bufEnd, bufPtr, and fillBuf().

Referenced by fillBuf().

virtual StreamKind RunLengthEncoder::getKind  )  [inline, virtual]
 

Implements Stream.

Definition at line 778 of file Stream.h.

References strWeird.

virtual GString* RunLengthEncoder::getPSFilter char *  indent  )  [inline, virtual]
 

Reimplemented from Stream.

Definition at line 785 of file Stream.h.

References NULL.

virtual GBool RunLengthEncoder::isBinary GBool  last = gTrue  )  [inline, virtual]
 

Implements Stream.

Definition at line 786 of file Stream.h.

References gFalse.

virtual GBool RunLengthEncoder::isEncoder  )  [inline, virtual]
 

Reimplemented from Stream.

Definition at line 787 of file Stream.h.

References gTrue.

virtual int RunLengthEncoder::lookChar  )  [inline, virtual]
 

Implements Stream.

Definition at line 783 of file Stream.h.

References bufEnd, bufPtr, and fillBuf().

void RunLengthEncoder::reset  )  [virtual]
 

Implements Stream.

Definition at line 3535 of file Stream.cc.

References buf, bufEnd, bufPtr, eof, gFalse, nextEnd, Stream::reset(), and FilterStream::str.


Member Data Documentation

char RunLengthEncoder::buf[131] [private]
 

Definition at line 791 of file Stream.h.

Referenced by fillBuf(), reset(), and RunLengthEncoder().

char* RunLengthEncoder::bufEnd [private]
 

Definition at line 793 of file Stream.h.

Referenced by fillBuf(), getChar(), lookChar(), reset(), and RunLengthEncoder().

char* RunLengthEncoder::bufPtr [private]
 

Definition at line 792 of file Stream.h.

Referenced by fillBuf(), getChar(), lookChar(), reset(), and RunLengthEncoder().

GBool RunLengthEncoder::eof [private]
 

Definition at line 795 of file Stream.h.

Referenced by fillBuf(), reset(), and RunLengthEncoder().

char* RunLengthEncoder::nextEnd [private]
 

Definition at line 794 of file Stream.h.

Referenced by fillBuf(), reset(), and RunLengthEncoder().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:51:05 2005 for OPIE by  doxygen 1.4.2