Ariles
extra_visitors
jsonnet
ariles2
visitors
jsonnet.h
Go to the documentation of this file.
1
/**
2
@file
3
@author Alexander Sherikov
4
@copyright 2018-2020 Alexander Sherikov, Licensed under the Apache License, Version 2.0.
5
(see @ref LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
6
@brief
7
*/
8
9
/**
10
@defgroup jsonnet Jsonnet
11
@ingroup config
12
13
@brief Preprocessing wrapper for json visitors, see https://jsonnet.org/.
14
*/
15
16
17
#pragma once
18
19
#define ARILES2_VISITOR_INCLUDED_jsonnet
20
21
22
#include <
ariles2/internal/helpers.h
>
23
#include <
ariles2/visitors/config.h
>
24
25
#include "
./jsonnet/reader.h
"
26
27
28
namespace
ariles2
29
{
30
/**
31
* @brief Jsonnet visitor wrapper.
32
* @ingroup jsonnet
33
*/
34
template
<
class
t_ParentVisitor>
35
struct
jsonnet
36
{
37
using
Reader
=
ariles2::cfgread::Visitor<ns_jsonnet::Reader<typename t_ParentVisitor::ReaderBase>
>;
38
using
Writer
=
ariles2::cfgwrite::Visitor<typename t_ParentVisitor::WriterBase>
;
39
};
40
}
// namespace ariles2
ariles2::cfgread::Visitor
Definition:
config.h:34
ariles2::cfgwrite::Visitor
Definition:
config.h:61
config.h
helpers.h
reader.h
ariles2
Definition:
basic.h:17
ariles2::jsonnet
Jsonnet visitor wrapper.
Definition:
jsonnet.h:36
Generated by
1.9.1