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

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 1668 of file preprocessor.cpp.

Constructor & Destructor Documentation

◆ preprocessor_scope_helper()

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

◆ ~preprocessor_scope_helper()

preprocessor_scope_helper::~preprocessor_scope_helper ( )
inline

Definition at line 1701 of file preprocessor.cpp.

References preferences::clear().

Member Data Documentation

◆ buf_

std::unique_ptr<preprocessor_streambuf> preprocessor_scope_helper::buf_

Definition at line 1708 of file preprocessor.cpp.

◆ local_defines_

std::unique_ptr<preproc_map> preprocessor_scope_helper::local_defines_

Definition at line 1709 of file preprocessor.cpp.


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