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

#include <render_node.hpp>

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

Public Types

enum  flag { flag::none, flag::escape_html }
 

Public Member Functions

 render_node (render_context &ctx, flag p_flag=flag::none)
 
template<class T >
std::string operator() (const T &) const
 
std::string operator() (const int &value) const
 
std::string operator() (const double &value) const
 
std::string operator() (const uint64_t &value) const
 
std::string operator() (const int64_t &value) const
 
std::string operator() (const uint32_t &value) const
 
std::string operator() (const bool &value) const
 
std::string operator() (const lambda &value) const
 
std::string operator() (const std::string &value) const
 

Private Attributes

render_contextm_ctx
 
flag m_flag
 

Member Enumeration Documentation

◆ flag

Enumerator
none 
escape_html 

Constructor & Destructor Documentation

◆ render_node()

mstch::render_node::render_node ( render_context ctx,
flag  p_flag = flag::none 
)
inline

Member Function Documentation

◆ operator()() [1/9]

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

◆ operator()() [2/9]

std::string mstch::render_node::operator() ( const int &  value) const
inline

◆ operator()() [3/9]

std::string mstch::render_node::operator() ( const double &  value) const
inline

◆ operator()() [4/9]

std::string mstch::render_node::operator() ( const uint64_t &  value) const
inline

◆ operator()() [5/9]

std::string mstch::render_node::operator() ( const int64_t &  value) const
inline

◆ operator()() [6/9]

std::string mstch::render_node::operator() ( const uint32_t &  value) const
inline

◆ operator()() [7/9]

std::string mstch::render_node::operator() ( const bool value) const
inline

◆ operator()() [8/9]

std::string mstch::render_node::operator() ( const lambda value) const
inline

◆ operator()() [9/9]

std::string mstch::render_node::operator() ( const std::string &  value) const
inline

Member Data Documentation

◆ m_ctx

render_context& mstch::render_node::m_ctx
private

◆ m_flag

flag mstch::render_node::m_flag
private

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