The Battle for Wesnoth  1.19.0+dev
Public Member Functions | Public Attributes | List of all members
preprocessor_scope_helper Struct Reference
Inheritance diagram for preprocessor_scope_helper:

Public Member Functions

 preprocessor_scope_helper (const std::string &fname, preproc_map *defines)
 ~preprocessor_scope_helper ()

Public Attributes

std::unique_ptr< preprocessor_streambufbuf_
std::unique_ptr< preproc_maplocal_defines_

Detailed Description

Definition at line 1696 of file preprocessor.cpp.

Constructor & Destructor Documentation

◆ preprocessor_scope_helper()

preprocessor_scope_helper::preprocessor_scope_helper ( const std::string &  fname,
preproc_map defines 

Definition at line 1698 of file preprocessor.cpp.

References buf_, utils::detail::init, and local_defines_.

◆ ~preprocessor_scope_helper()

preprocessor_scope_helper::~preprocessor_scope_helper ( )

Definition at line 1729 of file preprocessor.cpp.

References draw::clear().

Member Data Documentation

◆ buf_

std::unique_ptr<preprocessor_streambuf> preprocessor_scope_helper::buf_

Definition at line 1736 of file preprocessor.cpp.

Referenced by preprocessor_scope_helper().

◆ local_defines_

std::unique_ptr<preproc_map> preprocessor_scope_helper::local_defines_

Definition at line 1737 of file preprocessor.cpp.

Referenced by preprocessor_scope_helper().

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