RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
RT::List< T > Class Template Reference

#include <rt.h>

Classes

class  const_iterator
 
class  InsertListNodeEvent
 
class  iterator
 
class  Node
 
class  RemoveListNodeEvent
 

Public Member Functions

 List (void)
 
virtual ~List (void)
 
size_t size (void) const
 
bool empty (void) const
 
iterator begin (void)
 
iterator end (void)
 
const_iterator begin (void) const
 
const_iterator end (void) const
 
void insert (iterator, T &)
 
void insertRT (iterator position, T &node)
 
void remove (T &)
 
void removeRT (T &node)
 

Private Attributes

size_t count
 
Nodehead
 
Node tail
 

Detailed Description

template<typename T>
class RT::List< T >

Definition at line 98 of file rt.h.

Constructor & Destructor Documentation

template<typename T>
RT::List< T >::List(void )
inline

Definition at line 249 of file rt.h.

template<typename T>
virtual RT::List< T >::~List(void )
inlinevirtual

Definition at line 251 of file rt.h.

Member Function Documentation

template<typename T>
iterator RT::List< T >::begin(void )
inline

Definition at line 268 of file rt.h.

template<typename T>
const_iterator RT::List< T >::begin(void )const
inline

Definition at line 277 of file rt.h.

template<typename T>
bool RT::List< T >::empty(void )const
inline

Definition at line 263 of file rt.h.

template<typename T>
iterator RT::List< T >::end(void )
inline

Definition at line 272 of file rt.h.

template<typename T>
const_iterator RT::List< T >::end(void )const
inline

Definition at line 281 of file rt.h.

template<typename T>
void RT::List< T >::insert(iterator position,
T & node 
)

Definition at line 595 of file rt.h.

template<typename T>
void RT::List< T >::insertRT(iterator position,
T & node 
)
inline

Definition at line 287 of file rt.h.

template<typename T>
void RT::List< T >::remove(T & node)

Definition at line 602 of file rt.h.

template<typename T>
void RT::List< T >::removeRT(T & node)
inline

Definition at line 302 of file rt.h.

template<typename T>
size_t RT::List< T >::size(void )const
inline

Definition at line 259 of file rt.h.

Member Data Documentation

template<typename T>
size_t RT::List< T >::count
private

Definition at line 359 of file rt.h.

template<typename T>
Node* RT::List< T >::head
private

Definition at line 360 of file rt.h.

template<typename T>
Node RT::List< T >::tail
private

Definition at line 360 of file rt.h.


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