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

CCITTFaxStream Class Reference

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

Inheritance diagram for CCITTFaxStream:

Inheritance graph
[legend]
Collaboration diagram for CCITTFaxStream:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CCITTFaxStream (Stream *strA, int encodingA, GBool endOfLineA, GBool byteAlignA, int columnsA, int rowsA, GBool endOfBlockA, GBool blackA)
virtual ~CCITTFaxStream ()
virtual StreamKind getKind ()
virtual void reset ()
virtual int getChar ()
virtual int lookChar ()
virtual GStringgetPSFilter (char *indent)
virtual GBool isBinary (GBool last=gTrue)

Private Member Functions

short getTwoDimCode ()
short getWhiteCode ()
short getBlackCode ()
short lookBits (int n)
void eatBits (int n)

Private Attributes

int encoding
GBool endOfLine
GBool byteAlign
int columns
int rows
GBool endOfBlock
GBool black
GBool eof
GBool nextLine2D
int row
int inputBuf
int inputBits
short * refLine
int b1
short * codingLine
int a0
int outputBits
int buf

Constructor & Destructor Documentation

CCITTFaxStream::CCITTFaxStream Stream strA,
int  encodingA,
GBool  endOfLineA,
GBool  byteAlignA,
int  columnsA,
int  rowsA,
GBool  endOfBlockA,
GBool  blackA
 

Definition at line 1336 of file Stream.cc.

References a0, black, buf, byteAlign, codingLine, columns, encoding, endOfBlock, endOfLine, eof, gFalse, gmalloc(), inputBits, nextLine2D, refLine, row, and rows.

CCITTFaxStream::~CCITTFaxStream  )  [virtual]
 

Definition at line 1361 of file Stream.cc.

References codingLine, gfree(), refLine, and FilterStream::str.


Member Function Documentation

void CCITTFaxStream::eatBits int  n  )  [inline, private]
 

Definition at line 510 of file Stream.h.

References inputBits.

Referenced by getBlackCode(), getTwoDimCode(), getWhiteCode(), lookChar(), and reset().

short CCITTFaxStream::getBlackCode  )  [private]
 

Definition at line 1759 of file Stream.cc.

References CCITTCode::bits, blackTab1, blackTab2, blackTab3, code, eatBits(), endOfBlock, error(), FilterStream::getPos(), lookBits(), CCITTCode::n, and p.

Referenced by lookChar().

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

Implements Stream.

Definition at line 479 of file Stream.h.

References buf, and lookChar().

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

Implements Stream.

Definition at line 477 of file Stream.h.

References strCCITTFax.

GString * CCITTFaxStream::getPSFilter char *  indent  )  [virtual]
 

Reimplemented from Stream.

Definition at line 1842 of file Stream.cc.

References GString::append(), black, byteAlign, columns, encoding, endOfBlock, endOfLine, Stream::getPSFilter(), NULL, rows, s, and FilterStream::str.

short CCITTFaxStream::getTwoDimCode  )  [private]
 

Definition at line 1681 of file Stream.cc.

References CCITTCode::bits, code, eatBits(), endOfBlock, error(), FilterStream::getPos(), lookBits(), CCITTCode::n, p, and twoDimTab1.

Referenced by lookChar().

short CCITTFaxStream::getWhiteCode  )  [private]
 

Definition at line 1711 of file Stream.cc.

References CCITTCode::bits, code, eatBits(), endOfBlock, error(), FilterStream::getPos(), lookBits(), CCITTCode::n, p, whiteTab1, and whiteTab2.

Referenced by lookChar().

GBool CCITTFaxStream::isBinary GBool  last = gTrue  )  [virtual]
 

Implements Stream.

Definition at line 1876 of file Stream.cc.

References gTrue, Stream::isBinary(), and FilterStream::str.

short CCITTFaxStream::lookBits int  n  )  [private]
 

Definition at line 1822 of file Stream.cc.

References Stream::getChar(), inputBits, inputBuf, and FilterStream::str.

Referenced by getBlackCode(), getTwoDimCode(), getWhiteCode(), lookChar(), and reset().

int CCITTFaxStream::lookChar  )  [virtual]
 

Implements Stream.

Definition at line 1397 of file Stream.cc.

References a0, b1, bits, black, buf, byteAlign, codingLine, columns, eatBits(), encoding, endOfBlock, eof, error(), getBlackCode(), FilterStream::getPos(), getTwoDimCode(), getWhiteCode(), gFalse, gTrue, i, inputBits, lookBits(), nextLine2D, outputBits, refLine, row, rows, twoDimHoriz, twoDimPass, twoDimVert0, twoDimVertL1, twoDimVertL2, twoDimVertL3, twoDimVertR1, twoDimVertR2, and twoDimVertR3.

Referenced by getChar().

void CCITTFaxStream::reset  )  [virtual]
 

Implements Stream.

Definition at line 1367 of file Stream.cc.

References a0, buf, codingLine, columns, eatBits(), encoding, endOfBlock, eof, gFalse, inputBits, lookBits(), nextLine2D, refLine, Stream::reset(), row, and FilterStream::str.


Member Data Documentation

int CCITTFaxStream::a0 [private]
 

Definition at line 502 of file Stream.h.

Referenced by CCITTFaxStream(), lookChar(), and reset().

int CCITTFaxStream::b1 [private]
 

Definition at line 500 of file Stream.h.

Referenced by lookChar().

GBool CCITTFaxStream::black [private]
 

Definition at line 493 of file Stream.h.

Referenced by CCITTFaxStream(), getPSFilter(), and lookChar().

int CCITTFaxStream::buf [private]
 

Definition at line 504 of file Stream.h.

Referenced by CCITTFaxStream(), getChar(), lookChar(), and reset().

GBool CCITTFaxStream::byteAlign [private]
 

Definition at line 489 of file Stream.h.

Referenced by CCITTFaxStream(), getPSFilter(), and lookChar().

short* CCITTFaxStream::codingLine [private]
 

Definition at line 501 of file Stream.h.

Referenced by CCITTFaxStream(), lookChar(), reset(), and ~CCITTFaxStream().

int CCITTFaxStream::columns [private]
 

Definition at line 490 of file Stream.h.

Referenced by CCITTFaxStream(), getPSFilter(), lookChar(), and reset().

int CCITTFaxStream::encoding [private]
 

Definition at line 487 of file Stream.h.

Referenced by CCITTFaxStream(), getPSFilter(), lookChar(), and reset().

GBool CCITTFaxStream::endOfBlock [private]
 

Definition at line 492 of file Stream.h.

Referenced by CCITTFaxStream(), getBlackCode(), getPSFilter(), getTwoDimCode(), getWhiteCode(), lookChar(), and reset().

GBool CCITTFaxStream::endOfLine [private]
 

Definition at line 488 of file Stream.h.

Referenced by CCITTFaxStream(), and getPSFilter().

GBool CCITTFaxStream::eof [private]
 

Definition at line 494 of file Stream.h.

Referenced by CCITTFaxStream(), lookChar(), and reset().

int CCITTFaxStream::inputBits [private]
 

Definition at line 498 of file Stream.h.

Referenced by CCITTFaxStream(), eatBits(), lookBits(), lookChar(), and reset().

int CCITTFaxStream::inputBuf [private]
 

Definition at line 497 of file Stream.h.

Referenced by lookBits().

GBool CCITTFaxStream::nextLine2D [private]
 

Definition at line 495 of file Stream.h.

Referenced by CCITTFaxStream(), lookChar(), and reset().

int CCITTFaxStream::outputBits [private]
 

Definition at line 503 of file Stream.h.

Referenced by lookChar().

short* CCITTFaxStream::refLine [private]
 

Definition at line 499 of file Stream.h.

Referenced by CCITTFaxStream(), lookChar(), reset(), and ~CCITTFaxStream().

int CCITTFaxStream::row [private]
 

Definition at line 496 of file Stream.h.

Referenced by CCITTFaxStream(), lookChar(), and reset().

int CCITTFaxStream::rows [private]
 

Definition at line 491 of file Stream.h.

Referenced by CCITTFaxStream(), getPSFilter(), and lookChar().


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