OpenMW
Public Member Functions | Private Attributes
Misc::List< Elem > Struct Template Reference

#include <list.hpp>

List of all members.

Public Member Functions

 List ()
void reset ()
void insert (Elem *p)
void remove (Elem *p)
Elem * pop ()
void swap (List &other)
void absorb (List &other)
void absorb (Elem *first, Elem *last, int num)
Elem * getHead () const
Elem * getTail () const
unsigned int getNum () const

Private Attributes

Elem * head
Elem * tail
unsigned int totalNum

template<typename Elem>
struct Misc::List< Elem >


Constructor & Destructor Documentation

template<typename Elem >
Misc::List< Elem >::List ( ) [inline]

Member Function Documentation

template<typename Elem >
void Misc::List< Elem >::absorb ( List< Elem > &  other) [inline]
template<typename Elem >
void Misc::List< Elem >::absorb ( Elem *  first,
Elem *  last,
int  num 
) [inline]
template<typename Elem >
Elem* Misc::List< Elem >::getHead ( ) const [inline]
template<typename Elem >
unsigned int Misc::List< Elem >::getNum ( ) const [inline]
template<typename Elem >
Elem* Misc::List< Elem >::getTail ( ) const [inline]
template<typename Elem >
void Misc::List< Elem >::insert ( Elem *  p) [inline]
template<typename Elem >
Elem* Misc::List< Elem >::pop ( ) [inline]
template<typename Elem >
void Misc::List< Elem >::remove ( Elem *  p) [inline]
template<typename Elem >
void Misc::List< Elem >::reset ( ) [inline]
template<typename Elem >
void Misc::List< Elem >::swap ( List< Elem > &  other) [inline]

Member Data Documentation

template<typename Elem >
Elem* Misc::List< Elem >::head [private]
template<typename Elem >
Elem* Misc::List< Elem >::tail [private]
template<typename Elem >
unsigned int Misc::List< Elem >::totalNum [private]

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