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

GList Class Reference

#include </home/clem/local/src/opie/noncore/unsupported/qpdf/goo/GList.h>

List of all members.

Public Member Functions

 GList ()
 GList (int sizeA)
 ~GList ()
int getLength ()
void * get (int i)
void append (void *p)
void append (GList *list)
void insert (int i, void *p)
void * del (int i)
void setAllocIncr (int incA)

Private Member Functions

void expand ()
void shrink ()

Private Attributes

void ** data
int size
int length
int inc


Constructor & Destructor Documentation

GList::GList  ) 
 

Definition at line 22 of file GList.cc.

References data, gmalloc(), inc, length, and size.

GList::GList int  sizeA  ) 
 

Definition at line 29 of file GList.cc.

References data, gmalloc(), inc, length, and size.

GList::~GList  ) 
 

Definition at line 36 of file GList.cc.

References data, and gfree().


Member Function Documentation

void GList::append GList list  ) 
 

Definition at line 47 of file GList.cc.

References data, expand(), i, length, and size.

void GList::append void *  p  ) 
 

Definition at line 40 of file GList.cc.

References data, expand(), length, and size.

Referenced by GlobalParams::parseCMapDir(), GlobalParams::parseFile(), GlobalParams::parseFontDir(), GlobalParams::parsePSFont16(), and GlobalParams::parseToUnicodeDir().

void * GList::del int  i  ) 
 

Definition at line 69 of file GList.cc.

References data, inc, length, p, shrink(), and size.

void GList::expand  )  [private]
 

Definition at line 83 of file GList.cc.

References data, grealloc(), inc, and size.

Referenced by append(), and insert().

void* GList::get int  i  )  [inline]
 

Definition at line 43 of file GList.h.

References data.

Referenced by GlobalParams::findCMapFile(), GlobalParams::findFontFile(), GlobalParams::findToUnicodeFile(), GlobalParams::getPSFont16(), GlobalParams::parseCIDToUnicode(), GlobalParams::parseFile(), GlobalParams::parseFontDir(), GlobalParams::parseFontRastControl(), GlobalParams::parseNameToUnicode(), GlobalParams::parsePSFile(), GlobalParams::parsePSFont16(), GlobalParams::parsePSLevel(), GlobalParams::parsePSPaperSize(), GlobalParams::parseTextEOL(), GlobalParams::parseToUnicodeDir(), GlobalParams::parseURLCommand(), and GlobalParams::parseYesNo().

int GList::getLength  )  [inline]
 

Definition at line 37 of file GList.h.

References length.

Referenced by GlobalParams::parseCIDToUnicode(), GlobalParams::parseFile(), GlobalParams::parseFontDir(), GlobalParams::parseFontRastControl(), GlobalParams::parseNameToUnicode(), GlobalParams::parsePSFile(), GlobalParams::parsePSFont16(), GlobalParams::parsePSLevel(), GlobalParams::parsePSPaperSize(), GlobalParams::parseTextEOL(), GlobalParams::parseToUnicodeDir(), GlobalParams::parseURLCommand(), and GlobalParams::parseYesNo().

void GList::insert int  i,
void *  p
 

Definition at line 58 of file GList.cc.

References data, expand(), length, and size.

void GList::setAllocIncr int  incA  )  [inline]
 

Definition at line 64 of file GList.h.

References inc.

void GList::shrink  )  [private]
 

Definition at line 88 of file GList.cc.

References data, grealloc(), inc, and size.

Referenced by del().


Member Data Documentation

void** GList::data [private]
 

Definition at line 71 of file GList.h.

Referenced by append(), del(), expand(), get(), GList(), insert(), shrink(), and ~GList().

int GList::inc [private]
 

Definition at line 74 of file GList.h.

Referenced by del(), expand(), GList(), setAllocIncr(), and shrink().

int GList::length [private]
 

Definition at line 73 of file GList.h.

Referenced by append(), del(), getLength(), GList(), and insert().

int GList::size [private]
 

Definition at line 72 of file GList.h.

Referenced by append(), del(), expand(), GList(), insert(), and shrink().


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