YAPOG  0.0.1
Yet Another Pokemon Online Game
yap::collection::Map< K, V > Class Template Reference

#include <Map.hpp>

Inheritance diagram for yap::collection::Map< K, V >:
Collaboration diagram for yap::collection::Map< K, V >:

List of all members.

Public Types

typedef K KeyType
typedef V ValueType
typedef std::map< KeyType,
ValueType
InnerType
typedef InnerType::value_type DataType
typedef InnerType::size_type SizeType
typedef InnerType::iterator ItType
typedef InnerType::const_iterator ConstItType

Public Member Functions

 Map ()
 Map (const Map< K, V > &copy)
Mapoperator= (const Map< K, V > &copy)
ItType begin ()
ConstItType begin () const
ItType Begin ()
ConstItType Begin () const
ItType end ()
ConstItType end () const
ItType End ()
ConstItType End () const
void Add (const K &key, const V &value)
void Add (const Map< K, V > &data)
V * TryGetValue (const K &key)
bool Contains (const K &key) const
void Remove (const K &key)
void Clear ()
bool IsEmpty () const
SizeType Count () const
V & operator[] (const K &key)
const V & operator[] (const K &key) const

Private Attributes

InnerType data_

Detailed Description

template<typename K, typename V>
class yap::collection::Map< K, V >

Definition at line 13 of file Map.hpp.


Member Typedef Documentation

template<typename K, typename V>
typedef InnerType::const_iterator yap::collection::Map< K, V >::ConstItType

Definition at line 23 of file Map.hpp.

template<typename K, typename V>
typedef InnerType::value_type yap::collection::Map< K, V >::DataType

Definition at line 20 of file Map.hpp.

template<typename K, typename V>
typedef std::map<KeyType, ValueType> yap::collection::Map< K, V >::InnerType

Definition at line 19 of file Map.hpp.

template<typename K, typename V>
typedef InnerType::iterator yap::collection::Map< K, V >::ItType

Definition at line 22 of file Map.hpp.

template<typename K, typename V>
typedef K yap::collection::Map< K, V >::KeyType

Definition at line 17 of file Map.hpp.

template<typename K, typename V>
typedef InnerType::size_type yap::collection::Map< K, V >::SizeType

Definition at line 21 of file Map.hpp.

template<typename K, typename V>
typedef V yap::collection::Map< K, V >::ValueType

Definition at line 18 of file Map.hpp.


Constructor & Destructor Documentation

template<typename K , typename V >
yap::collection::Map< K, V >::Map ( )
inline

Definition at line 9 of file Map.hxx.

template<typename K, typename V>
yap::collection::Map< K, V >::Map ( const Map< K, V > &  copy)
inline

Definition at line 15 of file Map.hxx.


Member Function Documentation

template<typename K, typename V>
void yap::collection::Map< K, V >::Add ( const K &  key,
const V &  value 
)
inline

Definition at line 80 of file Map.hxx.

Here is the caller graph for this function:

template<typename K, typename V>
void yap::collection::Map< K, V >::Add ( const Map< K, V > &  data)
inline

Definition at line 86 of file Map.hxx.

Here is the call graph for this function:

template<typename K , typename V >
Map< K, V >::ItType yap::collection::Map< K, V >::begin ( )
inline

Definition at line 32 of file Map.hxx.

Here is the caller graph for this function:

template<typename K , typename V >
Map< K, V >::ConstItType yap::collection::Map< K, V >::begin ( ) const
inline

Definition at line 38 of file Map.hxx.

template<typename K , typename V >
Map< K, V >::ItType yap::collection::Map< K, V >::Begin ( )
inline

Definition at line 44 of file Map.hxx.

Here is the caller graph for this function:

template<typename K , typename V >
Map< K, V >::ConstItType yap::collection::Map< K, V >::Begin ( ) const
inline

Definition at line 50 of file Map.hxx.

template<typename K , typename V >
void yap::collection::Map< K, V >::Clear ( )
inline

Definition at line 112 of file Map.hxx.

Here is the caller graph for this function:

template<typename K, typename V >
bool yap::collection::Map< K, V >::Contains ( const K &  key) const
inline

Definition at line 100 of file Map.hxx.

Here is the caller graph for this function:

template<typename K , typename V >
Map< K, V >::SizeType yap::collection::Map< K, V >::Count ( ) const
inline

Definition at line 124 of file Map.hxx.

Here is the caller graph for this function:

template<typename K , typename V >
Map< K, V >::ItType yap::collection::Map< K, V >::end ( )
inline

Definition at line 56 of file Map.hxx.

Here is the caller graph for this function:

template<typename K , typename V >
Map< K, V >::ConstItType yap::collection::Map< K, V >::end ( ) const
inline

Definition at line 62 of file Map.hxx.

template<typename K , typename V >
Map< K, V >::ItType yap::collection::Map< K, V >::End ( )
inline

Definition at line 68 of file Map.hxx.

Here is the caller graph for this function:

template<typename K , typename V >
Map< K, V >::ConstItType yap::collection::Map< K, V >::End ( ) const
inline

Definition at line 74 of file Map.hxx.

template<typename K , typename V >
bool yap::collection::Map< K, V >::IsEmpty ( ) const
inline

Definition at line 118 of file Map.hxx.

Here is the caller graph for this function:

template<typename K, typename V>
Map< K, V > & yap::collection::Map< K, V >::operator= ( const Map< K, V > &  copy)
inline

Definition at line 21 of file Map.hxx.

template<typename K, typename V >
V & yap::collection::Map< K, V >::operator[] ( const K &  key)
inline

Definition at line 130 of file Map.hxx.

template<typename K, typename V >
const V & yap::collection::Map< K, V >::operator[] ( const K &  key) const
inline

Definition at line 136 of file Map.hxx.

template<typename K, typename V >
void yap::collection::Map< K, V >::Remove ( const K &  key)
inline

Definition at line 106 of file Map.hxx.

Here is the caller graph for this function:

template<typename K, typename V >
V * yap::collection::Map< K, V >::TryGetValue ( const K &  key)
inline

Definition at line 92 of file Map.hxx.

Here is the caller graph for this function:


Member Data Documentation

template<typename K, typename V>
InnerType yap::collection::Map< K, V >::data_
private

Definition at line 58 of file Map.hpp.


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