Public Member Functions | Protected Attributes

game_config::scoped_preproc_define_internal< T > Class Template Reference

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>

Collaboration diagram for game_config::scoped_preproc_define_internal< T >:
Collaboration graph
[legend]

List of all members.

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_

Detailed Description

template<class T>
class game_config::scoped_preproc_define_internal< T >

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.


Constructor & Destructor Documentation

template<class T>
game_config::scoped_preproc_define_internal< T >::scoped_preproc_define_internal ( const std::string &  name,
bool  add = true 
) [inline]

Adds normal preproc define.

Parameters:
name name of preproc define to add.
add true if we should add this.

Definition at line 52 of file config_cache.hpp.

This removes preproc define from cacher.

Definition at line 61 of file config_cache.hpp.


Member Data Documentation

template<class T>
bool game_config::scoped_preproc_define_internal< T >::add_ [protected]
template<class T>
std::string game_config::scoped_preproc_define_internal< T >::name_ [protected]

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

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