Public Member Functions | Private Member Functions | List of all members
PageSDict Class Reference

#include <pagedef.h>

Inheritance diagram for PageSDict:
SDict< PageDef >

Public Member Functions

 PageSDict (int size)
 
virtual ~PageSDict ()
 
- Public Member Functions inherited from SDict< PageDef >
 SDict (int size=17, bool caseSensitive=TRUE)
 
virtual ~SDict ()
 
void append (const char *key, const PageDef *d)
 
void prepend (const char *key, const PageDef *d)
 
bool remove (const char *key)
 
PageDeftake (const char *key)
 
void sort ()
 
void inSort (const char *key, const PageDef *d)
 
void insertAt (int i, const char *key, const PageDef *d)
 
void setAutoDelete (bool val)
 
PageDeffind (const char *key)
 
PageDeffind (const QCString &key)
 
PageDeffind (const QString &key)
 
int findAt (const QCString &key)
 
PageDefoperator[] (const char *key) const
 
PageDefat (uint i)
 
void clear ()
 
int count () const
 

Private Member Functions

int compareValues (const PageDef *i1, const PageDef *i2) const
 

Detailed Description

Definition at line 81 of file pagedef.h.

Constructor & Destructor Documentation

PageSDict::PageSDict ( int  size)
inline

Definition at line 84 of file pagedef.h.

84 : SDict<PageDef>(size) {}
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
Definition: StdUtils.h:92
virtual PageSDict::~PageSDict ( )
inlinevirtual

Definition at line 85 of file pagedef.h.

85 {}

Member Function Documentation

int PageSDict::compareValues ( const PageDef item1,
const PageDef 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< PageDef >.

Definition at line 87 of file pagedef.h.

88  {
89  return qstricmp(i1->name(),i2->name());
90  }
int qstricmp(const char *str1, const char *str2)
Definition: qcstring.cpp:567

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