Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::List< T, B > Class Template Reference

#include "OVR_List.h"

Inheritance diagram for OVR::List< T, B >:
Inheritance graph
Collaboration diagram for OVR::List< T, B >:
Collaboration graph

Public Types

typedef T ValueType
 

Public Member Functions

 List ()
 
void Clear ()
 
const ValueTypeGetFirst () const
 
const ValueTypeGetLast () const
 
ValueTypeGetFirst ()
 
ValueTypeGetLast ()
 
bool IsEmpty () const
 
bool IsFirst (const ValueType *p) const
 
bool IsLast (const ValueType *p) const
 
bool IsNull (const ValueType *p) const
 
void PushFront (ValueType *p)
 
void PushBack (ValueType *p)
 
void BringToFront (ValueType *p)
 
void SendToBack (ValueType *p)
 
void PushListToFront (List< T > &src)
 
void PushListToBack (List< T > &src)
 
void PushFollowingListItemsToFront (List< T > &src, ValueType *pfirst)
 
void PushPrecedingListItemsToFront (List< T > &src, ValueType *ptail)
 
void PushListItemsToFront (ValueType *pfirst, ValueType *pend)
 
void Alloc_MoveTo (List< T > *pdest)
 

Static Public Member Functions

static const ValueTypeGetPrev (const ValueType *p)
 
static const ValueTypeGetNext (const ValueType *p)
 
static ValueTypeGetPrev (ValueType *p)
 
static ValueTypeGetNext (ValueType *p)
 
static void Remove (ValueType *p)
 

Private Member Functions

 List (const List< T > &)
 
const List< T > & operator= (const List< T > &)
 

Private Attributes

ListNode< B > Root
 

Detailed Description

template<class T, class B = T>
class OVR::List< T, B >

Definition at line 134 of file OVR_List.h.

Member Typedef Documentation

template<class T, class B = T>
typedef T OVR::List< T, B >::ValueType

Definition at line 137 of file OVR_List.h.

Constructor & Destructor Documentation

template<class T, class B = T>
OVR::List< T, B >::List ( )
inline

Definition at line 139 of file OVR_List.h.

template<class T, class B = T>
OVR::List< T, B >::List ( const List< T > &  )
private

Member Function Documentation

template<class T, class B = T>
void OVR::List< T, B >::Alloc_MoveTo ( List< T > *  pdest)
inline

Definition at line 292 of file OVR_List.h.

template<class T, class B = T>
void OVR::List< T, B >::BringToFront ( ValueType p)
inline

Definition at line 189 of file OVR_List.h.

template<class T, class B = T>
void OVR::List< T, B >::Clear ( void  )
inline

Definition at line 144 of file OVR_List.h.

template<class T, class B = T>
const ValueType* OVR::List< T, B >::GetFirst ( ) const
inline

Definition at line 149 of file OVR_List.h.

template<class T, class B = T>
ValueType* OVR::List< T, B >::GetFirst ( )
inline

Definition at line 151 of file OVR_List.h.

template<class T, class B = T>
const ValueType* OVR::List< T, B >::GetLast ( ) const
inline

Definition at line 150 of file OVR_List.h.

template<class T, class B = T>
ValueType* OVR::List< T, B >::GetLast ( )
inline

Definition at line 152 of file OVR_List.h.

template<class T, class B = T>
static const ValueType* OVR::List< T, B >::GetNext ( const ValueType p)
inlinestatic

Definition at line 163 of file OVR_List.h.

template<class T, class B = T>
static ValueType* OVR::List< T, B >::GetNext ( ValueType p)
inlinestatic

Definition at line 165 of file OVR_List.h.

template<class T, class B = T>
static const ValueType* OVR::List< T, B >::GetPrev ( const ValueType p)
inlinestatic

Definition at line 162 of file OVR_List.h.

template<class T, class B = T>
static ValueType* OVR::List< T, B >::GetPrev ( ValueType p)
inlinestatic

Definition at line 164 of file OVR_List.h.

template<class T, class B = T>
bool OVR::List< T, B >::IsEmpty ( void  ) const
inline

Definition at line 157 of file OVR_List.h.

template<class T, class B = T>
bool OVR::List< T, B >::IsFirst ( const ValueType p) const
inline

Definition at line 158 of file OVR_List.h.

template<class T, class B = T>
bool OVR::List< T, B >::IsLast ( const ValueType p) const
inline

Definition at line 159 of file OVR_List.h.

template<class T, class B = T>
bool OVR::List< T, B >::IsNull ( const ValueType p) const
inline

Definition at line 160 of file OVR_List.h.

template<class T, class B = T>
const List<T>& OVR::List< T, B >::operator= ( const List< T > &  )
private
template<class T, class B = T>
void OVR::List< T, B >::PushBack ( ValueType p)
inline

Definition at line 175 of file OVR_List.h.

template<class T, class B = T>
void OVR::List< T, B >::PushFollowingListItemsToFront ( List< T > &  src,
ValueType pfirst 
)
inline

Definition at line 233 of file OVR_List.h.

template<class T, class B = T>
void OVR::List< T, B >::PushFront ( ValueType p)
inline

Definition at line 167 of file OVR_List.h.

template<class T, class B = T>
void OVR::List< T, B >::PushListItemsToFront ( ValueType pfirst,
ValueType pend 
)
inline

Definition at line 274 of file OVR_List.h.

template<class T, class B = T>
void OVR::List< T, B >::PushListToBack ( List< T > &  src)
inline

Definition at line 217 of file OVR_List.h.

template<class T, class B = T>
void OVR::List< T, B >::PushListToFront ( List< T > &  src)
inline

Definition at line 203 of file OVR_List.h.

template<class T, class B = T>
void OVR::List< T, B >::PushPrecedingListItemsToFront ( List< T > &  src,
ValueType ptail 
)
inline

Definition at line 252 of file OVR_List.h.

template<class T, class B = T>
static void OVR::List< T, B >::Remove ( ValueType p)
inlinestatic

Definition at line 183 of file OVR_List.h.

template<class T, class B = T>
void OVR::List< T, B >::SendToBack ( ValueType p)
inline

Definition at line 195 of file OVR_List.h.

Field Documentation

template<class T, class B = T>
ListNode<B> OVR::List< T, B >::Root
private

Definition at line 312 of file OVR_List.h.


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