Silicium
Public Types | Public Member Functions | List of all members
Si::html::generator< CharSink > Struct Template Reference

#include <html.hpp>

Public Types

typedef noexcept_string name_type
 

Public Member Functions

 generator ()
 
 generator (CharSink out)
 
template<class ContentMaker >
void element (name_type const &name, ContentMaker make_content)
 
void element (name_type const &name, empty_t)
 
template<class AttributeMaker , class ContentMaker >
void element (name_type const &name, AttributeMaker make_attributes, ContentMaker make_content)
 
template<class AttributeMaker >
void element (name_type const &name, AttributeMaker make_attributes, empty_t)
 
template<class KeyStringLike , class ValueStringLike >
void attribute (KeyStringLike const &key, ValueStringLike const &value)
 
void element (name_type const &name)
 
template<class... Args>
void operator() (Args &&...args)
 
template<class StringLike >
void element_with_text (name_type const &name, StringLike const &text)
 
template<class StringLike >
void write (StringLike const &text)
 
template<class StringLike >
void raw (StringLike const &text)
 

Member Typedef Documentation

template<class CharSink >
typedef noexcept_string Si::html::generator< CharSink >::name_type

Constructor & Destructor Documentation

template<class CharSink >
Si::html::generator< CharSink >::generator ( )
inline
template<class CharSink >
Si::html::generator< CharSink >::generator ( CharSink  out)
inlineexplicit

Member Function Documentation

template<class CharSink >
template<class KeyStringLike , class ValueStringLike >
void Si::html::generator< CharSink >::attribute ( KeyStringLike const &  key,
ValueStringLike const &  value 
)
inline
template<class CharSink >
template<class ContentMaker >
void Si::html::generator< CharSink >::element ( name_type const &  name,
ContentMaker  make_content 
)
inline
template<class CharSink >
void Si::html::generator< CharSink >::element ( name_type const &  name,
empty_t   
)
inline
template<class CharSink >
template<class AttributeMaker , class ContentMaker >
void Si::html::generator< CharSink >::element ( name_type const &  name,
AttributeMaker  make_attributes,
ContentMaker  make_content 
)
inline
template<class CharSink >
template<class AttributeMaker >
void Si::html::generator< CharSink >::element ( name_type const &  name,
AttributeMaker  make_attributes,
empty_t   
)
inline
template<class CharSink >
void Si::html::generator< CharSink >::element ( name_type const &  name)
inline
template<class CharSink >
template<class StringLike >
void Si::html::generator< CharSink >::element_with_text ( name_type const &  name,
StringLike const &  text 
)
inline
template<class CharSink >
template<class... Args>
void Si::html::generator< CharSink >::operator() ( Args &&...  args)
inline
template<class CharSink >
template<class StringLike >
void Si::html::generator< CharSink >::raw ( StringLike const &  text)
inline
template<class CharSink >
template<class StringLike >
void Si::html::generator< CharSink >::write ( StringLike const &  text)
inline

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