replicode
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
mBrane::sdk::List< T, Size > Class Template Reference

#include <list.h>

Inheritance diagram for mBrane::sdk::List< T, Size >:
Inheritance graph
Collaboration diagram for mBrane::sdk::List< T, Size >:
Collaboration graph

Classes

class  _List
 
class  Iterator
 

Public Member Functions

 List ()
 
 ~List ()
 
uint32_t elementCount () const
 
void clear ()
 
Iterator addElementHead (T &t)
 
Iterator addElementTail (T &t)
 
Iterator addElement (T &t)
 
void removeElement (T *t)
 
Iterator begin ()
 
Iterator end ()
 

Protected Member Functions

ListElement< T > * getFreeSlot ()
 
void remove (ListElement< T > *o)
 
uint32_t removeReturnNext (ListElement< T > *o)
 
uint32_t removeReturnPrevious (ListElement< T > *o)
 
Iterator insertAfter (ListElement< T > *o, T &t)
 
Iterator insertBefore (ListElement< T > *o, T &t)
 

Protected Attributes

_List data
 
ListElement< T > * first
 
ListElement< T > * last
 
uint32_t _elementCount
 
ListElement< T > * firstFree
 
ListElement< T > * lastFree
 

Constructor & Destructor Documentation

template<typename T , uint16_t Size>
mBrane::sdk::List< T, Size >::List ( )

Here is the call graph for this function:

template<typename T , uint16_t Size>
mBrane::sdk::List< T, Size >::~List ( )

Member Function Documentation

template<typename T, uint16_t Size>
List< T, Size >::Iterator mBrane::sdk::List< T, Size >::addElement ( T &  t)
inline

Here is the call graph for this function:

template<typename T, uint16_t Size>
List< T, Size >::Iterator mBrane::sdk::List< T, Size >::addElementHead ( T &  t)
inline

Here is the call graph for this function:

template<typename T, uint16_t Size>
List< T, Size >::Iterator mBrane::sdk::List< T, Size >::addElementTail ( T &  t)
inline

Here is the call graph for this function:

template<typename T, uint16_t Size>
Iterator mBrane::sdk::List< T, Size >::begin ( )
inline

Here is the caller graph for this function:

template<typename T , uint16_t Size>
void mBrane::sdk::List< T, Size >::clear ( )
inline

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T , uint16_t Size>
uint32_t mBrane::sdk::List< T, Size >::elementCount ( ) const
inline
template<typename T, uint16_t Size>
Iterator mBrane::sdk::List< T, Size >::end ( )
inline
template<typename T , uint16_t Size>
ListElement< T > * mBrane::sdk::List< T, Size >::getFreeSlot ( )
inlineprotected

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T, uint16_t Size>
List< T, Size >::Iterator mBrane::sdk::List< T, Size >::insertAfter ( ListElement< T > *  o,
T &  t 
)
inlineprotected

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T, uint16_t Size>
List< T, Size >::Iterator mBrane::sdk::List< T, Size >::insertBefore ( ListElement< T > *  o,
T &  t 
)
inlineprotected

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename T, uint16_t Size>
void mBrane::sdk::List< T, Size >::remove ( ListElement< T > *  o)
inlineprotected

Here is the caller graph for this function:

template<typename T, uint16_t Size>
void mBrane::sdk::List< T, Size >::removeElement ( T *  t)
inline
template<typename T, uint16_t Size>
uint32_t mBrane::sdk::List< T, Size >::removeReturnNext ( ListElement< T > *  o)
inlineprotected

Here is the caller graph for this function:

template<typename T, uint16_t Size>
uint32_t mBrane::sdk::List< T, Size >::removeReturnPrevious ( ListElement< T > *  o)
inlineprotected

Here is the caller graph for this function:

Member Data Documentation

template<typename T, uint16_t Size>
uint32_t mBrane::sdk::List< T, Size >::_elementCount
protected
template<typename T, uint16_t Size>
_List mBrane::sdk::List< T, Size >::data
protected
template<typename T, uint16_t Size>
ListElement<T>* mBrane::sdk::List< T, Size >::first
protected
template<typename T, uint16_t Size>
ListElement<T>* mBrane::sdk::List< T, Size >::firstFree
protected
template<typename T, uint16_t Size>
ListElement<T>* mBrane::sdk::List< T, Size >::last
protected
template<typename T, uint16_t Size>
ListElement<T>* mBrane::sdk::List< T, Size >::lastFree
protected

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