Ariles
extra_visitors
yaml_cpp
ariles2
visitors
yaml_cpp.h
Go to the documentation of this file.
1
/**
2
@file
3
@author Alexander Sherikov
4
5
@copyright 2017-2020 Alexander Sherikov, Licensed under the Apache License, Version 2.0.
6
(see @ref LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
7
8
@brief
9
*/
10
11
/**
12
@defgroup yaml_cpp yaml-cpp
13
@ingroup config
14
15
@brief YAML serialization via https://github.com/jbeder/yaml-cpp.
16
17
@note @c yaml-cpp does not comply with the specification when it emits NaN's
18
and infinities, see https://github.com/jbeder/yaml-cpp/issues/507. @c ariles
19
includes a workaround for this issue.
20
*/
21
22
23
#pragma once
24
25
#define ARILES2_VISITOR_INCLUDED_yaml_cpp
26
27
#include <
ariles2/internal/helpers.h
>
28
#include <
ariles2/visitors/config.h
>
29
30
31
#include "
./yaml_cpp/reader.h
"
32
#include "
./yaml_cpp/writer.h
"
33
34
35
namespace
ariles2
36
{
37
/**
38
* @brief YAML C++11 visitor.
39
* @ingroup yaml_cpp
40
*/
41
struct
yaml_cpp
42
{
43
using
Reader
=
ariles2::cfgread::Visitor<ns_yaml_cpp::Reader>
;
44
using
Writer
=
ariles2::cfgwrite::Visitor<ns_yaml_cpp::Writer>
;
45
};
46
}
// namespace ariles2
ariles2::cfgread::Visitor
Definition:
config.h:34
ariles2::cfgwrite::Visitor
Definition:
config.h:61
config.h
helpers.h
ariles2
Definition:
basic.h:17
ariles2::yaml_cpp
YAML C++11 visitor.
Definition:
yaml_cpp.h:42
reader.h
writer.h
Generated by
1.9.1