Debian Codegraph @

src/template.h

raw symbols SCIP
1 #ifndef __JINJAR_TEMPLATE__
2 #define __JINJAR_TEMPLATE__
3
4 #include <cpp11/strings.hpp>
5 #include <cpp11/list.hpp>
6 #include <inja.hpp>
7
8
9 namespace jinjar {
10 class Template {
11 inja::Environment env;
12 inja::Template templ;
13
14 public:
15 Template(const cpp11::strings& x, const cpp11::list& config);
16 const cpp11::strings render(const cpp11::strings& data_json);
17
18 private:
19 static inja::Environment setup_environment(const cpp11::list& config);
20 };
21 }
22
23 #endif