Ariles
yaml_cpp03.h
Go to the documentation of this file.
1 /**
2  @file
3  @author Alexander Sherikov
4  @author Jan Michalczyk
5 
6  @copyright 2014-2017 INRIA. Licensed under the Apache License, Version 2.0.
7  (see @ref LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
8 
9  @copyright 2017-2018 Alexander Sherikov, Licensed under the Apache License, Version 2.0.
10  (see @ref LICENSE or http://www.apache.org/licenses/LICENSE-2.0)
11 
12  @brief
13 */
14 
15 #pragma once
16 
17 #define ARILES_VISITOR_INCLUDED_yaml_cpp03
18 
20 #include <ariles/internal/node.h>
21 #include <ariles/visitors/config.h>
22 
23 namespace ariles
24 {
25  namespace ns_yaml_cpp03
26  {
27  template <class t_Base, class t_Implementation>
29  {
30  protected:
31  typedef t_Implementation Impl;
32  typedef ARILES_SHARED_PTR<t_Implementation> ImplPtr;
33 
34  protected:
36 
37 
38  private:
39  Base(const Base &);
40  Base &operator=(const Base &);
41 
42  protected:
43  Base(){};
44  ~Base(){};
45 
46 
47  public:
49  {
50  static serialization::Features parameters(
53  return (parameters);
54  }
55  };
56  } // namespace ns_yaml_cpp03
57 } // namespace ariles
58 
59 
60 #include "./yaml_cpp03/reader.h"
61 #include "./yaml_cpp03/writer.h"
62 
63 
64 namespace ariles
65 {
66  /**
67  * @brief YAML (C++03) visitor.
68  */
70  {
73  };
74 } // namespace ariles
ariles::cfgread::Visitor< ns_yaml_cpp03::Reader > Reader
Definition: yaml_cpp03.h:71
ariles::cfgwrite::Visitor< ns_yaml_cpp03::Writer > Writer
Definition: yaml_cpp03.h:72
t_Implementation Impl
Definition: yaml_cpp03.h:31
const serialization::Features & getSerializationFeatures() const
Definition: yaml_cpp03.h:48
#define ARILES_VISIBILITY_ATTRIBUTE
Definition: helpers.h:69
ARILES_SHARED_PTR< t_Implementation > ImplPtr
Definition: yaml_cpp03.h:32
Definition: basic.h:17