The Battle for Wesnoth  1.19.15+dev
Public Member Functions | Private Attributes | List of all members
preprocessor_istream Class Reference
Inheritance diagram for preprocessor_istream:

Public Member Functions

 preprocessor_istream ()
 
 preprocessor_istream (preproc_map &defines)
 
 ~preprocessor_istream ()
 
template<typename Preprocessor , typename... Args>
void process (Args &&... args)
 

Private Attributes

preproc_map owned_defines_
 Defines map to be used if no external map is given. More...
 
preprocessor_streambuf buffer_
 The underlying processing buffer. More...
 

Detailed Description

Definition at line 1687 of file preprocessor.cpp.

Constructor & Destructor Documentation

◆ preprocessor_istream() [1/2]

preprocessor_istream::preprocessor_istream ( )
inline

Definition at line 1690 of file preprocessor.cpp.

◆ preprocessor_istream() [2/2]

preprocessor_istream::preprocessor_istream ( preproc_map defines)
inline

Definition at line 1697 of file preprocessor.cpp.

◆ ~preprocessor_istream()

preprocessor_istream::~preprocessor_istream ( )
inline

Definition at line 1704 of file preprocessor.cpp.

References draw::clear().

Member Function Documentation

◆ process()

template<typename Preprocessor , typename... Args>
void preprocessor_istream::process ( Args &&...  args)
inline

Definition at line 1712 of file preprocessor.cpp.

References preprocessor_streambuf::add_preprocessor(), and buffer_.

Member Data Documentation

◆ buffer_

preprocessor_streambuf preprocessor_istream::buffer_
private

The underlying processing buffer.

Definition at line 1726 of file preprocessor.cpp.

Referenced by process().

◆ owned_defines_

preproc_map preprocessor_istream::owned_defines_
private

Defines map to be used if no external map is given.

Definition at line 1723 of file preprocessor.cpp.


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