Public Member Functions | Private Attributes

scoped_xy_unit Class Reference

#include <variable.hpp>

Inheritance diagram for scoped_xy_unit:
Inheritance graph
[legend]
Collaboration diagram for scoped_xy_unit:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 scoped_xy_unit (const std::string &var_name, const int x, const int y, const unit_map &umap)
void activate ()

Private Attributes

const int x_
const int y_
const unit_mapumap_

Detailed Description

Definition at line 178 of file variable.hpp.


Constructor & Destructor Documentation

scoped_xy_unit::scoped_xy_unit ( const std::string &  var_name,
const int  x,
const int  y,
const unit_map umap 
) [inline]

Definition at line 181 of file variable.hpp.


Member Function Documentation

void scoped_xy_unit::activate (  )  [virtual]

Implements scoped_wml_variable.

Definition at line 501 of file variable.cpp.

References unit_map::end(), ERR_NG, unit_map::find(), LOG_NG, scoped_wml_variable::name(), scoped_wml_variable::store(), umap_, x_, and y_.

Here is the call graph for this function:


Member Data Documentation

const unit_map& scoped_xy_unit::umap_ [private]

Definition at line 186 of file variable.hpp.

Referenced by activate().

const int scoped_xy_unit::x_ [private]

Definition at line 185 of file variable.hpp.

Referenced by activate().

const int scoped_xy_unit::y_ [private]

Definition at line 185 of file variable.hpp.

Referenced by activate().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:15:54 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs