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

#include <define.h>

Inheritance diagram for DefineNameList:
QList< DefineName > QGList

Public Member Functions

 DefineNameList ()
 
 ~DefineNameList ()
 
- Public Member Functions inherited from QList< DefineName >
 QList ()
 
 QList (const QList< DefineName > &l)
 
 ~QList ()
 
QList< DefineName > & operator= (const QList< DefineName > &l)
 
bool operator== (const QList< DefineName > &list) const
 
uint count () const
 
bool isEmpty () const
 
bool insert (uint i, const DefineName *d)
 
void inSort (const DefineName *d)
 
void prepend (const DefineName *d)
 
void append (const DefineName *d)
 
bool remove (uint i)
 
bool remove (const DefineName *d)
 
bool removeRef (const DefineName *d)
 
bool removeFirst ()
 
bool removeLast ()
 
DefineNametake (uint i)
 
void clear ()
 
void sort ()
 
int find (const DefineName *d) const
 
int findRef (const DefineName *d) const
 
uint contains (const DefineName *d) const
 
uint containsRef (const DefineName *d) const
 
DefineNameat (uint i) const
 
DefineNamegetFirst () const
 
DefineNamegetLast () const
 
void setAutoDelete (bool enable)
 

Private Member Functions

int compareValues (const DefineName *n1, const DefineName *n2) const
 

Detailed Description

A list of DefineName objects.

Definition at line 81 of file define.h.

Constructor & Destructor Documentation

DefineNameList::DefineNameList ( )
inline

Definition at line 84 of file define.h.

DefineNameList::~DefineNameList ( )
inline

Definition at line 85 of file define.h.

85 {}

Member Function Documentation

int DefineNameList::compareValues ( const DefineName n1,
const DefineName n2 
) const
inlineprivatevirtual

Reimplemented from QList< DefineName >.

Definition at line 87 of file define.h.

88  {
89  return qstricmp(n1->nameString(),n2->nameString());
90  }
int qstricmp(const char *str1, const char *str2)
Definition: qcstring.cpp:567
const char * nameString() const
Definition: define.h:70

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