Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
PrefixIgnoreClassList Class Reference
Inheritance diagram for PrefixIgnoreClassList:
ClassList QList< ClassDef > QGList

Public Types

typedef ClassDef ElementType
 

Public Member Functions

 PrefixIgnoreClassList (uint letter)
 
uint letter () const
 
- Public Member Functions inherited from ClassList
 ClassList ()
 
 ~ClassList ()
 
- Public Member Functions inherited from QList< ClassDef >
 QList ()
 
 QList (const QList< ClassDef > &l)
 
 ~QList ()
 
QList< ClassDef > & operator= (const QList< ClassDef > &l)
 
bool operator== (const QList< ClassDef > &list) const
 
uint count () const
 
bool isEmpty () const
 
bool insert (uint i, const ClassDef *d)
 
void inSort (const ClassDef *d)
 
void prepend (const ClassDef *d)
 
void append (const ClassDef *d)
 
bool remove (uint i)
 
bool remove (const ClassDef *d)
 
bool removeRef (const ClassDef *d)
 
bool removeFirst ()
 
bool removeLast ()
 
ClassDeftake (uint i)
 
void clear ()
 
void sort ()
 
int find (const ClassDef *d) const
 
int findRef (const ClassDef *d) const
 
uint contains (const ClassDef *d) const
 
uint containsRef (const ClassDef *d) const
 
ClassDefat (uint i) const
 
ClassDefgetFirst () const
 
ClassDefgetLast () const
 
void setAutoDelete (bool enable)
 

Private Member Functions

virtual int compareValue (const ClassDef *c1, const ClassDef *c2) const
 

Private Attributes

uint m_letter
 

Detailed Description

Special class list where sorting takes IGNORE_PREFIX into account.

Definition at line 1680 of file index.cpp.

Member Typedef Documentation

Definition at line 1683 of file index.cpp.

Constructor & Destructor Documentation

PrefixIgnoreClassList::PrefixIgnoreClassList ( uint  letter)
inline

Definition at line 1684 of file index.cpp.

1684 : m_letter(letter) {}
uint letter() const
Definition: index.cpp:1685

Member Function Documentation

virtual int PrefixIgnoreClassList::compareValue ( const ClassDef c1,
const ClassDef c2 
) const
inlineprivatevirtual

Definition at line 1687 of file index.cpp.

1688  {
1689  QCString n1 = c1->className();
1690  QCString n2 = c2->className();
1691  return qstricmp (n1.data()+getPrefixIndex(n1), n2.data()+getPrefixIndex(n2));
1692  }
QCString className() const
Definition: classdef.cpp:3914
int qstricmp(const char *str1, const char *str2)
Definition: qcstring.cpp:567
const char * data() const
Definition: qcstring.h:207
int getPrefixIndex(const QCString &name)
Definition: util.cpp:5144
uint PrefixIgnoreClassList::letter ( ) const
inline

Definition at line 1685 of file index.cpp.

1685 { return m_letter; }

Member Data Documentation

uint PrefixIgnoreClassList::m_letter
private

Definition at line 1693 of file index.cpp.


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