The Battle for Wesnoth  1.19.0-dev
Public Member Functions | Public Attributes | List of all members
unit_map::unit_pod Struct Reference

The pointer to the unit and a reference counter to record the number of extant iteratorspointing to this unit. More...

Public Member Functions

 unit_pod ()
 

Public Attributes

unit_ptr unit
 
n_ref_counter::ref_counter< signed int > ref_count
 

Detailed Description

The pointer to the unit and a reference counter to record the number of extant iteratorspointing to this unit.

Definition at line 100 of file map.hpp.

Constructor & Destructor Documentation

◆ unit_pod()

unit_map::unit_pod::unit_pod ( )
inline

Definition at line 102 of file map.hpp.

Member Data Documentation

◆ ref_count

n_ref_counter::ref_counter<signed int> unit_map::unit_pod::ref_count
mutable

Definition at line 109 of file map.hpp.

Referenced by unit_map::insert().

◆ unit

unit_ptr unit_map::unit_pod::unit

Definition at line 108 of file map.hpp.

Referenced by unit_map::insert().


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