6 #include <stencet/region.h>
9 #include <mxcomp/reflection.h>
15 std::vector<Region*> regions;
17 void render(std::ostream& out,
ViewContext& vc)
const;
18 void render(std::ostream& out,
ViewModel& vm)
const;
21 auto render(std::ostream& out,
const T& t)
const
22 -> decltype(MetaClass_<T>::fields(),
void());
26 -> std::function< void (std::ostream&)>
28 return [&](std::ostream& out) {
35 ParseStatus::t Parse(std::istream& stream);
36 ParseStatus::t Parse(
const std::string&);
37 ParseStatus::t Parse(std::istream& stream, std::string&);
38 static void AddDirectory(
const std::string&);
39 static std::map<std::string, Template>& Templates();
40 static Template& ByName(
const std::string& name);
46 bool RegisterBuiltins();
50 #include "template.tcc"