Used to set and unset scoped defines to preproc_map This is preferred form to set defines that aren't global. More...
#include <config_cache.hpp>

Public Member Functions | |
| scoped_preproc_define_internal (const std::string &name, bool add=true) | |
| Adds normal preproc define. | |
| ~scoped_preproc_define_internal () | |
| This removes preproc define from cacher. | |
Protected Attributes | |
| std::string | name_ |
| bool | add_ |
Used to set and unset scoped defines to preproc_map This is preferred form to set defines that aren't global.
Definition at line 41 of file config_cache.hpp.
| game_config::scoped_preproc_define_internal< T >::scoped_preproc_define_internal | ( | const std::string & | name, | |
| bool | add = true | |||
| ) | [inline] |
Adds normal preproc define.
| name | name of preproc define to add. | |
| add | true if we should add this. |
Definition at line 52 of file config_cache.hpp.
| game_config::scoped_preproc_define_internal< T >::~scoped_preproc_define_internal | ( | ) | [inline] |
This removes preproc define from cacher.
Definition at line 61 of file config_cache.hpp.
bool game_config::scoped_preproc_define_internal< T >::add_ [protected] |
std::string game_config::scoped_preproc_define_internal< T >::name_ [protected] |
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:20:41 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |