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

CMap Class Reference

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

Collaboration diagram for CMap:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ~CMap ()
void incRefCnt ()
void decRefCnt ()
GStringgetCollection ()
GBool match (GString *collectionA, GString *cMapNameA)
CID getCID (char *s, int len, int *nUsed)
int getWMode ()

Static Public Member Functions

static CMapparse (CMapCache *cache, GString *collectionA, GString *cMapNameA)

Private Member Functions

 CMap (GString *collectionA, GString *cMapNameA)
 CMap (GString *collectionA, GString *cMapNameA, int wModeA)
void useCMap (CMapCache *cache, char *useName)
void copyVector (CMapVectorEntry *dest, CMapVectorEntry *src)
void addCodeSpace (CMapVectorEntry *vec, Guint start, Guint end, Guint nBytes)
void addCIDs (Guint start, Guint end, Guint nBytes, CID firstCID)
void freeCMapVector (CMapVectorEntry *vec)

Private Attributes

GStringcollection
GStringcMapName
int wMode
CMapVectorEntryvector
int refCnt

Constructor & Destructor Documentation

CMap::~CMap  ) 
 

Definition at line 248 of file CMap.cc.

References cMapName, collection, freeCMapVector(), and vector.

CMap::CMap GString collectionA,
GString cMapNameA
[private]
 

Definition at line 134 of file CMap.cc.

References CMapVectorEntry::cid, cMapName, collection, gFalse, gmalloc(), i, CMapVectorEntry::isVector, refCnt, vector, and wMode.

Referenced by parse().

CMap::CMap GString collectionA,
GString cMapNameA,
int  wModeA
[private]
 

Definition at line 148 of file CMap.cc.

References cMapName, collection, NULL, refCnt, vector, and wMode.


Member Function Documentation

void CMap::addCIDs Guint  start,
Guint  end,
Guint  nBytes,
CID  firstCID
[private]
 

Definition at line 220 of file CMap.cc.

References CMapVectorEntry::cid, error(), i, CMapVectorEntry::vector, and vector.

Referenced by parse().

void CMap::addCodeSpace CMapVectorEntry vec,
Guint  start,
Guint  end,
Guint  nBytes
[private]
 

Definition at line 195 of file CMap.cc.

References CMapVectorEntry::cid, gFalse, gmalloc(), gTrue, i, CMapVectorEntry::isVector, vector, and CMapVectorEntry::vector.

Referenced by parse().

void CMap::copyVector CMapVectorEntry dest,
CMapVectorEntry src
[private]
 

Definition at line 170 of file CMap.cc.

References CMapVectorEntry::cid, error(), gFalse, gmalloc(), gTrue, i, CMapVectorEntry::isVector, vector, and CMapVectorEntry::vector.

Referenced by useCMap().

void CMap::decRefCnt  ) 
 

Definition at line 271 of file CMap.cc.

References refCnt.

Referenced by CMapCache::getCMap(), useCMap(), CMapCache::~CMapCache(), and GfxCIDFont::~GfxCIDFont().

void CMap::freeCMapVector CMapVectorEntry vec  )  [private]
 

Definition at line 256 of file CMap.cc.

References gfree(), i, and vector.

Referenced by ~CMap().

CID CMap::getCID char *  s,
int  len,
int *  nUsed
 

Definition at line 281 of file CMap.cc.

References CMapVectorEntry::cid, i, CMapVectorEntry::vector, and vector.

Referenced by GfxCIDFont::getNextChar().

GString* CMap::getCollection  )  [inline]
 

Definition at line 39 of file CMap.h.

References collection.

Referenced by GfxCIDFont::getCollection().

int CMap::getWMode  )  [inline]
 

Definition at line 51 of file CMap.h.

References wMode.

Referenced by GfxCIDFont::getNextChar(), and GfxCIDFont::getWMode().

void CMap::incRefCnt  ) 
 

Definition at line 267 of file CMap.cc.

References refCnt.

Referenced by CMapCache::getCMap().

GBool CMap::match GString collectionA,
GString cMapNameA
 

Definition at line 277 of file CMap.cc.

References cMapName, GString::cmp(), and collection.

CMap * CMap::parse CMapCache cache,
GString collectionA,
GString cMapNameA
[static]
 

Definition at line 44 of file CMap.cc.

References addCIDs(), addCodeSpace(), CMap(), GString::cmp(), GString::copy(), end, error(), f, GlobalParams::findCMapFile(), getCharFromFile(), GString::getCString(), PSTokenizer::getToken(), globalParams, NULL, start, useCMap(), vector, and wMode.

Referenced by CMapCache::getCMap().

void CMap::useCMap CMapCache cache,
char *  useName
[private]
 

Definition at line 156 of file CMap.cc.

References collection, copyVector(), decRefCnt(), CMapCache::getCMap(), and vector.

Referenced by parse().


Member Data Documentation

GString* CMap::cMapName [private]
 

Definition at line 65 of file CMap.h.

Referenced by CMap(), match(), and ~CMap().

GString* CMap::collection [private]
 

Definition at line 64 of file CMap.h.

Referenced by CMap(), getCollection(), match(), useCMap(), and ~CMap().

int CMap::refCnt [private]
 

Definition at line 69 of file CMap.h.

Referenced by CMap(), decRefCnt(), and incRefCnt().

CMapVectorEntry* CMap::vector [private]
 

Definition at line 67 of file CMap.h.

Referenced by addCIDs(), addCodeSpace(), CMap(), copyVector(), freeCMapVector(), getCID(), parse(), useCMap(), and ~CMap().

int CMap::wMode [private]
 

Definition at line 66 of file CMap.h.

Referenced by CMap(), getWMode(), and parse().


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