encapsulates a <battle_id_t, Battle*> map More...
#include <battlelist.h>

Public Types | |
| typedef unsigned int | battle_id_t |
| typedef std::map< battle_id_t, Battle * > | battle_map_t |
| mapping from battle id number to battle object | |
| typedef battle_map_t::iterator | battle_iter_t |
| iterator for battle map | |
Public Member Functions | |
| BattleList () | |
| void | AddBattle (Battle &battle) |
| void | RemoveBattle (battle_id_t const &id) |
Private Attributes | |
| battle_map_t | m_battles |
Friends | |
| class | BattleList_Iter |
encapsulates a <battle_id_t, Battle*> map
Definition at line 11 of file battlelist.h.
| typedef unsigned int BattleList::battle_id_t |
Definition at line 17 of file battlelist.h.
| typedef battle_map_t::iterator BattleList::battle_iter_t |
iterator for battle map
Definition at line 25 of file battlelist.h.
| typedef std::map<battle_id_t, Battle*> BattleList::battle_map_t |
mapping from battle id number to battle object
Definition at line 23 of file battlelist.h.
| BattleList::BattleList | ( | ) |
Definition at line 8 of file battlelist.cpp.
| void BattleList::AddBattle | ( | Battle & | battle | ) |
Definition at line 13 of file battlelist.cpp.
| void BattleList::RemoveBattle | ( | battle_id_t const & | id | ) |
Definition at line 19 of file battlelist.cpp.
friend class BattleList_Iter [friend] |
Definition at line 13 of file battlelist.h.
battle_map_t BattleList::m_battles [private] |
Definition at line 28 of file battlelist.h.
1.6.3