Public Member Functions | Private Attributes

pathfind::manager Class Reference

#include <teleport.hpp>

Inheritance diagram for pathfind::manager:
Inheritance graph
[legend]
Collaboration diagram for pathfind::manager:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 manager (const config &cfg)
void add (const teleport_group &group)
void remove (const std::string &id)
const std::vector
< teleport_group > & 
get () const
config to_config () const
 Inherited from savegame_config.
std::string next_unique_id ()

Private Attributes

std::vector< teleport_grouptunnels_
int id_

Detailed Description

Definition at line 144 of file teleport.hpp.


Constructor & Destructor Documentation

pathfind::manager::manager ( const config cfg  ) 

Definition at line 203 of file teleport.cpp.

References add(), config::child(), config::child_count(), and lg::wml_error.

Here is the call graph for this function:


Member Function Documentation

void pathfind::manager::add ( const teleport_group group  ) 

Definition at line 216 of file teleport.cpp.

References tunnels_.

Referenced by manager(), and WML_HANDLER_FUNCTION().

Here is the caller graph for this function:

const std::vector< pathfind::teleport_group > & pathfind::manager::get (  )  const

Definition at line 231 of file teleport.cpp.

References tunnels_.

Referenced by pathfind::get_teleport_locations().

Here is the caller graph for this function:

std::string pathfind::manager::next_unique_id (  ) 

Definition at line 247 of file teleport.cpp.

References id_, and str_cast().

Referenced by pathfind::teleport_group::teleport_group().

Here is the call graph for this function:

Here is the caller graph for this function:

void pathfind::manager::remove ( const std::string &  id  ) 

Definition at line 220 of file teleport.cpp.

References tunnels_.

Referenced by WML_HANDLER_FUNCTION().

Here is the caller graph for this function:

config pathfind::manager::to_config (  )  const [virtual]

Inherited from savegame_config.

Implements savegame::savegame_config.

Definition at line 235 of file teleport.cpp.

References config::add_child(), id_, str_cast(), and tunnels_.

Here is the call graph for this function:


Member Data Documentation

int pathfind::manager::id_ [private]

Definition at line 172 of file teleport.hpp.

Referenced by next_unique_id(), and to_config().

Definition at line 171 of file teleport.hpp.

Referenced by add(), get(), remove(), and to_config().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:25:11 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs