The Battle for Wesnoth  1.19.7+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 1693 of file preprocessor.cpp.

Constructor & Destructor Documentation

◆ preprocessor_scope_helper()

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

Definition at line 1695 of file preprocessor.cpp.

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

◆ ~preprocessor_scope_helper()

preprocessor_scope_helper::~preprocessor_scope_helper ( )
inline

Definition at line 1726 of file preprocessor.cpp.

References draw::clear().

Member Data Documentation

◆ buf_

std::unique_ptr<preprocessor_streambuf> preprocessor_scope_helper::buf_

Definition at line 1733 of file preprocessor.cpp.

Referenced by preprocessor_scope_helper().

◆ local_defines_

std::unique_ptr<preproc_map> preprocessor_scope_helper::local_defines_

Definition at line 1734 of file preprocessor.cpp.

Referenced by preprocessor_scope_helper().


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