ISLEman
Public Member Functions | Friends | List of all members
QLNode Class Reference

The QLNode class is an internal class for the QList template collection. More...

#include <qglist.h>

Public Member Functions

QCollection::Item getData ()
 

Friends

class QGList
 
class QGListIterator
 

Detailed Description

The QLNode class is an internal class for the QList template collection.

QLNode is a doubly linked list node; it has three pointers:

  1. Pointer to the previous node.
  2. Pointer to the next node.
  3. Pointer to the actual data.

Sometimes it might be practical to have direct access to the list nodes in a QList, but it is seldom required.

Warning
Be very careful if you want to access the list nodes. The heap can easily get corrupted if you make a mistake.
See also
QList::currentNode(), QList::removeNode(), QList::takeNode()

Member Function Documentation

§ getData()

QCollection::Item QLNode::getData ( )
inline

Returns a pointer (void*) to the actual data in the list node.


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