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

Object Class Reference

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

Collaboration diagram for Object:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Object ()
ObjectinitBool (GBool boolnA)
ObjectinitInt (int intgA)
ObjectinitReal (fouble realA)
ObjectinitString (GString *stringA)
ObjectinitName (char *nameA)
ObjectinitNull ()
ObjectinitArray (XRef *xref)
ObjectinitDict (XRef *xref)
ObjectinitStream (Stream *streamA)
ObjectinitRef (int numA, int genA)
ObjectinitCmd (char *cmdA)
ObjectinitError ()
ObjectinitEOF ()
Objectcopy (Object *obj)
Objectfetch (XRef *xref, Object *obj)
void free ()
ObjType getType ()
GBool isBool ()
GBool isInt ()
GBool isReal ()
GBool isNum ()
GBool isString ()
GBool isName ()
GBool isNull ()
GBool isArray ()
GBool isDict ()
GBool isStream ()
GBool isRef ()
GBool isCmd ()
GBool isError ()
GBool isEOF ()
GBool isNone ()
GBool isName (char *nameA)
GBool isDict (char *dictType)
GBool isStream (char *dictType)
GBool isCmd (char *cmdA)
GBool getBool ()
int getInt ()
fouble getReal ()
fouble getNum ()
GStringgetString ()
char * getName ()
ArraygetArray ()
DictgetDict ()
StreamgetStream ()
Ref getRef ()
int getRefNum ()
int getRefGen ()
int arrayGetLength ()
void arrayAdd (Object *elem)
ObjectarrayGet (int i, Object *obj)
ObjectarrayGetNF (int i, Object *obj)
int dictGetLength ()
void dictAdd (char *key, Object *val)
GBool dictIs (char *dictType)
ObjectdictLookup (char *key, Object *obj)
ObjectdictLookupNF (char *key, Object *obj)
char * dictGetKey (int i)
ObjectdictGetVal (int i, Object *obj)
ObjectdictGetValNF (int i, Object *obj)
GBool streamIs (char *dictType)
void streamReset ()
void streamClose ()
int streamGetChar ()
int streamLookChar ()
char * streamGetLine (char *buf, int size)
Guint streamGetPos ()
void streamSetPos (Guint pos, int dir=0)
DictstreamGetDict ()
char * getTypeName ()
void print (FILE *f=stdout)

Static Public Member Functions

static void memCheck (FILE *f)

Private Attributes

ObjType type
fouble real
GBool booln
int intg
GStringstring
char * name
Arrayarray
Dictdict
Streamstream
Ref ref
char * cmd

Constructor & Destructor Documentation

Object::Object  )  [inline]
 

Definition at line 78 of file Object.h.


Member Function Documentation

void Object::arrayAdd Object elem  )  [inline]
 

Definition at line 221 of file Object.h.

References Array::add(), and array.

Referenced by Parser::getObj().

Object * Object::arrayGet int  i,
Object obj
[inline]
 

Definition at line 224 of file Object.h.

References array, and Array::get().

Referenced by Stream::addFilters(), Annot::Annot(), Annots::Annots(), XRef::checkEncrypted(), Gfx::doAnnot(), Gfx::doForm(), Gfx::doImage(), ExponentialFunction::ExponentialFunction(), Catalog::findDestInTree(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), GfxImageColorMap::GfxImageColorMap(), GfxTilingPattern::GfxTilingPattern(), Function::init(), Link::Link(), GfxRadialShading::parse(), GfxAxialShading::parse(), GfxDeviceNColorSpace::parse(), GfxLabColorSpace::parse(), GfxCalRGBColorSpace::parse(), GfxCalGrayColorSpace::parse(), GfxColorSpace::parse(), PageAttrs::readBox(), GfxFont::readFontDescriptor(), Catalog::readPageTree(), SampledFunction::SampledFunction(), and StitchingFunction::StitchingFunction().

int Object::arrayGetLength  )  [inline]
 

Definition at line 218 of file Object.h.

References array, and Array::getLength().

Referenced by Stream::addFilters(), Annot::Annot(), Gfx::doImage(), ExponentialFunction::ExponentialFunction(), Catalog::findDestInTree(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), GfxImageColorMap::GfxImageColorMap(), GfxTilingPattern::GfxTilingPattern(), Function::init(), Link::Link(), GfxRadialShading::parse(), GfxAxialShading::parse(), GfxDeviceNColorSpace::parse(), GfxLabColorSpace::parse(), GfxCalRGBColorSpace::parse(), GfxCalGrayColorSpace::parse(), print(), PageAttrs::readBox(), GfxFont::readFontDescriptor(), Catalog::readPageTree(), SampledFunction::SampledFunction(), and StitchingFunction::StitchingFunction().

Object * Object::arrayGetNF int  i,
Object obj
[inline]
 

Definition at line 227 of file Object.h.

References array, and Array::getNF().

Referenced by print(), and Catalog::readPageTree().

Object * Object::copy Object obj  ) 
 

Definition at line 66 of file Object.cc.

References array, cmd, GString::copy(), copyString(), dict, Dict::incRef(), Array::incRef(), name, objArray, objCmd, objDict, objName, objStream, objString, string, and type.

Referenced by Annot::Annot(), fetch(), Array::getNF(), Parser::getObj(), Dict::getValNF(), GfxTilingPattern::GfxTilingPattern(), Lexer::Lexer(), Dict::lookupNF(), and PageAttrs::PageAttrs().

void Object::dictAdd char *  key,
Object val
[inline]
 

Definition at line 239 of file Object.h.

References Dict::add(), and dict.

Referenced by Gfx::buildImageStream(), and Parser::getObj().

char * Object::dictGetKey int  i  )  [inline]
 

Definition at line 254 of file Object.h.

References dict, and Dict::getKey().

Referenced by print().

int Object::dictGetLength  )  [inline]
 

Definition at line 236 of file Object.h.

References dict, and Dict::getLength().

Referenced by print().

Object * Object::dictGetVal int  i,
Object obj
[inline]
 

Definition at line 257 of file Object.h.

References dict, and Dict::getVal().

Object * Object::dictGetValNF int  i,
Object obj
[inline]
 

Definition at line 260 of file Object.h.

References dict, and Dict::getValNF().

Referenced by print().

GBool Object::dictIs char *  dictType  )  [inline]
 

Definition at line 242 of file Object.h.

References dict, and Dict::is().

Referenced by isDict().

Object * Object::dictLookup char *  key,
Object obj
[inline]
 

Definition at line 248 of file Object.h.

References dict, and Dict::lookup().

Referenced by Stream::addFilters(), Annot::Annot(), Annots::Annots(), Catalog::Catalog(), XRef::checkEncrypted(), Catalog::findDest(), Catalog::findDestInTree(), Gfx8BitFont::getCharProc(), XRef::getDocInfo(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), Link::Link(), LinkLaunch::LinkLaunch(), Links::Links(), GfxResources::lookupColorSpace(), GfxResources::lookupGState(), GfxResources::lookupPattern(), GfxResources::lookupShading(), GfxResources::lookupXObject(), Stream::makeFilter(), Parser::makeStream(), Gfx::opSetExtGState(), GfxShading::parse(), GfxLabColorSpace::parse(), GfxCalRGBColorSpace::parse(), GfxCalGrayColorSpace::parse(), and GfxFont::readFontDescriptor().

Object * Object::dictLookupNF char *  key,
Object obj
[inline]
 

Definition at line 251 of file Object.h.

References dict, and Dict::lookupNF().

Referenced by Annot::Annot(), XRef::constructXRef(), XRef::getDocInfoNF(), GfxResources::lookupXObjectNF(), and GfxFont::readFontDescriptor().

Object * Object::fetch XRef xref,
Object obj
 

Definition at line 96 of file Object.cc.

References copy(), XRef::fetch(), Ref::gen, Ref::num, objRef, ref, and type.

Referenced by Page::display(), Annot::draw(), Array::get(), Page::getAnnots(), Annot::getAppearance(), Page::getContents(), Dict::getVal(), GfxFontDict::GfxFontDict(), Dict::lookup(), GfxFont::readEmbFontFile(), and GfxFont::readFontDescriptor().

void Object::free  ) 
 

Definition at line 101 of file Object.cc.

References array, cmd, Dict::decRef(), Array::decRef(), dict, gfree(), name, objArray, objCmd, objDict, objName, objNone, objStream, objString, string, and type.

Referenced by Stream::addFilters(), Annot::Annot(), Annots::Annots(), Gfx::buildImageStream(), Catalog::Catalog(), XRef::checkEncrypted(), XRef::constructXRef(), Page::display(), Gfx::display(), Gfx::doAnnot(), Gfx::doForm(), Gfx::doImage(), Gfx::doShowText(), Annot::draw(), ExponentialFunction::ExponentialFunction(), Catalog::findDest(), Catalog::findDestInTree(), Lexer::getChar(), getFileSpecName(), PDFDoc::getLinks(), Parser::getObj(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), GfxFontDict::GfxFontDict(), GfxImageColorMap::GfxImageColorMap(), GfxResources::GfxResources(), GfxTilingPattern::GfxTilingPattern(), Gfx::go(), Function::init(), PDFDoc::isLinearized(), Link::Link(), LinkDest::LinkDest(), LinkLaunch::LinkLaunch(), Links::Links(), GfxResources::lookupColorSpace(), GfxResources::lookupGState(), GfxResources::lookupPattern(), GfxResources::lookupShading(), GfxResources::lookupXObject(), GfxResources::lookupXObjectNF(), Stream::makeFilter(), GfxFont::makeFont(), Parser::makeStream(), Gfx::opSetDash(), Gfx::opSetExtGState(), Gfx::opSetFillColorSpace(), Gfx::opSetStrokeColorSpace(), Gfx::opShowSpaceText(), Gfx::opXObject(), Page::Page(), PageAttrs::PageAttrs(), GfxRadialShading::parse(), GfxAxialShading::parse(), GfxShading::parse(), GfxPattern::parse(), GfxDeviceNColorSpace::parse(), GfxSeparationColorSpace::parse(), GfxICCBasedColorSpace::parse(), GfxLabColorSpace::parse(), GfxCalRGBColorSpace::parse(), GfxCalGrayColorSpace::parse(), GfxColorSpace::parse(), Function::parse(), print(), PageAttrs::readBox(), GfxFont::readEmbFontFile(), GfxFont::readFontDescriptor(), Catalog::readMetadata(), Catalog::readPageTree(), GfxFont::readToUnicodeCMap(), XRef::readTrailer(), XRef::readXRef(), SampledFunction::SampledFunction(), Parser::shift(), StitchingFunction::StitchingFunction(), Annot::~Annot(), Array::~Array(), BaseStream::~BaseStream(), Catalog::~Catalog(), Gfx8BitFont::~Gfx8BitFont(), GfxResources::~GfxResources(), GfxTilingPattern::~GfxTilingPattern(), Lexer::~Lexer(), PageAttrs::~PageAttrs(), Parser::~Parser(), and XRef::~XRef().

Array* Object::getArray  )  [inline]
 

Definition at line 149 of file Object.h.

References array.

Referenced by Catalog::findDest(), Lexer::Lexer(), LinkGoToR::LinkGoToR(), Gfx::opShowSpaceText(), and GfxColorSpace::parse().

GBool Object::getBool  )  [inline]
 

Definition at line 143 of file Object.h.

References booln.

Referenced by Gfx::doImage(), and Stream::makeFilter().

Dict* Object::getDict  )  [inline]
 

Definition at line 150 of file Object.h.

References dict.

Referenced by Annots::Annots(), Catalog::Catalog(), Gfx::doAnnot(), Gfx::doForm(), PageAttrs::getBoxColorInfo(), Gfx8BitFont::getCharProcs(), BaseStream::getDict(), PageAttrs::getGroup(), PageAttrs::getPieceInfo(), GfxTilingPattern::getResDict(), PageAttrs::getResourceDict(), Gfx8BitFont::getResources(), PageAttrs::getSeparationInfo(), GfxCIDFont::GfxCIDFont(), GfxFontDict::GfxFontDict(), GfxResources::GfxResources(), Links::Links(), Gfx::opXObject(), GfxShading::parse(), Function::parse(), Catalog::readPageTree(), XRef::readXRef(), and XRef::XRef().

int Object::getInt  )  [inline]
 

Definition at line 144 of file Object.h.

References intg.

Referenced by Catalog::Catalog(), XRef::checkEncrypted(), Gfx::doForm(), Gfx::doImage(), Parser::getObj(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), GfxTilingPattern::GfxTilingPattern(), LinkDest::LinkDest(), Stream::makeFilter(), Parser::makeStream(), PageAttrs::PageAttrs(), GfxShading::parse(), GfxPattern::parse(), GfxICCBasedColorSpace::parse(), Function::parse(), GfxFont::readFontDescriptor(), XRef::readTrailer(), XRef::readXRef(), and SampledFunction::SampledFunction().

char* Object::getName void   )  [inline]
 

Definition at line 148 of file Object.h.

References name.

Referenced by Stream::addFilters(), Annot::Annot(), XRef::checkEncrypted(), Gfx::doImage(), Gfx::execOp(), Parser::getObj(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), Link::Link(), LinkGoToR::LinkGoToR(), GfxFont::makeFont(), Gfx::opXObject(), GfxDeviceNColorSpace::parse(), GfxSeparationColorSpace::parse(), GfxColorSpace::parse(), GfxFont::readFontDescriptor(), and Catalog::readMetadata().

fouble Object::getNum  )  [inline]
 

Definition at line 146 of file Object.h.

References intg, objInt, real, and type.

Referenced by Annot::Annot(), Gfx::doAnnot(), Gfx::doForm(), ExponentialFunction::ExponentialFunction(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), GfxImageColorMap::GfxImageColorMap(), GfxTilingPattern::GfxTilingPattern(), Function::init(), PDFDoc::isLinearized(), Link::Link(), LinkDest::LinkDest(), Gfx::opSetExtGState(), Gfx::opSetFillGray(), Gfx::opShowSpaceText(), GfxICCBasedColorSpace::parse(), GfxLabColorSpace::parse(), GfxCalRGBColorSpace::parse(), GfxCalGrayColorSpace::parse(), PageAttrs::readBox(), GfxFont::readFontDescriptor(), SampledFunction::SampledFunction(), and StitchingFunction::StitchingFunction().

fouble Object::getReal  )  [inline]
 

Definition at line 145 of file Object.h.

References real.

Ref Object::getRef  )  [inline]
 

Definition at line 152 of file Object.h.

References ref.

Referenced by GfxFontDict::GfxFontDict(), GfxICCBasedColorSpace::parse(), and GfxFont::readFontDescriptor().

int Object::getRefGen  )  [inline]
 

Definition at line 154 of file Object.h.

References Ref::gen, and ref.

Referenced by XRef::constructXRef(), LinkDest::LinkDest(), Catalog::readPageTree(), and XRef::readTrailer().

int Object::getRefNum  )  [inline]
 

Definition at line 153 of file Object.h.

References Ref::num, and ref.

Referenced by XRef::constructXRef(), LinkDest::LinkDest(), Catalog::readPageTree(), and XRef::readTrailer().

Stream* Object::getStream  )  [inline]
 

Definition at line 151 of file Object.h.

Referenced by PageAttrs::getMetadata(), Lexer::getStream(), Gfx::opXObject(), PostScriptFunction::PostScriptFunction(), and GfxFont::readEmbFontFile().

GString* Object::getString  )  [inline]
 

Definition at line 147 of file Object.h.

References string.

Referenced by Catalog::Catalog(), XRef::checkEncrypted(), Catalog::findDestInTree(), getFileSpecName(), PageAttrs::getLastModified(), GfxCIDFont::GfxCIDFont(), LinkGoToR::LinkGoToR(), and Gfx::opShowSpaceText().

ObjType Object::getType  )  [inline]
 

Definition at line 117 of file Object.h.

References type.

char * Object::getTypeName  ) 
 

Definition at line 136 of file Object.cc.

References objTypeNames, and type.

Referenced by Catalog::Catalog(), Gfx8BitFont::Gfx8BitFont(), Page::Page(), and Catalog::readPageTree().

Object * Object::initArray XRef xref  ) 
 

Definition at line 48 of file Object.cc.

References array, initObj, and objArray.

Referenced by Parser::getObj().

Object* Object::initBool GBool  boolnA  )  [inline]
 

Definition at line 82 of file Object.h.

References booln, initObj, and objBool.

Referenced by Lexer::getObj().

Object* Object::initCmd char *  cmdA  )  [inline]
 

Definition at line 99 of file Object.h.

References cmd, copyString(), initObj, and objCmd.

Referenced by Lexer::getObj().

Object * Object::initDict XRef xref  ) 
 

Definition at line 54 of file Object.cc.

References dict, initObj, and objDict.

Referenced by Gfx::buildImageStream(), and Parser::getObj().

Object* Object::initEOF  )  [inline]
 

Definition at line 103 of file Object.h.

References initObj, and objEOF.

Referenced by Lexer::getObj().

Object* Object::initError  )  [inline]
 

Definition at line 101 of file Object.h.

References initObj, and objError.

Referenced by Parser::getObj(), and Lexer::getObj().

Object* Object::initInt int  intgA  )  [inline]
 

Definition at line 84 of file Object.h.

References initObj, intg, and objInt.

Referenced by Parser::getObj(), and Lexer::getObj().

Object* Object::initName char *  nameA  )  [inline]
 

Definition at line 90 of file Object.h.

References copyString(), initObj, name, and objName.

Referenced by Lexer::getObj().

Object* Object::initNull  )  [inline]
 

Definition at line 92 of file Object.h.

References initObj, and objNull.

Referenced by Stream::addFilters(), Catalog::Catalog(), XRef::constructXRef(), XRef::fetch(), Catalog::findDestInTree(), Gfx8BitFont::getCharProc(), Lexer::getObj(), GfxResources::GfxResources(), GfxTilingPattern::GfxTilingPattern(), PDFDoc::isLinearized(), Dict::lookup(), GfxResources::lookupColorSpace(), Page::Page(), PageAttrs::PageAttrs(), PDFDoc::PDFDoc(), XRef::readTrailer(), XRef::readXRef(), and Parser::shift().

Object* Object::initReal fouble  realA  )  [inline]
 

Definition at line 86 of file Object.h.

References initObj, objReal, and real.

Referenced by Lexer::getObj().

Object* Object::initRef int  numA,
int  genA
[inline]
 

Definition at line 97 of file Object.h.

References Ref::gen, initObj, Ref::num, objRef, and ref.

Referenced by Parser::getObj(), and GfxFont::readEmbFontFile().

Object * Object::initStream Stream streamA  ) 
 

Definition at line 60 of file Object.cc.

References initObj, and objStream.

Referenced by Parser::getObj(), and Lexer::Lexer().

Object* Object::initString GString stringA  )  [inline]
 

Definition at line 88 of file Object.h.

References initObj, objString, and string.

Referenced by Lexer::getObj().

GBool Object::isArray  )  [inline]
 

Definition at line 125 of file Object.h.

References objArray, and type.

Referenced by Stream::addFilters(), Annots::Annots(), Gfx::checkArg(), XRef::checkEncrypted(), Gfx::doAnnot(), Gfx::doForm(), Gfx::doImage(), Catalog::findDest(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), GfxImageColorMap::GfxImageColorMap(), Link::Link(), LinkGoToR::LinkGoToR(), Page::Page(), GfxRadialShading::parse(), GfxAxialShading::parse(), GfxColorSpace::parse(), PageAttrs::readBox(), and Catalog::readPageTree().

GBool Object::isBool  )  [inline]
 

Definition at line 118 of file Object.h.

References objBool, and type.

Referenced by Gfx::checkArg(), Gfx::doImage(), and Stream::makeFilter().

GBool Object::isCmd char *  cmdA  )  [inline]
 

Definition at line 139 of file Object.h.

References cmd, objCmd, and type.

GBool Object::isCmd  )  [inline]
 

Definition at line 129 of file Object.h.

References objCmd, and type.

Referenced by Parser::getObj(), Gfx::go(), Parser::makeStream(), XRef::readXRef(), and Parser::shift().

GBool Object::isDict char *  dictType  )  [inline]
 

Definition at line 245 of file Object.h.

References dictIs(), objDict, and type.

GBool Object::isDict  )  [inline]
 

Definition at line 126 of file Object.h.

References objDict, and type.

Referenced by Catalog::Catalog(), Gfx::checkArg(), XRef::checkEncrypted(), XRef::constructXRef(), Gfx::doAnnot(), Gfx::doForm(), Catalog::findDest(), PageAttrs::getBoxColorInfo(), Gfx8BitFont::getCharProc(), Gfx8BitFont::getCharProcs(), PageAttrs::getGroup(), PageAttrs::getPieceInfo(), GfxTilingPattern::getResDict(), PageAttrs::getResourceDict(), Gfx8BitFont::getResources(), PageAttrs::getSeparationInfo(), Gfx8BitFont::Gfx8BitFont(), GfxFontDict::GfxFontDict(), GfxResources::GfxResources(), GfxResources::lookupColorSpace(), GfxResources::lookupGState(), GfxResources::lookupPattern(), GfxResources::lookupShading(), GfxResources::lookupXObject(), GfxResources::lookupXObjectNF(), Stream::makeFilter(), Gfx::opSetExtGState(), Gfx::opXObject(), PageAttrs::PageAttrs(), GfxShading::parse(), GfxLabColorSpace::parse(), GfxCalRGBColorSpace::parse(), GfxCalGrayColorSpace::parse(), Function::parse(), Catalog::readPageTree(), XRef::readXRef(), and Gfx8BitFont::~Gfx8BitFont().

GBool Object::isEOF  )  [inline]
 

Definition at line 131 of file Object.h.

References objEOF, and type.

Referenced by Parser::getObj(), and Gfx::go().

GBool Object::isError  )  [inline]
 

Definition at line 130 of file Object.h.

References objError, and type.

Referenced by Parser::getObj().

GBool Object::isInt  )  [inline]
 

Definition at line 119 of file Object.h.

References objInt, and type.

Referenced by Catalog::Catalog(), Gfx::checkArg(), XRef::checkEncrypted(), Gfx::doForm(), Gfx::doImage(), Parser::getObj(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), PDFDoc::isLinearized(), LinkDest::LinkDest(), Stream::makeFilter(), Parser::makeStream(), PageAttrs::PageAttrs(), GfxPattern::parse(), XRef::readTrailer(), XRef::readXRef(), and SampledFunction::SampledFunction().

GBool Object::isName char *  nameA  )  [inline]
 

Definition at line 135 of file Object.h.

References name, objName, and type.

GBool Object::isName  )  [inline]
 

Definition at line 123 of file Object.h.

References objName, and type.

Referenced by Stream::addFilters(), Annots::Annots(), Gfx::checkArg(), XRef::checkEncrypted(), Gfx::doImage(), Parser::getObj(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), Dict::is(), Link::Link(), LinkDest::LinkDest(), LinkGoToR::LinkGoToR(), GfxFont::makeFont(), Gfx::opXObject(), GfxColorSpace::parse(), Function::parse(), GfxFont::readFontDescriptor(), and Catalog::readMetadata().

GBool Object::isNone  )  [inline]
 

Definition at line 132 of file Object.h.

References objNone, and type.

Referenced by XRef::constructXRef(), Lexer::getChar(), Lexer::getPos(), Lexer::getStream(), Lexer::lookChar(), Lexer::setPos(), and Lexer::~Lexer().

GBool Object::isNull  )  [inline]
 

Definition at line 124 of file Object.h.

References objNull, and type.

Referenced by Stream::addFilters(), Page::display(), Gfx::doImage(), Catalog::findDest(), GfxCIDFont::GfxCIDFont(), GfxImageColorMap::GfxImageColorMap(), LinkDest::LinkDest(), Gfx::opSetFillColorSpace(), Gfx::opSetStrokeColorSpace(), and Page::Page().

GBool Object::isNum  )  [inline]
 

Definition at line 121 of file Object.h.

References objInt, objReal, and type.

Referenced by Gfx::checkArg(), ExponentialFunction::ExponentialFunction(), Gfx8BitFont::Gfx8BitFont(), GfxImageColorMap::GfxImageColorMap(), Function::init(), PDFDoc::isLinearized(), LinkDest::LinkDest(), Gfx::opShowSpaceText(), PageAttrs::readBox(), GfxFont::readFontDescriptor(), and SampledFunction::SampledFunction().

GBool Object::isReal  )  [inline]
 

Definition at line 120 of file Object.h.

References objReal, and type.

GBool Object::isRef  )  [inline]
 

Definition at line 128 of file Object.h.

References objRef, and type.

Referenced by Annot::Annot(), XRef::constructXRef(), GfxFontDict::GfxFontDict(), LinkDest::LinkDest(), Page::Page(), GfxICCBasedColorSpace::parse(), Catalog::readPageTree(), and XRef::readTrailer().

GBool Object::isStream char *  dictType  )  [inline]
 

Definition at line 272 of file Object.h.

References objStream, streamIs(), and type.

GBool Object::isStream  )  [inline]
 

Definition at line 127 of file Object.h.

References objStream, and type.

Referenced by Gfx::display(), Gfx::doShowText(), PageAttrs::getMetadata(), GfxCIDFont::GfxCIDFont(), Lexer::Lexer(), Gfx::opXObject(), GfxPattern::parse(), GfxICCBasedColorSpace::parse(), Function::parse(), PostScriptFunction::PostScriptFunction(), GfxFont::readEmbFontFile(), and Catalog::readMetadata().

GBool Object::isString  )  [inline]
 

Definition at line 122 of file Object.h.

References objString, and type.

Referenced by Gfx::checkArg(), XRef::checkEncrypted(), getFileSpecName(), PageAttrs::getLastModified(), Parser::getObj(), GfxCIDFont::GfxCIDFont(), LinkGoToR::LinkGoToR(), and Gfx::opShowSpaceText().

void Object::memCheck FILE *  f  )  [static]
 

Definition at line 207 of file Object.cc.

References i, numObjTypes, objTypeNames, and t.

void Object::print FILE *  f = stdout  ) 
 

Definition at line 140 of file Object.cc.

References arrayGetLength(), arrayGetNF(), booln, cmd, dictGetKey(), dictGetLength(), dictGetValNF(), free(), Ref::gen, GString::getCString(), GString::getLength(), i, intg, name, Ref::num, objArray, objBool, objCmd, objDict, objEOF, objError, objInt, objName, objNone, objNull, objReal, objRef, objStream, objString, print(), real, ref, string, and type.

Referenced by Gfx::go(), Gfx::opBeginMarkedContent(), Gfx::opMarkPoint(), and print().

void Object::streamClose  )  [inline]
 

Definition at line 278 of file Object.h.

Referenced by Lexer::getChar(), Catalog::readMetadata(), GfxFont::readToUnicodeCMap(), and Lexer::~Lexer().

int Object::streamGetChar  )  [inline]
 

Definition at line 281 of file Object.h.

Referenced by Lexer::getChar(), GfxCIDFont::GfxCIDFont(), Catalog::readMetadata(), and GfxFont::readToUnicodeCMap().

Dict * Object::streamGetDict  )  [inline]
 

Definition at line 296 of file Object.h.

Referenced by Gfx::doAnnot(), Gfx::doForm(), Gfx::opXObject(), GfxPattern::parse(), GfxICCBasedColorSpace::parse(), Function::parse(), GfxFont::readFontDescriptor(), and Catalog::readMetadata().

char * Object::streamGetLine char *  buf,
int  size
[inline]
 

Definition at line 287 of file Object.h.

Guint Object::streamGetPos  )  [inline]
 

Definition at line 290 of file Object.h.

Referenced by Lexer::getPos().

GBool Object::streamIs char *  dictType  )  [inline]
 

Definition at line 269 of file Object.h.

Referenced by isStream().

int Object::streamLookChar  )  [inline]
 

Definition at line 284 of file Object.h.

Referenced by Lexer::lookChar().

void Object::streamReset  )  [inline]
 

Definition at line 275 of file Object.h.

Referenced by Lexer::getChar(), GfxCIDFont::GfxCIDFont(), Lexer::Lexer(), Catalog::readMetadata(), and GfxFont::readToUnicodeCMap().

void Object::streamSetPos Guint  pos,
int  dir = 0
[inline]
 

Definition at line 293 of file Object.h.

Referenced by Lexer::setPos().


Member Data Documentation

Array* Object::array [private]
 

Definition at line 199 of file Object.h.

Referenced by arrayAdd(), arrayGet(), arrayGetLength(), arrayGetNF(), copy(), free(), getArray(), and initArray().

GBool Object::booln [private]
 

Definition at line 195 of file Object.h.

Referenced by getBool(), initBool(), and print().

char* Object::cmd [private]
 

Definition at line 203 of file Object.h.

Referenced by copy(), free(), initCmd(), isCmd(), and print().

Dict* Object::dict [private]
 

Definition at line 200 of file Object.h.

Referenced by copy(), dictAdd(), dictGetKey(), dictGetLength(), dictGetVal(), dictGetValNF(), dictIs(), dictLookup(), dictLookupNF(), free(), getDict(), and initDict().

int Object::intg [private]
 

Definition at line 196 of file Object.h.

Referenced by getInt(), getNum(), initInt(), and print().

char* Object::name [private]
 

Definition at line 198 of file Object.h.

Referenced by copy(), free(), getName(), initName(), isName(), and print().

fouble Object::real [private]
 

Definition at line 193 of file Object.h.

Referenced by getNum(), getReal(), initReal(), and print().

Ref Object::ref [private]
 

Definition at line 202 of file Object.h.

Referenced by fetch(), getRef(), getRefGen(), getRefNum(), initRef(), and print().

Stream* Object::stream [private]
 

Definition at line 201 of file Object.h.

GString* Object::string [private]
 

Definition at line 197 of file Object.h.

Referenced by copy(), free(), getString(), initString(), and print().

ObjType Object::type [private]
 

Definition at line 192 of file Object.h.

Referenced by copy(), fetch(), free(), getNum(), getType(), getTypeName(), isArray(), isBool(), isCmd(), isDict(), isEOF(), isError(), isInt(), isName(), isNone(), isNull(), isNum(), isReal(), isRef(), isStream(), isString(), and print().


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