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

GString Class Reference

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

List of all members.

Public Member Functions

 GString ()
 GString (const char *sA)
 GString (const char *sA, int lengthA)
 GString (GString *str, int idx, int lengthA)
 GString (GString *str)
GStringcopy ()
 GString (GString *str1, GString *str2)
 ~GString ()
int getLength ()
char * getCString ()
char getChar (int i)
void setChar (int i, char c)
GStringclear ()
GStringappend (char c)
GStringappend (GString *str)
GStringappend (const char *str)
GStringappend (const char *str, int lengthA)
GStringinsert (int i, char c)
GStringinsert (int i, GString *str)
GStringinsert (int i, const char *str)
GStringinsert (int i, const char *str, int lengthA)
GStringdel (int i, int n=1)
GStringupperCase ()
GStringlowerCase ()
int cmp (GString *str)
int cmpN (GString *str, int n)
int cmp (const char *sA)
int cmpN (const char *sA, int n)

Static Public Member Functions

static GStringfromInt (int x)

Private Member Functions

void resize (int length1)

Private Attributes

int length
char * s


Constructor & Destructor Documentation

GString::GString  ) 
 

Definition at line 43 of file GString.cc.

References length, NULL, resize(), and s.

Referenced by copy(), and fromInt().

GString::GString const char *  sA  ) 
 

Definition at line 49 of file GString.cc.

References length, NULL, resize(), and s.

GString::GString const char *  sA,
int  lengthA
 

Definition at line 57 of file GString.cc.

References length, NULL, resize(), and s.

GString::GString GString str,
int  idx,
int  lengthA
 

Definition at line 64 of file GString.cc.

References getCString(), length, NULL, resize(), and s.

GString::GString GString str  ) 
 

Definition at line 71 of file GString.cc.

References getCString(), getLength(), length, NULL, resize(), and s.

GString::GString GString str1,
GString str2
 

Definition at line 77 of file GString.cc.

References getCString(), getLength(), length, NULL, resize(), and s.

GString::~GString  ) 
 

Definition at line 113 of file GString.cc.

References s.


Member Function Documentation

GString * GString::append const char *  str,
int  lengthA
 

Definition at line 148 of file GString.cc.

References length, resize(), and s.

GString * GString::append const char *  str  ) 
 

Definition at line 139 of file GString.cc.

References length, resize(), and s.

GString * GString::append GString str  ) 
 

Definition at line 130 of file GString.cc.

References getCString(), getLength(), length, resize(), and s.

GString * GString::append char  c  ) 
 

Definition at line 123 of file GString.cc.

References length, resize(), and s.

Referenced by GlobalParams::findFontFile(), Lexer::getObj(), DCTStream::getPSFilter(), CCITTFaxStream::getPSFilter(), RunLengthStream::getPSFilter(), LZWStream::getPSFilter(), ASCII85Stream::getPSFilter(), ASCIIHexStream::getPSFilter(), TextPage::getText(), PostScriptFunction::getToken(), LinkURI::LinkURI(), Catalog::readMetadata(), GfxFont::readToUnicodeCMap(), and LZWStream::reset().

GString * GString::clear  ) 
 

Definition at line 117 of file GString.cc.

References length, resize(), and s.

int GString::cmp const char *  sA  )  [inline]
 

Definition at line 87 of file GString.h.

References s.

int GString::cmp GString str  )  [inline]
 

Definition at line 85 of file GString.h.

References getCString(), and s.

Referenced by GHash::find(), Catalog::findDestInTree(), GlobalParams::getPSFont16(), Gfx8BitFont::Gfx8BitFont(), GfxCIDFont::GfxCIDFont(), UnicodeMap::match(), CMap::match(), CharCodeToUnicode::match(), GfxFont::matches(), CMap::parse(), PostScriptFunction::parseCode(), GlobalParams::parseFile(), GlobalParams::parsePSFont16(), GlobalParams::parsePSLevel(), GlobalParams::parseTextEOL(), GlobalParams::parseYesNo(), and PostScriptFunction::PostScriptFunction().

int GString::cmpN const char *  sA,
int  n
[inline]
 

Definition at line 88 of file GString.h.

References s.

int GString::cmpN GString str,
int  n
[inline]
 

Definition at line 86 of file GString.h.

References getCString(), and s.

GString* GString::copy  )  [inline]
 

Definition at line 38 of file GString.h.

References GString().

Referenced by Object::copy(), GfxDeviceNColorSpace::copy(), GfxSeparationColorSpace::copy(), GlobalParams::findCMapFile(), GlobalParams::findFontFile(), GlobalParams::findToUnicodeFile(), LinkURI::LinkURI(), UnicodeMap::parse(), CMap::parse(), GlobalParams::parseCIDToUnicode(), CharCodeToUnicode::parseCIDToUnicode(), GlobalParams::parseCMapDir(), GlobalParams::parseInitialZoom(), GlobalParams::parsePSFile(), GlobalParams::parseTextEncoding(), GlobalParams::parseUnicodeMap(), GlobalParams::parseURLCommand(), and PDFDoc::PDFDoc().

GString * GString::del int  i,
int  n = 1
 

Definition at line 202 of file GString.cc.

References length, resize(), and s.

Referenced by LinkURI::LinkURI(), and LZWStream::reset().

GString * GString::fromInt int  x  )  [static]
 

Definition at line 87 of file GString.cc.

References buf, GString(), i, and Opie::MM::y.

char GString::getChar int  i  )  [inline]
 

Definition at line 56 of file GString.h.

References s.

Referenced by LinkURI::LinkURI(), Decrypt::makeFileKey(), and Decrypt::makeFileKey2().

char* GString::getCString  )  [inline]
 

Definition at line 53 of file GString.h.

References s.

Referenced by append(), cmp(), cmpN(), Gfx::doShowText(), LZWStream::fillBuf(), GlobalParams::findCMapFile(), GlobalParams::findFontFile(), GlobalParams::findToUnicodeFile(), GlobalParams::getCIDToUnicodeFile(), GlobalParams::getUnicodeMapFile(), GfxCIDFont::GfxCIDFont(), GlobalParams::GlobalParams(), GString(), insert(), LinkURI::LinkURI(), Decrypt::makeFileKey(), Decrypt::makeFileKey2(), UnicodeMap::parse(), CMap::parse(), GlobalParams::parseCIDToUnicode(), CharCodeToUnicode::parseCIDToUnicode(), CharCodeToUnicode::parseCMap(), CharCodeToUnicode::parseCMap1(), GlobalParams::parseCMapDir(), PostScriptFunction::parseCode(), GlobalParams::parseDisplayFont(), GlobalParams::parseFile(), GlobalParams::parseFontDir(), GlobalParams::parseFontRastControl(), GlobalParams::parseInitialZoom(), GlobalParams::parseNameToUnicode(), GlobalParams::parsePSFile(), GlobalParams::parsePSFont(), GlobalParams::parsePSFont16(), GlobalParams::parsePSLevel(), GlobalParams::parsePSPaperSize(), GlobalParams::parseTextEncoding(), GlobalParams::parseTextEOL(), GlobalParams::parseToUnicodeDir(), GlobalParams::parseUnicodeMap(), GlobalParams::parseURLCommand(), GlobalParams::parseYesNo(), PDFDoc::PDFDoc(), Object::print(), GfxFont::readExtFontFile(), LZWStream::reset(), and LZWStream::~LZWStream().

int GString::getLength  )  [inline]
 

Definition at line 50 of file GString.h.

References length.

Referenced by append(), Gfx::doShowText(), Parser::getObj(), TextPage::getText(), GString(), insert(), LinkURI::LinkURI(), Decrypt::makeFileKey(), Decrypt::makeFileKey2(), Object::print(), and LZWStream::reset().

GString * GString::insert int  i,
const char *  str,
int  lengthA
 

Definition at line 191 of file GString.cc.

References length, resize(), and s.

GString * GString::insert int  i,
const char *  str
 

Definition at line 179 of file GString.cc.

References length, resize(), and s.

GString * GString::insert int  i,
GString str
 

Definition at line 167 of file GString.cc.

References getCString(), getLength(), length, resize(), and s.

GString * GString::insert int  i,
char  c
 

Definition at line 156 of file GString.cc.

References length, resize(), and s.

GString * GString::lowerCase  ) 
 

Definition at line 223 of file GString.cc.

References i, length, and s.

Referenced by PDFDoc::PDFDoc().

void GString::resize int  length1  )  [inline, private]
 

Definition at line 30 of file GString.cc.

References length, s, and size.

Referenced by append(), clear(), del(), GString(), and insert().

void GString::setChar int  i,
char  c
[inline]
 

Definition at line 59 of file GString.h.

References s.

GString * GString::upperCase  ) 
 

Definition at line 213 of file GString.cc.

References i, length, and s.

Referenced by PDFDoc::PDFDoc().


Member Data Documentation

int GString::length [private]
 

Definition at line 92 of file GString.h.

Referenced by append(), clear(), del(), getLength(), GString(), insert(), lowerCase(), resize(), and upperCase().

char* GString::s [private]
 

Definition at line 93 of file GString.h.

Referenced by append(), clear(), cmp(), cmpN(), del(), getChar(), getCString(), GString(), insert(), lowerCase(), resize(), setChar(), upperCase(), and ~GString().


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