#include <gstring.h>
Inheritance diagram for gString:
Public Member Functions | |
gString () | |
gString (gString ©) | |
gString (char *s) | |
gString (t_uchar *s) | |
gString (char c) | |
gString (unsigned nBytes, char c) | |
virtual | ~gString () |
bool | Match (gString ©, bool doIgnoreCase=false) |
bool | Match (char *s, bool doIgnoreCase=false) |
unsigned | Find (gString &sSub, bool doIgnoreCase=false) |
unsigned | Find (char *s, bool doIgnoreCase=false) |
unsigned | Find (char c, bool doIgnoreCase=false) |
unsigned | Find (gString &sSub, unsigned &nOcc, bool doIgnoreCase=false) |
unsigned | Find (char *s, unsigned &nOcc, bool doIgnoreCase=false) |
unsigned | Find (char c, unsigned &nOcc, bool doIgnoreCase=false) |
unsigned | FindBack (gString &sSub, bool doIgnoreCase=false) |
unsigned | FindBack (char *s, bool doIgnoreCase=false) |
unsigned | FindBack (char c, bool doIgnoreCase=false) |
unsigned | FindAnyChr (gString &b, bool doIgnoreCase=false) |
unsigned | FindAnyChr (char *s, bool doIgnoreCase=false) |
unsigned | FindAnyChr (gString &b, bool doIgnoreCase, unsigned &posAny) |
unsigned | FindAnyChr (char *s, bool doIgnoreCase, unsigned &posAny) |
unsigned | FindExcept (gString &sExcept, bool doIgnoreCase=false) |
unsigned | FindExcept (char *s, bool doIgnoreCase=false) |
virtual unsigned | AddString (gString &a) |
virtual void | Copy (gString ©) |
virtual gString & | CopyFromTo (gString ©, unsigned startPos=0, unsigned endPos=0) |
virtual gString & | CopyFromToStr (char *s, unsigned startPos=0, unsigned endPos=0) |
virtual unsigned | Delete (unsigned startPos=0, unsigned endPos=0) |
virtual unsigned | Insert (gString ©, unsigned startPos=0) |
virtual unsigned | InsertStr (char *s, unsigned startPos=0) |
virtual bool | Trim () |
virtual bool | TrimLeft () |
virtual bool | TrimRight () |
gString & | operator= (gString ©) |
gString & | operator= (char *s) |
gString & | operator= (char c) |
gString & | operator= (int v) |
gString & | operator+ (gString ©) |
gString & | operator+= (gString ©) |
virtual gStorage * | NewObject () |
virtual t_uchar * | ToString (t_uchar *uBuf) |
virtual bool | SaveGuts (FILE *f) |
virtual bool | RestoreGuts (FILE *f) |
virtual void | Show (bool doShowAll=true) |
Protected Member Functions | |
int | thisMatch (char *s1, char *s2, bool doIgnoreCase) |
unsigned | thisFind (char *s, char *sub, unsigned startPos, bool doIgnoreCase) |
unsigned | thisFindAny (char *s, char *strAny, bool doIgnoreCase, unsigned &posAny) |
unsigned | thisFindFwd (char *s, char *sub, unsigned startPos, bool doIgnoreCase, unsigned &nOcc) |
unsigned | thisFindFwdOcc (char *s, char *sub, unsigned &nOcc) |
unsigned | thisFindBack (char *s, char *sub, unsigned startPos, bool doIgnoreCase, unsigned &nOcc) |
unsigned | thisFindBackOcc (char *s, char *sub, unsigned &nOcc) |
unsigned | thisFindExcept (char *s, char *exceptStr, unsigned startPos, bool doIgnoreCase) |
|
Definition at line 315 of file gstring.cpp. Referenced by NewObject(). |
|
Definition at line 324 of file gstring.cpp. |
|
Definition at line 334 of file gstring.cpp. |
|
Definition at line 344 of file gstring.cpp. |
|
Definition at line 354 of file gstring.cpp. |
|
Definition at line 364 of file gstring.cpp. |
|
Definition at line 378 of file gstring.cpp. |
|
|
Definition at line 497 of file gstring.cpp. Referenced by gFileStat::CopyStat(), Delete(), operator=(), TrimLeft(), and TrimRight(). |
|
|
|
|
Definition at line 523 of file gstring.cpp. Referenced by gHtmlString::ConvertToHString(), sFileKind::Process(), gArg::thisFlushAll(), gConfig::thisRead(), and gParam::thisSplit(). |
|
Definition at line 421 of file gstring.cpp. |
|
Definition at line 416 of file gstring.cpp. |
|
Definition at line 411 of file gstring.cpp. |
|
Definition at line 402 of file gstring.cpp. |
|
Definition at line 397 of file gstring.cpp. |
|
|
Definition at line 469 of file gstring.cpp. |
|
Definition at line 464 of file gstring.cpp. |
|
Definition at line 458 of file gstring.cpp. |
|
Definition at line 452 of file gstring.cpp. Referenced by gConfig::thisParseLine(). |
|
Definition at line 442 of file gstring.cpp. |
|
Definition at line 436 of file gstring.cpp. |
|
Definition at line 430 of file gstring.cpp. Referenced by gdURI::GetDomainAndPathStr(), gdURI::GetPathNameStr(), gHInOpt::SetFromString(), gConfig::thisProcess(), and gArg::thisProgramName(). |
|
Definition at line 484 of file gstring.cpp. |
|
Definition at line 474 of file gstring.cpp. Referenced by sParamRaw::AddMember(), gdURI::GetRelativePathStr(), gdURI::IsValidDomain(), gdHttpURI::ParseProxyStr(), gUnweb::thisAddTxt(), gUnweb::thisConsolidateDataCoord(), and gArg::thisProcessParamElem(). |
|
Definition at line 549 of file gstring.cpp. Referenced by gdURI::GetDomainAndPathStr(), and InsertStr(). |
|
|
|
Definition at line 387 of file gstring.cpp. |
|
|
Implements gStorage. Definition at line 608 of file gstring.cpp. |
|
Definition at line 595 of file gstring.cpp. |
|
Definition at line 602 of file gstring.cpp. |
|
Definition at line 587 of file gstring.cpp. |
|
Definition at line 578 of file gstring.cpp. |
|
Definition at line 570 of file gstring.cpp. |
|
Definition at line 564 of file gstring.cpp. |
|
Reimplemented from gStringGeneric. Definition at line 624 of file gstring.cpp. |
|
Reimplemented from gStringGeneric. Definition at line 619 of file gstring.cpp. Referenced by gListGeneric::SaveGuts(). |
|
Reimplemented from gStorage. Definition at line 629 of file gstring.cpp. |
|
Definition at line 652 of file gstring.cpp. Referenced by Find(), thisFindBackOcc(), and thisFindFwdOcc(). |
|
Definition at line 680 of file gstring.cpp. Referenced by FindAnyChr(). |
|
Definition at line 756 of file gstring.cpp. Referenced by FindBack(). |
|
Definition at line 774 of file gstring.cpp. Referenced by thisFindBack(). |
|
Definition at line 795 of file gstring.cpp. Referenced by FindExcept(). |
|
Definition at line 716 of file gstring.cpp. Referenced by Find(). |
|
Definition at line 734 of file gstring.cpp. Referenced by thisFindFwd(). |
|
Definition at line 639 of file gstring.cpp. Referenced by Match(). |
|
Reimplemented from gStringGeneric. Reimplemented in gDirName. Definition at line 614 of file gstring.cpp. Referenced by gDirName::ToString(). |
|
|
Definition at line 184 of file gstring.cpp. Referenced by Trim(). |
|
Definition at line 200 of file gstring.cpp. Referenced by gUnweb::thisConsolidateData(), gUnweb::thisPreProcess(), Trim(), and gHtmlContent::UpCaseAttributes(). |