Public Member Functions | Private Member Functions | Private Attributes | List of all members
DefineName Class Reference

#include <define.h>

Inheritance diagram for DefineName:
QList< Define > QGList

Public Member Functions

 DefineName (const char *n)
 
 ~DefineName ()
 
const char * nameString () const
 
- Public Member Functions inherited from QList< Define >
 QList ()
 
 QList (const QList< Define > &l)
 
 ~QList ()
 
QList< Define > & operator= (const QList< Define > &l)
 
bool operator== (const QList< Define > &list) const
 
uint count () const
 
bool isEmpty () const
 
bool insert (uint i, const Define *d)
 
void inSort (const Define *d)
 
void prepend (const Define *d)
 
void append (const Define *d)
 
bool remove (uint i)
 
bool remove (const Define *d)
 
bool removeRef (const Define *d)
 
bool removeFirst ()
 
bool removeLast ()
 
Definetake (uint i)
 
void clear ()
 
void sort ()
 
int find (const Define *d) const
 
int findRef (const Define *d) const
 
uint contains (const Define *d) const
 
uint containsRef (const Define *d) const
 
Defineat (uint i) const
 
DefinegetFirst () const
 
DefinegetLast () const
 
void setAutoDelete (bool enable)
 

Private Member Functions

int compareValues (const Define *d1, const Define *d2) const
 

Private Attributes

QCString name
 

Detailed Description

A list of Define objects associated with a specific name.

Definition at line 65 of file define.h.

Constructor & Destructor Documentation

DefineName::DefineName ( const char *  n)
inline

Definition at line 68 of file define.h.

68 : QList<Define>() { name=n; }
QCString name
Definition: define.h:77
std::void_t< T > n
DefineName::~DefineName ( )
inline

Definition at line 69 of file define.h.

69 {}

Member Function Documentation

int DefineName::compareValues ( const Define d1,
const Define d2 
) const
inlineprivatevirtual

Reimplemented from QList< Define >.

Definition at line 73 of file define.h.

74  {
75  return qstricmp(d1->name,d2->name);
76  }
int qstricmp(const char *str1, const char *str2)
Definition: qcstring.cpp:567
QCString name
Definition: define.h:34
const char* DefineName::nameString ( ) const
inline

Definition at line 70 of file define.h.

70 { return name; }
QCString name
Definition: define.h:77

Member Data Documentation

QCString DefineName::name
private

Definition at line 77 of file define.h.


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