The Battle for Wesnoth  1.15.2+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 iterators pointing 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 iterators pointing to this unit.

Definition at line 103 of file map.hpp.

Constructor & Destructor Documentation

◆ unit_pod()

unit_map::unit_pod::unit_pod ( )
inline

Definition at line 105 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 112 of file map.hpp.

Referenced by unit_map::insert().

◆ unit

unit_ptr unit_map::unit_pod::unit

Definition at line 111 of file map.hpp.

Referenced by unit_map::insert().


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