Ariles
pugixml.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_pugixml
14 
16 #include <ariles/internal/node.h>
17 #include <ariles/visitors/config.h>
18 
19 
20 namespace ariles
21 {
22  namespace ns_pugixml
23  {
24  template <class t_Base, class t_Implementation>
26  {
27  protected:
28  typedef t_Implementation Impl;
29  typedef ARILES_SHARED_PTR<t_Implementation> ImplPtr;
30 
31 
32  protected:
34 
35 
36  private:
37  Base(const Base &);
38  Base &operator=(const Base &);
39 
40 
41  protected:
42  Base(){};
43  ~Base(){};
44 
45 
46  public:
48  {
49  static serialization::Features parameters(
52  return (parameters);
53  }
54  };
55  } // namespace ns_pugixml
56 } // namespace ariles
57 
58 
59 
60 #include "./pugixml/reader.h"
61 #include "./pugixml/writer.h"
62 
63 
64 namespace ariles
65 {
66  /**
67  * @brief pugixml visitor.
68  */
70  {
73  };
74 } // namespace ariles
const serialization::Features & getSerializationFeatures() const
Definition: pugixml.h:47
t_Implementation Impl
Definition: pugixml.h:28
ariles::cfgread::Visitor< ns_pugixml::Reader > Reader
Definition: pugixml.h:71
ariles::cfgwrite::Visitor< ns_pugixml::Writer > Writer
Definition: pugixml.h:72
#define ARILES_VISIBILITY_ATTRIBUTE
Definition: helpers.h:69
Definition: basic.h:17
ARILES_SHARED_PTR< t_Implementation > ImplPtr
Definition: pugixml.h:29