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

#include <dot.h>

Inheritance diagram for DotNodeList:
QList< DotNode > QGList

Public Member Functions

 DotNodeList ()
 
 ~DotNodeList ()
 
- Public Member Functions inherited from QList< DotNode >
 QList ()
 
 QList (const QList< DotNode > &l)
 
 ~QList ()
 
QList< DotNode > & operator= (const QList< DotNode > &l)
 
bool operator== (const QList< DotNode > &list) const
 
uint count () const
 
bool isEmpty () const
 
bool insert (uint i, const DotNode *d)
 
void inSort (const DotNode *d)
 
void prepend (const DotNode *d)
 
void append (const DotNode *d)
 
bool remove (uint i)
 
bool remove (const DotNode *d)
 
bool removeRef (const DotNode *d)
 
bool removeFirst ()
 
bool removeLast ()
 
DotNodetake (uint i)
 
void clear ()
 
void sort ()
 
int find (const DotNode *d) const
 
int findRef (const DotNode *d) const
 
uint contains (const DotNode *d) const
 
uint containsRef (const DotNode *d) const
 
DotNodeat (uint i) const
 
DotNodegetFirst () const
 
DotNodegetLast () const
 
void setAutoDelete (bool enable)
 

Private Member Functions

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

Detailed Description

Class representing a list of DotNode objects.

Definition at line 138 of file dot.h.

Constructor & Destructor Documentation

DotNodeList::DotNodeList ( )
inline

Definition at line 141 of file dot.h.

DotNodeList::~DotNodeList ( )
inline

Definition at line 142 of file dot.h.

142 {}

Member Function Documentation

int DotNodeList::compareValues ( const DotNode n1,
const DotNode n2 
) const
privatevirtual

Reimplemented from QList< DotNode >.

Definition at line 786 of file dot.cpp.

787 {
788  return qstricmp(n1->m_label,n2->m_label);
789 }
int qstricmp(const char *str1, const char *str2)
Definition: qcstring.cpp:567
QCString m_label
label text
Definition: dot.h:104

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