Electroneum
Public Types | Public Member Functions | Private Attributes | List of all members
mstch::render_section Class Reference

#include <render_section.hpp>

Inheritance diagram for mstch::render_section:
Inheritance graph
[legend]
Collaboration diagram for mstch::render_section:
Collaboration graph
[legend]

Public Types

enum  flag { flag::none, flag::keep_array }
 

Public Member Functions

 render_section (render_context &ctx, const template_type &section, const delim_type &delims, flag p_flag=flag::none)
 
template<class T >
std::string operator() (const T &t) const
 
std::string operator() (const lambda &fun) const
 
std::string operator() (const array &array) const
 

Private Attributes

render_contextm_ctx
 
const template_typem_section
 
const delim_typem_delims
 
flag m_flag
 

Member Enumeration Documentation

◆ flag

Enumerator
none 
keep_array 

Constructor & Destructor Documentation

◆ render_section()

mstch::render_section::render_section ( render_context ctx,
const template_type section,
const delim_type delims,
flag  p_flag = flag::none 
)
inline

Member Function Documentation

◆ operator()() [1/3]

template<class T >
std::string mstch::render_section::operator() ( const T t) const
inline

◆ operator()() [2/3]

std::string mstch::render_section::operator() ( const lambda fun) const
inline

◆ operator()() [3/3]

std::string mstch::render_section::operator() ( const array array) const
inline

Member Data Documentation

◆ m_ctx

render_context& mstch::render_section::m_ctx
private

◆ m_delims

const delim_type& mstch::render_section::m_delims
private

◆ m_flag

flag mstch::render_section::m_flag
private

◆ m_section

const template_type& mstch::render_section::m_section
private

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