KIntrusiveList Class Template Reference

#include <kintrusivelist.h>

List of all members.


Detailed Description

template<typename T, int NodeIndex = 0>
class KIntrusiveList< T, NodeIndex >

Definition at line 90 of file kintrusivelist.h.


Public Types

typedef T  allocator_type
typedef T  value_type
typedef T &  reference
typedef const T &  const_reference
typedef T *  pointer
typedef const T *  const_pointer
typedef KListNode< T >  NodeT
typedef IntrusiveListIterator  iterator
typedef IntrusiveListConstIterator  const_iterator

Public Member Functions

  KIntrusiveList ()
  ~KIntrusiveList ()
bool  Empty () const
void  PushBack (T &pElement)
void  PushFront (T &pElement)
void  PopFront ()
void  PopBack ()
iterator  Begin ()
const_iterator  Begin () const
iterator  End ()
const_iterator  End () const
reference  Front ()
const_reference  Front () const
reference  Back ()
const_reference  Back () const
iterator Erase (iterator &it)

Classes

class   IntrusiveListConstIterator
class   IntrusiveListIterator

Member Typedef Documentation

typedef T allocator_type

Definition at line 93 of file kintrusivelist.h.

typedef T value_type

Definition at line 94 of file kintrusivelist.h.

typedef T& reference

Definition at line 95 of file kintrusivelist.h.

typedef const T& const_reference

Definition at line 96 of file kintrusivelist.h.

typedef T* pointer

Definition at line 97 of file kintrusivelist.h.

typedef const T* const_pointer

Definition at line 98 of file kintrusivelist.h.

typedef KListNode<T> NodeT

Definition at line 101 of file kintrusivelist.h.

Definition at line 280 of file kintrusivelist.h.

Definition at line 281 of file kintrusivelist.h.


Constructor & Destructor Documentation

KIntrusiveList (  )  [inline]

Definition at line 104 of file kintrusivelist.h.

~KIntrusiveList (  )  [inline]

Definition at line 108 of file kintrusivelist.h.


Member Function Documentation

bool Empty (  )  const [inline]

void PushBack ( T &  pElement  )  [inline]

Definition at line 121 of file kintrusivelist.h.

void PushFront ( T &  pElement  )  [inline]

Definition at line 143 of file kintrusivelist.h.

void PopFront (  )  [inline]

Definition at line 165 of file kintrusivelist.h.

void PopBack (  )  [inline]

Definition at line 171 of file kintrusivelist.h.

iterator Begin (  )  [inline]

const_iterator Begin (  )  const [inline]

Definition at line 285 of file kintrusivelist.h.

iterator End (  )  [inline]

const_iterator End (  )  const [inline]

Definition at line 287 of file kintrusivelist.h.

reference Front (  )  [inline]

Definition at line 292 of file kintrusivelist.h.

const_reference Front (  )  const [inline]

Definition at line 293 of file kintrusivelist.h.

reference Back (  )  [inline]

Definition at line 294 of file kintrusivelist.h.

const_reference Back (  )  const [inline]

Definition at line 295 of file kintrusivelist.h.

iterator& Erase ( iterator it  )  [inline]