KVIrc 5.2.6
Developer APIs
KviPointerList.h File Reference

C++ Template based double linked pointer list class. More...

#include "kvi_settings.h"

Go to the source code of this file.

Classes

class  KviPointerList< T >
 A template double linked list of pointers. More...
 
class  KviPointerListIterator< T >
 A fast KviPointerList iterator. More...
 
class  KviPointerListNode
 A KviPointerList node pointers. More...
 

Macros

#define KviPointerListBase   KviPointerList
 

Functions

template<typename T >
int kvi_compare (const T *p1, const T *p2)
 

Detailed Description

C++ Template based double linked pointer list class.

Author
Szymon Stefanek

Qt changes the collection classes too much and too frequently. I think we need to be independent of that to the maximum degree possible. That's why we have our own fast pointer list class. This does not depend on Qt AT ALL and has an interface similar to the Qt<=3.x series. The pointer lists with the autodelete feature was great and I don't completely understand why they have been removed from Qt4 in favor of the value based non-autodeleting lists... anyway: here we go :)

Macro Definition Documentation

◆ KviPointerListBase

#define KviPointerListBase   KviPointerList

Function Documentation

◆ kvi_compare()

template<typename T >
int kvi_compare ( const T * p1,
const T * p2 )