Public Member Functions | List of all members
DefinitionList Class Reference

#include <definition.h>

Inheritance diagram for DefinitionList:
QList< Definition > DefinitionIntf QGList

Public Member Functions

 ~DefinitionList ()
 
DefType definitionType () const
 
int compareValues (const Definition *item1, const Definition *item2) const
 
- Public Member Functions inherited from QList< Definition >
 QList ()
 
 QList (const QList< Definition > &l)
 
 ~QList ()
 
QList< Definition > & operator= (const QList< Definition > &l)
 
bool operator== (const QList< Definition > &list) const
 
uint count () const
 
bool isEmpty () const
 
bool insert (uint i, const Definition *d)
 
void inSort (const Definition *d)
 
void prepend (const Definition *d)
 
void append (const Definition *d)
 
bool remove (uint i)
 
bool remove (const Definition *d)
 
bool removeRef (const Definition *d)
 
bool removeFirst ()
 
bool removeLast ()
 
Definitiontake (uint i)
 
void clear ()
 
void sort ()
 
int find (const Definition *d) const
 
int findRef (const Definition *d) const
 
uint contains (const Definition *d) const
 
uint containsRef (const Definition *d) const
 
Definitionat (uint i) const
 
DefinitiongetFirst () const
 
DefinitiongetLast () const
 
void setAutoDelete (bool enable)
 
- Public Member Functions inherited from DefinitionIntf
 DefinitionIntf ()
 
virtual ~DefinitionIntf ()
 

Additional Inherited Members

- Public Types inherited from DefinitionIntf
enum  DefType {
  TypeClass = 0, TypeFile = 1, TypeNamespace = 2, TypeMember = 3,
  TypeGroup = 4, TypePackage = 5, TypePage = 6, TypeDir = 7,
  TypeSymbolList = 8
}
 

Detailed Description

A list of Definition objects.

Definition at line 381 of file definition.h.

Constructor & Destructor Documentation

DefinitionList::~DefinitionList ( )
inline

Definition at line 384 of file definition.h.

384 {}

Member Function Documentation

int DefinitionList::compareValues ( const Definition item1,
const Definition item2 
) const
inlinevirtual

Reimplemented from QList< Definition >.

Definition at line 386 of file definition.h.

387  {
388  return qstricmp(item1->name(),item2->name());
389  }
const QCString & name() const
Definition: definition.h:114
int qstricmp(const char *str1, const char *str2)
Definition: qcstring.cpp:567
DefType DefinitionList::definitionType ( ) const
inlinevirtual

Use this for dynamic inspection of the type of the derived class

Implements DefinitionIntf.

Definition at line 385 of file definition.h.


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