Classes | |
class | jinja_context |
Jinja diagram element context wrapper. More... | |
Typedefs | |
template<typename T > | |
using | element_context = jinja_context< T, element_context_tag > |
template<typename T > | |
using | diagram_context = jinja_context< T, diagram_context_tag > |
Functions | |
void | to_json (inja::json &ctx, const element_context< class_diagram::model::class_element > &d) |
void | to_json (inja::json &ctx, const diagram_context< class_diagram::model::diagram > &d) |
void | to_json (inja::json &ctx, const element_context< common::model::decorated_element > &jc) |
void | to_json (inja::json &ctx, const element_context< diagram_element > &jc) |
void | to_json (inja::json &ctx, const element_context< element > &jc) |
void | to_json (inja::json &ctx, const element_context< common::model::relationship > &jc) |
void | to_json (inja::json &ctx, const element_context< source_file > &jc) |
void | to_json (inja::json &ctx, const diagram_context< source_location > &jc) |
void | to_json (inja::json &ctx, const element_context< source_location > &jc) |
void | to_json (inja::json &ctx, const diagram_context< common::model::decorated_element > &jc) |
void | to_json (inja::json &ctx, const diagram_context< common::model::diagram_element > &jc) |
void | to_json (inja::json &ctx, const diagram_context< common::model::element > &jc) |
void | to_json (inja::json &ctx, const diagram_context< source_file > &jc) |
std::optional< std::string > | render_template (inja::Environment &env, const inja::json &context, const std::string &jinja_template) |
std::optional< std::string > | render_template (inja::Environment &env, const std::string &jinja_template) |
void | to_json (inja::json &ctx, const element_context< common::model::diagram_element > &jc) |
void | to_json (inja::json &ctx, const element_context< common::model::element > &jc) |
void | to_json (inja::json &ctx, const element_context< common::model::source_file > &jc) |
void | to_json (inja::json &ctx, const element_context< common::model::source_location > &jc) |
void | to_json (inja::json &ctx, const diagram_context< common::model::source_file > &jc) |
void | to_json (inja::json &ctx, const diagram_context< common::model::source_location > &jc) |
void | to_json (inja::json &ctx, const diagram_context< include_diagram::model::diagram > &d) |
void | to_json (inja::json &ctx, const diagram_context< package_diagram::model::diagram > &d) |
void | to_json (inja::json &ctx, const diagram_context< sequence_diagram::model::diagram > &d) |
using clanguml::common::jinja::diagram_context = typedef jinja_context<T, diagram_context_tag> |
Definition at line 75 of file jinja_context.h.
using clanguml::common::jinja::element_context = typedef jinja_context<T, element_context_tag> |
Definition at line 73 of file jinja_context.h.
std::optional< std::string > clanguml::common::jinja::render_template | ( | inja::Environment & | env, |
const inja::json & | context, | ||
const std::string & | jinja_template | ||
) |
Definition at line 209 of file jinja_context.cc.
std::optional< std::string > clanguml::common::jinja::render_template | ( | inja::Environment & | env, |
const std::string & | jinja_template | ||
) |
Definition at line 249 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const diagram_context< class_diagram::model::diagram > & | d | ||
) |
Definition at line 49 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const diagram_context< common::model::decorated_element > & | jc | ||
) |
Definition at line 163 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const diagram_context< common::model::diagram_element > & | jc | ||
) |
Definition at line 172 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const diagram_context< common::model::element > & | jc | ||
) |
Definition at line 188 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const diagram_context< common::model::source_file > & | jc | ||
) |
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const diagram_context< common::model::source_location > & | jc | ||
) |
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const diagram_context< include_diagram::model::diagram > & | d | ||
) |
Definition at line 23 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const diagram_context< package_diagram::model::diagram > & | d | ||
) |
Definition at line 25 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const diagram_context< sequence_diagram::model::diagram > & | d | ||
) |
Definition at line 25 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const diagram_context< source_file > & | jc | ||
) |
Definition at line 200 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const diagram_context< source_location > & | jc | ||
) |
Definition at line 96 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const element_context< class_diagram::model::class_element > & | d | ||
) |
Definition at line 29 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const element_context< common::model::decorated_element > & | jc | ||
) |
Definition at line 29 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const element_context< common::model::diagram_element > & | jc | ||
) |
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const element_context< common::model::element > & | jc | ||
) |
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const element_context< common::model::relationship > & | jc | ||
) |
Definition at line 70 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const element_context< common::model::source_file > & | jc | ||
) |
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const element_context< common::model::source_location > & | jc | ||
) |
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const element_context< diagram_element > & | jc | ||
) |
Definition at line 46 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const element_context< element > & | jc | ||
) |
Definition at line 62 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const element_context< source_file > & | jc | ||
) |
Definition at line 86 of file jinja_context.cc.
void clanguml::common::jinja::to_json | ( | inja::json & | ctx, |
const element_context< source_location > & | jc | ||
) |
Definition at line 129 of file jinja_context.cc.