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
ARILES2_VISIBILITY_ATTRIBUTE
yaml_cpp
42
{
43
typedef
ariles2::cfgread::Visitor<ns_yaml_cpp::Reader>
Reader
;
44
typedef
ariles2::cfgwrite::Visitor<ns_yaml_cpp::Writer>
Writer
;
45
};
46
}
// namespace ariles2
ariles2
Definition:
basic.h:16
writer.h
ariles2::cfgread::Visitor
Definition:
config.h:66
ariles2::yaml_cpp::Reader
ariles2::cfgread::Visitor< ns_yaml_cpp::Reader > Reader
Definition:
yaml_cpp.h:43
helpers.h
ariles2::yaml_cpp
YAML C++11 visitor.
Definition:
yaml_cpp.h:41
ARILES2_VISIBILITY_ATTRIBUTE
#define ARILES2_VISIBILITY_ATTRIBUTE
Definition:
helpers.h:138
ariles2::yaml_cpp::Writer
ariles2::cfgwrite::Visitor< ns_yaml_cpp::Writer > Writer
Definition:
yaml_cpp.h:44
ariles2::cfgwrite::Visitor
Definition:
config.h:181
reader.h
config.h
Generated by
1.8.17