My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
DirSDict Class Reference

#include <dirdef.h>

Inheritance diagram for DirSDict:
SDict< DirDef >

Public Member Functions

 DirSDict (int size)
 
int compareValues (const DirDef *item1, const DirDef *item2) const
 
- Public Member Functions inherited from SDict< DirDef >
 SDict (int size=17, bool caseSensitive=TRUE)
 
virtual ~SDict ()
 
void append (const char *key, const DirDef *d)
 
void prepend (const char *key, const DirDef *d)
 
bool remove (const char *key)
 
DirDeftake (const char *key)
 
void sort ()
 
void inSort (const char *key, const DirDef *d)
 
void insertAt (int i, const char *key, const DirDef *d)
 
void setAutoDelete (bool val)
 
DirDeffind (const char *key)
 
DirDeffind (const QCString &key)
 
DirDeffind (const QString &key)
 
int findAt (const QCString &key)
 
DirDefoperator[] (const char *key) const
 
DirDefat (uint i)
 
void clear ()
 
int count () const
 

Detailed Description

A sorted dictionary of DirDef objects.

Definition at line 173 of file dirdef.h.

Constructor & Destructor Documentation

DirSDict::DirSDict ( int  size)
inline

Definition at line 176 of file dirdef.h.

: SDict<DirDef>(size) {}

Member Function Documentation

int DirSDict::compareValues ( const DirDef item1,
const DirDef item2 
) const
inlinevirtual

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

See Also
inSort()

Reimplemented from SDict< DirDef >.

Definition at line 177 of file dirdef.h.

References DirDef::shortName().

{
return qstricmp(item1->shortName(),item2->shortName());
}

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