YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::collection::List< T > Class Template Reference

#include <List.hpp>

Inheritance diagram for yap::collection::List< T >:
Collaboration diagram for yap::collection::List< T >:

List of all members.

Public Types

typedef T DataType
typedef std::list< DataTypeInnerType
typedef InnerType::size_type SizeType
typedef InnerType::iterator ItType
typedef InnerType::const_iterator ConstItType

Public Member Functions

 List ()
 List (const List< T > &copy)
Listoperator= (const List< T > &copy)
ItType begin ()
ConstItType begin () const
ItType Begin ()
ConstItType Begin () const
ItType end ()
ConstItType end () const
ItType End ()
ConstItType End () const
void Add (const T &data)
void Add (const List< T > &data)
void AddFront (const T &data)
void AddFront (const List< T > &data)
bool Contains (const T &data) const
bool Contains (const List< T > &data) const
void Remove (const T &data)
void RemoveFront ()
void RemoveBack ()
void Clear ()
bool IsEmpty () const
SizeType Count () const
template<typename C >
void Sort ()

Private Attributes

InnerType data_

Detailed Description

template<typename T>
class yap::collection::List< T >

Definition at line 14 of file List.hpp.


Member Typedef Documentation

template<typename T>
typedef InnerType::const_iterator yap::collection::List< T >::ConstItType

Definition at line 22 of file List.hpp.

template<typename T>
typedef T yap::collection::List< T >::DataType

Definition at line 18 of file List.hpp.

template<typename T>
typedef std::list<DataType> yap::collection::List< T >::InnerType

Definition at line 19 of file List.hpp.

template<typename T>
typedef InnerType::iterator yap::collection::List< T >::ItType

Definition at line 21 of file List.hpp.

template<typename T>
typedef InnerType::size_type yap::collection::List< T >::SizeType

Definition at line 20 of file List.hpp.


Constructor & Destructor Documentation

template<typename T >
yap::collection::List< T >::List ( )
inline

Definition at line 11 of file List.hxx.

template<typename T>
yap::collection::List< T >::List ( const List< T > &  copy)
inline

Definition at line 17 of file List.hxx.


Member Function Documentation

template<typename T>
void yap::collection::List< T >::Add ( const T &  data)
inline

Definition at line 82 of file List.hxx.

Here is the caller graph for this function:

template<typename T>
void yap::collection::List< T >::Add ( const List< T > &  data)
inline

Definition at line 88 of file List.hxx.

Here is the call graph for this function:

template<typename T>
void yap::collection::List< T >::AddFront ( const T &  data)
inline

Definition at line 94 of file List.hxx.

Here is the caller graph for this function:

template<typename T>
void yap::collection::List< T >::AddFront ( const List< T > &  data)
inline

Definition at line 100 of file List.hxx.

Here is the call graph for this function:

template<typename T >
List< T >::ItType yap::collection::List< T >::begin ( )
inline

Definition at line 34 of file List.hxx.

Here is the caller graph for this function:

template<typename T >
List< T >::ConstItType yap::collection::List< T >::begin ( ) const
inline

Definition at line 40 of file List.hxx.

template<typename T >
List< T >::ItType yap::collection::List< T >::Begin ( )
inline

Definition at line 46 of file List.hxx.

Here is the caller graph for this function:

template<typename T >
List< T >::ConstItType yap::collection::List< T >::Begin ( ) const
inline

Definition at line 52 of file List.hxx.

template<typename T >
void yap::collection::List< T >::Clear ( )
inline

Definition at line 146 of file List.hxx.

Here is the caller graph for this function:

template<typename T>
bool yap::collection::List< T >::Contains ( const T &  data) const
inline

Definition at line 106 of file List.hxx.

template<typename T>
bool yap::collection::List< T >::Contains ( const List< T > &  data) const
inline

Definition at line 112 of file List.hxx.

template<typename T >
List< T >::SizeType yap::collection::List< T >::Count ( ) const
inline

Definition at line 158 of file List.hxx.

template<typename T >
List< T >::ItType yap::collection::List< T >::end ( )
inline

Definition at line 58 of file List.hxx.

Here is the caller graph for this function:

template<typename T >
List< T >::ConstItType yap::collection::List< T >::end ( ) const
inline

Definition at line 64 of file List.hxx.

template<typename T >
List< T >::ItType yap::collection::List< T >::End ( )
inline

Definition at line 70 of file List.hxx.

Here is the caller graph for this function:

template<typename T >
List< T >::ConstItType yap::collection::List< T >::End ( ) const
inline

Definition at line 76 of file List.hxx.

template<typename T >
bool yap::collection::List< T >::IsEmpty ( ) const
inline

Definition at line 152 of file List.hxx.

template<typename T>
List< T > & yap::collection::List< T >::operator= ( const List< T > &  copy)
inline

Definition at line 23 of file List.hxx.

template<typename T>
void yap::collection::List< T >::Remove ( const T &  data)
inline

Definition at line 122 of file List.hxx.

Here is the caller graph for this function:

template<typename T >
void yap::collection::List< T >::RemoveBack ( )
inline

Definition at line 137 of file List.hxx.

template<typename T >
void yap::collection::List< T >::RemoveFront ( )
inline

Definition at line 128 of file List.hxx.

template<typename T >
template<typename C >
void yap::collection::List< T >::Sort ( )
inline

Definition at line 165 of file List.hxx.

Here is the caller graph for this function:


Member Data Documentation

template<typename T>
InnerType yap::collection::List< T >::data_
private

Definition at line 61 of file List.hpp.


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