Public Member Functions | Public Attributes

KListNode< T > Class Template Reference

Search for all occurrences

Detailed Description

template<typename T>
class KListNode< T >

Definition at line 55 of file kintrusivelist.h.

#include <kintrusivelist.h>

List of all members.

Public Member Functions

  KListNode (T *pData=0)
  ~KListNode ()
void  Disconnect ()

Public Attributes

NodeT mNext
NodeT mPrev
T *  mData

Constructor & Destructor Documentation

KListNode ( T *  pData = 0 ) [inline, explicit]

Definition at line 60 of file kintrusivelist.h.

:mNext(0),mPrev(0),mData(pData){}
~KListNode ( ) [inline]

Definition at line 61 of file kintrusivelist.h.

    {
        Disconnect();
    }

Member Function Documentation

void Disconnect ( ) [inline]

Definition at line 66 of file kintrusivelist.h.

    {
        if ( mPrev != 0 )
            mPrev->mNext = mNext;

        if ( mNext != 0 )
            mNext->mPrev = mPrev;

        mPrev = mNext = 0;
    }

Member Data Documentation

Definition at line 77 of file kintrusivelist.h.

Definition at line 78 of file kintrusivelist.h.

T* mData

Definition at line 80 of file kintrusivelist.h.


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