KVIrc  4.9.2
DeveloperAPIs
Classes | Macros | Functions
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  KviPointerList< T >
 A template double linked list of pointers. More...
 
class  KviPointerListIterator< T >
 A fast KviPointerList iterator. More...
 
class  KviPointerListIterator< T >
 A fast KviPointerList iterator. More...
 
class  KviPointerListNode
 A KviPointerList node pointers. More...
 

Macros

#define KviPointerListBase   KviPointerList
 
#define NULL   0
 

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 completly understand why they have been removed from Qt4 in favor of the value based non-autodeleting lists... anyway: here we go :)

Macro Definition Documentation

#define KviPointerListBase   KviPointerList
char s char s char s s s s s char char c s *s c s s s d c s *s d c d d d d c s *s d c s *s d c s *s d c s char char char char char * NULL   0

Referenced by KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::append(), KviPointerListIterator< KviPointerHashTableEntry< Key, T > >::current(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::first(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::grabFirstAndPrepend(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::isEmpty(), KviPointerListIterator< KviPointerHashTableEntry< Key, T > >::isValid(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::iteratorAt(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::iteratorAtRef(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::KviPointerList(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::last(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::merge(), KviPointerListIterator< KviPointerHashTableEntry< Key, T > >::moveFirst(), KviPointerListIterator< KviPointerHashTableEntry< Key, T > >::moveLast(), KviPointerListIterator< KviPointerHashTableEntry< Key, T > >::moveNext(), KviPointerListIterator< KviPointerHashTableEntry< Key, T > >::movePrev(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::next(), KviPointerListIterator< KviPointerHashTableEntry< Key, T > >::operator*(), KviPointerListIterator< KviPointerHashTableEntry< Key, T > >::operator++(), KviPointerListIterator< KviPointerHashTableEntry< Key, T > >::operator--(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::prepend(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::prev(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::removeCurrentSafe(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::removeFirst(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::removeLast(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::safeCurrent(), KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::takeFirst(), and KviPointerList< KviPointerHashTableEntry< QString, KviAction > >::takeLast().

Function Documentation

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