Jinja diagram element context wrapper. More...
Jinja diagram element context wrapper.
This template allows to have custom adl serializers for JSON, which only work for Jinja templates, and not JSON generator.
T | Diagram model element |
Definition at line 43 of file jinja_context.h.
#include <jinja_context.h>
Public Member Functions | |
jinja_context (const T &e, const inja::json &diagram_context) noexcept | |
jinja_context (const T &e) noexcept | |
const T & | get () const noexcept |
template<typename U > | |
const jinja_context< U, Tag > | as () const |
const inja::json & | diagram_context () const |
Private Attributes | |
const T & | value_ |
const inja::json & | diagram_context_ |
|
inlineexplicitnoexcept |
Definition at line 45 of file jinja_context.h.
|
inlineexplicitnoexcept |
Definition at line 52 of file jinja_context.h.
|
inline |
Definition at line 59 of file jinja_context.h.
|
inline |
Definition at line 65 of file jinja_context.h.
|
inlinenoexcept |
Definition at line 57 of file jinja_context.h.
|
private |
Definition at line 69 of file jinja_context.h.
|
private |
Definition at line 68 of file jinja_context.h.