Public Member Functions | Private Member Functions | List of all members
IndexFieldSDict Class Reference
Inheritance diagram for IndexFieldSDict:
SDict< IndexField >

Public Member Functions

 IndexFieldSDict ()
 
 ~IndexFieldSDict ()
 
- Public Member Functions inherited from SDict< IndexField >
 SDict (int size=17, bool caseSensitive=TRUE)
 
virtual ~SDict ()
 
void append (const char *key, const IndexField *d)
 
void prepend (const char *key, const IndexField *d)
 
bool remove (const char *key)
 
IndexFieldtake (const char *key)
 
void sort ()
 
void inSort (const char *key, const IndexField *d)
 
void insertAt (int i, const char *key, const IndexField *d)
 
void setAutoDelete (bool val)
 
IndexFieldfind (const char *key)
 
IndexFieldfind (const QCString &key)
 
IndexFieldfind (const QString &key)
 
int findAt (const QCString &key)
 
IndexFieldoperator[] (const char *key) const
 
IndexFieldat (uint i)
 
void clear ()
 
int count () const
 

Private Member Functions

int compareValues (const IndexField *item1, const IndexField *item2) const
 

Detailed Description

Sorted dictionary of IndexField objects.

Definition at line 53 of file htmlhelp.cpp.

Constructor & Destructor Documentation

IndexFieldSDict::IndexFieldSDict ( )
inline

Definition at line 56 of file htmlhelp.cpp.

IndexFieldSDict::~IndexFieldSDict ( )
inline

Definition at line 57 of file htmlhelp.cpp.

57 {}

Member Function Documentation

int IndexFieldSDict::compareValues ( const IndexField item1,
const IndexField item2 
) const
inlineprivatevirtual

Function that is used to compare two items when sorting. Overload this to properly sort items.

See also
inSort()

Reimplemented from SDict< IndexField >.

Definition at line 59 of file htmlhelp.cpp.

60  {
61  return qstricmp(item1->name,item2->name);
62  }
int qstricmp(const char *str1, const char *str2)
Definition: qcstring.cpp:567
QCString name
Definition: htmlhelp.cpp:45

The documentation for this class was generated from the following file: