The Battle for Wesnoth  1.15.2+dev
Classes | Typedefs | Functions
attack_type.hpp File Reference
#include "map/location.hpp"
#include "tstring.hpp"
#include "config.hpp"
#include <string>
#include <vector>
#include <cassert>
#include <boost/iterator/indirect_iterator.hpp>
#include <boost/range/iterator_range.hpp>
#include <boost/dynamic_bitset_fwd.hpp>
#include "units/ptr.hpp"
Include dependency graph for attack_type.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  attack_type
class  attack_type::specials_context_t


using attack_list = std::vector< attack_ptr >
using attack_itors = boost::iterator_range< boost::indirect_iterator< attack_list::iterator > >
using const_attack_itors = boost::iterator_range< boost::indirect_iterator< attack_list::const_iterator > >


attack_itors make_attack_itors (attack_list &atks)
const_attack_itors make_attack_itors (const attack_list &atks)

Typedef Documentation

◆ attack_itors

using attack_itors = boost::iterator_range<boost::indirect_iterator<attack_list::iterator> >

Definition at line 187 of file attack_type.hpp.

◆ attack_list

using attack_list = std::vector<attack_ptr>

Definition at line 186 of file attack_type.hpp.

◆ const_attack_itors

using const_attack_itors = boost::iterator_range<boost::indirect_iterator<attack_list::const_iterator> >

Definition at line 188 of file attack_type.hpp.

Function Documentation

◆ make_attack_itors() [1/2]

attack_itors make_attack_itors ( attack_list atks)

Definition at line 190 of file attack_type.hpp.

Referenced by unit_type::attacks(), and unit::attacks().

◆ make_attack_itors() [2/2]

const_attack_itors make_attack_itors ( const attack_list atks)

Definition at line 194 of file attack_type.hpp.