Public Member Functions

pathfind::paths::dest_vect Struct Reference

Ordered vector of possible destinations. More...

#include <pathfind.hpp>

Inheritance diagram for pathfind::paths::dest_vect:
Inheritance graph
[legend]
Collaboration diagram for pathfind::paths::dest_vect:
Collaboration graph
[legend]

List of all members.

Public Member Functions

const_iterator find (const map_location &) const
bool contains (const map_location &) const
void insert (const map_location &)
std::vector< map_locationget_path (const const_iterator &) const
 Returns the path going from the source point (included) to the destination point j (excluded).

Detailed Description

Ordered vector of possible destinations.

Definition at line 97 of file pathfind.hpp.


Member Function Documentation

bool pathfind::paths::dest_vect::contains ( const map_location loc  )  const

Definition at line 400 of file pathfind.cpp.

References find().

Here is the call graph for this function:

pathfind::paths::dest_vect::const_iterator pathfind::paths::dest_vect::find ( const map_location loc  )  const

Definition at line 364 of file pathfind.cpp.

References lower_bound().

Referenced by contains(), and get_path().

Here is the call graph for this function:

Here is the caller graph for this function:

std::vector< map_location > pathfind::paths::dest_vect::get_path ( const const_iterator &  j  )  const

Returns the path going from the source point (included) to the destination point j (excluded).

Definition at line 383 of file pathfind.cpp.

References find(), and game_config::path.

Here is the call graph for this function:

void pathfind::paths::dest_vect::insert ( const map_location loc  ) 

Definition at line 371 of file pathfind.cpp.

References lower_bound().

Here is the call graph for this function:


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

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