The Battle for Wesnoth  1.15.1+dev
Macros | Functions | Variables
map.cpp File Reference
#include "log.hpp"
#include "units/id.hpp"
#include "units/unit.hpp"
#include "units/map.hpp"
#include <functional>
Include dependency graph for map.cpp:

Go to the source code of this file.

Macros

#define ERR_NG   LOG_STREAM(err, log_engine)
 
#define WRN_NG   LOG_STREAM(warn, log_engine)
 
#define LOG_NG   LOG_STREAM(info, log_engine)
 
#define DBG_NG   LOG_STREAM(debug, log_engine)
 

Functions

void swap (unit_map &lhs, unit_map &rhs)
 Implement non-member swap function for std::swap (calls unit_map::swap). More...
 

Variables

static lg::log_domain log_engine ("engine")
 

Macro Definition Documentation

◆ DBG_NG

#define DBG_NG   LOG_STREAM(debug, log_engine)

Definition at line 29 of file map.cpp.

Referenced by unit_map::clear(), unit_map::extract(), unit_map::insert(), and unit_map::move().

◆ ERR_NG

#define ERR_NG   LOG_STREAM(err, log_engine)

Definition at line 26 of file map.cpp.

Referenced by unit_map::insert(), and unit_map::self_check().

◆ LOG_NG

#define LOG_NG   LOG_STREAM(info, log_engine)

Definition at line 28 of file map.cpp.

◆ WRN_NG

#define WRN_NG   LOG_STREAM(warn, log_engine)

Definition at line 27 of file map.cpp.

Function Documentation

◆ swap()

void swap ( unit_map lhs,
unit_map rhs 
)

Implement non-member swap function for std::swap (calls unit_map::swap).

Definition at line 449 of file map.cpp.

References unit_map::swap().

Referenced by unit_map::swap().

Variable Documentation

◆ log_engine

lg::log_domain log_engine("engine")
static