The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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::t_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 93 of file map.hpp.

Constructor & Destructor Documentation

unit_map::unit_pod::unit_pod ( )
inline

Definition at line 95 of file map.hpp.

Member Data Documentation

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

Definition at line 102 of file map.hpp.

Referenced by unit_map::insert().

unit_ptr unit_map::unit_pod::unit

Definition at line 101 of file map.hpp.

Referenced by unit_map::insert().


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