#include <glist.h>
Inheritance diagram for gListGeneric:
Public Types | |
enum | eListStrategy { e_LstDefault, e_LstPointer, e_LstHash } |
enum | eListIndexes { e_LstIdx1toN, e_LstIdx1toNstrict, e_LstIdx0Unused } |
Public Member Functions | |
virtual | ~gListGeneric () |
virtual bool | IsEmpty () |
virtual unsigned | N () |
virtual bool | IsValidIndex (unsigned idx) |
virtual char * | Str (unsigned idx) |
virtual t_uchar * | UStr (unsigned idx) |
virtual gElem & | GetElement (unsigned idx) |
virtual gElem * | GetElementPtr (unsigned idx) |
virtual gStorage * | GetObjectPtr (unsigned idx) |
virtual gStorage * | GetFirstObjectPtr () |
virtual gStorage * | GetLastObjectPtr () |
virtual eStorage | ElementsKind () |
virtual int | MinimumStorageSize () |
virtual int | MaximumStorageSize () |
virtual void | Reset () |
virtual unsigned | Delete (unsigned startPos=0, unsigned endPos=0) |
virtual bool | SetCaseSense (bool doCaseSense) |
virtual bool | AppendObject (gStorage *newObj) |
virtual gElem * | StartPtr () |
virtual gElem * | EndPtr () |
virtual gStorage * | NewObject () |
virtual t_uchar * | ToString (t_uchar *uBuf) |
virtual bool | SaveGuts (FILE *f) |
virtual bool | RestoreGuts (FILE *f) |
Protected Member Functions | |
gListGeneric (eStorage aKind, eListStrategy aStgy, eListIndexes aLstIdxs) | |
void | thisPreAllocate (unsigned toSize) |
unsigned | thisDelete () |
bool | thisIndex (unsigned &idx) |
bool | thisAppend (gStorage *newObj) |
Protected Attributes | |
unsigned | size |
unsigned | preMaxSize |
unsigned | maxSize |
eListIndexes | lstIdxs |
eListStrategy | stgy |
gUCharBuffer | genUCharBuf |
gElem * | pStart |
gElem * | pEnd |
gElem * | pCurrent |
bool | doIgnoreCase |
|
|
|
|
|
|
|
|
|
Definition at line 104 of file glist.h. Referenced by sCoordText::AddCoordToList(), gParamVal::AddToList(), gListInt::Append(), gHList::AppendCouple(), gHAttrs::BuildFromLRLists(), gList::CopyList(), gStack::Push(), gHtmlContent::thisAddCouple(), gHash::thisAddElem(), gArrayCollect::thisAddIntoList(), and gConfig::thisAddLineToList(). |
|
|
|
|
Definition at line 114 of file glist.h. Referenced by gStack::GetCurrent(). |
|
|
|
Definition at line 148 of file glist.cpp. Referenced by gList::CopyList(), Delete(), GetObjectPtr(), and gList::Show(). |
|
Definition at line 162 of file glist.cpp. Referenced by gArrayCollect::GetFirstObjectPtr(). |
|
Definition at line 168 of file glist.cpp. Referenced by gdSnarfCont::Add(), and gArrayCollect::GetLastObjectPtr(). |
|
|
Reimplemented in gHTree. Definition at line 67 of file glist.h. Referenced by gdHCouple::CopyNormalizeAttr(). |
|
Definition at line 97 of file glist.cpp. Referenced by gHParsed::GetCouple(), and gHtmlContent::GetCouple(). |
|
Reimplemented from gStorage. |
|
Reimplemented from gStorage. |
|
|
Implements gStorage. Reimplemented in gParamElem. |
|
Reimplemented from gStorage. Reimplemented in gHAttrs, gHAType, and gHTree. Definition at line 94 of file glist.h. Referenced by gHtmlCouple::CopyTag(), gHTree::Reset(), gHAType::Reset(), and gHAttrs::Reset(). |
|
Implements gStorage. Reimplemented in gArg, gDirGeneric, and gList. Definition at line 273 of file glist.cpp. Referenced by gList::RestoreGuts(). |
|
Implements gStorage. Reimplemented in gArg, gDirGeneric, and gList. Definition at line 260 of file glist.cpp. Referenced by gList::SaveGuts(). |
|
Definition at line 100 of file glist.h. Referenced by gXHttpReplyHeader::IsText(), and gHAttrs::TypeEnumToSmartL(). |
|
|
|
|
Definition at line 329 of file glist.cpp. Referenced by gList::Add(), AppendObject(), and gDir::thisAddSystemName(). |
|
Definition at line 287 of file glist.cpp. Referenced by gList::CopyList(), Delete(), gDir::gDir(), and ~gListGeneric(). |
|
Definition at line 305 of file glist.cpp. Referenced by Delete(), ElementsKind(), GetElement(), GetElementPtr(), gList::GetInt(), gList::GetUInt(), IsValidIndex(), and Str(). |
|
Definition at line 278 of file glist.cpp. Referenced by gListGeneric(). |
|
Implements gStorage. Reimplemented in gArg, gDirGeneric, and gList. Definition at line 247 of file glist.cpp. Referenced by gList::ToString(). |
|
|
|
Definition at line 136 of file glist.h. Referenced by gList::Match(), gSmartList::MatchWhere(), SetCaseSense(), and gList::thisFind(). |
|
Definition at line 132 of file glist.h. Referenced by Str(). |
|
Definition at line 130 of file glist.h. Referenced by gListGeneric(), and thisIndex(). |
|
|
|
Definition at line 135 of file glist.h. Referenced by Delete(), ElementsKind(), GetElement(), GetElementPtr(), gList::GetInt(), gList::GetUInt(), Str(), thisAppend(), thisDelete(), thisIndex(), and thisPreAllocate(). |
|
Reimplemented in gHTree. Definition at line 134 of file glist.h. Referenced by Delete(), EndPtr(), GetLastObjectPtr(), thisAppend(), and thisDelete(). |
|
Definition at line 129 of file glist.h. Referenced by gListGeneric(). |
|
Reimplemented in gHTree. Definition at line 133 of file glist.h. Referenced by Delete(), ElementsKind(), GetFirstObjectPtr(), StartPtr(), thisAppend(), thisDelete(), and thisIndex(). |
|
Definition at line 129 of file glist.h. Referenced by gList::Add(), Delete(), ElementsKind(), IsEmpty(), N(), thisAppend(), thisDelete(), and thisIndex(). |
|
Definition at line 131 of file glist.h. Referenced by thisPreAllocate(). |