Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

clip::apt1_0::cfileio Class Reference

#include <picture.h>

List of all members.

Public Member Functions

 cfileio (FILE *file)
void putbit (int val)
void putbits (int val, int numbits)
void putbyte (unsigned char val)
void flush ()
int getbit ()
int getbits (int numbits)
int rewind ()
 ~cfileio ()

Private Member Functions

int fillbuf ()
void loadforlook ()
int lookbits (const int &bits, const int &mask)
void skipbits (const int bits)
int get (unsigned char *declength, unsigned char *decode, register int bits, const int mask)

Private Attributes

FILE * cfp
int outbyte
int outbits
int charsleft
unsigned long bitbuf
int valid
unsigned char * pbuf
unsigned char buf [2048]


Constructor & Destructor Documentation

clip::apt1_0::cfileio::cfileio FILE *  file  )  [inline]
 

clip::apt1_0::cfileio::~cfileio  )  [inline]
 


Member Function Documentation

int clip::apt1_0::cfileio::fillbuf  )  [inline, private]
 

void clip::apt1_0::cfileio::flush  )  [inline]
 

int clip::apt1_0::cfileio::get unsigned char *  declength,
unsigned char *  decode,
register int  bits,
const int  mask
[inline, private]
 

int clip::apt1_0::cfileio::getbit  )  [inline]
 

int clip::apt1_0::cfileio::getbits int  numbits  )  [inline]
 

void clip::apt1_0::cfileio::loadforlook  )  [inline, private]
 

int clip::apt1_0::cfileio::lookbits const int &  bits,
const int &  mask
[inline, private]
 

void clip::apt1_0::cfileio::putbit int  val  )  [inline]
 

void clip::apt1_0::cfileio::putbits int  val,
int  numbits
[inline]
 

void clip::apt1_0::cfileio::putbyte unsigned char  val  )  [inline]
 

int clip::apt1_0::cfileio::rewind  )  [inline]
 

void clip::apt1_0::cfileio::skipbits const int  bits  )  [inline, private]
 


Member Data Documentation

unsigned long clip::apt1_0::cfileio::bitbuf [private]
 

unsigned char clip::apt1_0::cfileio::buf[2048] [private]
 

FILE* clip::apt1_0::cfileio::cfp [private]
 

int clip::apt1_0::cfileio::charsleft [private]
 

int clip::apt1_0::cfileio::outbits [private]
 

int clip::apt1_0::cfileio::outbyte [private]
 

unsigned char* clip::apt1_0::cfileio::pbuf [private]
 

int clip::apt1_0::cfileio::valid [private]
 


The documentation for this class was generated from the following file:
Generated on Sat Mar 5 17:34:35 2005 for clip by doxygen 1.3.8