Ariles
yaml_cpp.h
Go to the documentation of this file.
1 /**
2  @file
3  @author Alexander Sherikov
4 
5  @copyright 2017-2018 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 #pragma once
12 
13 #define ARILES_VISITOR_INCLUDED_yaml_cpp
14 
16 #include <ariles/internal/node.h>
17 #include <ariles/visitors/config.h>
18 
19 namespace ariles
20 {
21  namespace ns_yaml_cpp
22  {
23  template <class t_Base, class t_Implementation>
25  {
26  protected:
27  typedef t_Implementation Impl;
28  typedef ARILES_SHARED_PTR<t_Implementation> ImplPtr;
29 
30  protected:
32 
33 
34  private:
35  Base(const Base &);
36  Base &operator=(const Base &);
37 
38  protected:
39  Base(){};
40  ~Base(){};
41 
42 
43  public:
45  {
46  static serialization::Features parameters(
49  return (parameters);
50  }
51  };
52  } // namespace ns_yaml_cpp
53 } // namespace ariles
54 
55 
56 #include "./yaml_cpp/reader.h"
57 #include "./yaml_cpp/writer.h"
58 
59 
60 namespace ariles
61 {
62  /**
63  * @brief YAML C++11 visitor.
64  */
66  {
69  };
70 } // namespace ariles
ariles::cfgread::Visitor< ns_yaml_cpp::Reader > Reader
Definition: yaml_cpp.h:67
t_Implementation Impl
Definition: yaml_cpp.h:27
const serialization::Features & getSerializationFeatures() const
Definition: yaml_cpp.h:44
ariles::cfgwrite::Visitor< ns_yaml_cpp::Writer > Writer
Definition: yaml_cpp.h:68
#define ARILES_VISIBILITY_ATTRIBUTE
Definition: helpers.h:69
ARILES_SHARED_PTR< t_Implementation > ImplPtr
Definition: yaml_cpp.h:28
Definition: basic.h:17