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

#include <membername.h>

Inheritance diagram for MemberNameInfoSDict:
SDict< MemberNameInfo >

Public Member Functions

 MemberNameInfoSDict (int size)
 
 ~MemberNameInfoSDict ()
 
- Public Member Functions inherited from SDict< MemberNameInfo >
 SDict (int size=17, bool caseSensitive=TRUE)
 
virtual ~SDict ()
 
void append (const char *key, const MemberNameInfo *d)
 
void prepend (const char *key, const MemberNameInfo *d)
 
bool remove (const char *key)
 
MemberNameInfotake (const char *key)
 
void sort ()
 
void inSort (const char *key, const MemberNameInfo *d)
 
void insertAt (int i, const char *key, const MemberNameInfo *d)
 
void setAutoDelete (bool val)
 
MemberNameInfofind (const char *key)
 
MemberNameInfofind (const QCString &key)
 
MemberNameInfofind (const QString &key)
 
int findAt (const QCString &key)
 
MemberNameInfooperator[] (const char *key) const
 
MemberNameInfoat (uint i)
 
void clear ()
 
int count () const
 

Private Member Functions

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

Detailed Description

Sorted dictionary of MemberNameInfo objects.

Definition at line 92 of file membername.h.

Constructor & Destructor Documentation

MemberNameInfoSDict::MemberNameInfoSDict ( int  size)
inline

Definition at line 95 of file membername.h.

decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
Definition: StdUtils.h:92
MemberNameInfoSDict::~MemberNameInfoSDict ( )
inline

Definition at line 96 of file membername.h.

96 {}

Member Function Documentation

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

Definition at line 98 of file membername.h.

99  {
100  return qstricmp(item1->memberName(), item2->memberName());
101  }
int qstricmp(const char *str1, const char *str2)
Definition: qcstring.cpp:567
const char * memberName() const
Definition: membername.h:77

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