stencet  v0.1.16
Build C++ web server modules that allow easy routing and deployment.
stencet::Template Struct Reference

Public Member Functions

void render (std::ostream &out, ViewContext &vc) const
void render (std::ostream &out, ViewModel &vm) const
template<typename T >
auto render (std::ostream &out, const T &t) const -> decltype(MetaClass_< T >::fields(), void())
template<typename T >
auto With (T &t) const -> std::function< void(std::ostream &)>
ParseStatus::t Parse (std::istream &stream)
ParseStatus::t Parse (const std::string &)
ParseStatus::t Parse (std::istream &stream, std::string &)

Static Public Member Functions

static void AddDirectory (const std::string &)
static std::map< std::string,
Template > & 
Templates ()
static TemplateByName (const std::string &name)

Public Attributes

std::vector< Region * > regions

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