The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
pathfind::paths::dest_vect Struct Reference

Ordered vector of possible destinations. More...

#include <pathfind.hpp>

Inheritance diagram for pathfind::paths::dest_vect:
Inheritance graph

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). More...
 

Detailed Description

Ordered vector of possible destinations.

Definition at line 93 of file pathfind.hpp.

Member Function Documentation

bool pathfind::paths::dest_vect::contains ( const map_location loc) const
paths::dest_vect::const_iterator pathfind::paths::dest_vect::find ( const map_location loc) const
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 493 of file pathfind.cpp.

References gui2::event::find(), and i.

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

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