23
23
#ifndef MAPNIK_XML_NODE_H
24
24
#define MAPNIK_XML_NODE_H
25
25
26
+ // mapnik
27
+ #include < mapnik/config.hpp> // for MAPNIK_DECL
28
+
26
29
// boost
27
30
#include < boost/optional.hpp>
28
31
34
37
35
38
namespace mapnik
36
39
{
37
- class xml_tree ;
40
+ class MAPNIK_DECL xml_tree;
38
41
39
- class xml_attribute
42
+ class MAPNIK_DECL xml_attribute
40
43
{
41
44
public:
42
45
xml_attribute (const char * value_);
43
46
std::string value;
44
47
mutable bool processed;
45
48
};
46
49
47
- class node_not_found : public std ::exception
50
+ class MAPNIK_DECL node_not_found: public std::exception
48
51
{
49
52
public:
50
53
node_not_found (std::string const & node_name);
@@ -56,7 +59,7 @@ class node_not_found: public std::exception
56
59
mutable std::string msg_;
57
60
};
58
61
59
- class attribute_not_found : public std ::exception
62
+ class MAPNIK_DECL attribute_not_found: public std::exception
60
63
{
61
64
public:
62
65
attribute_not_found (std::string const & node_name, std::string const & attribute_name);
@@ -69,7 +72,7 @@ class attribute_not_found: public std::exception
69
72
mutable std::string msg_;
70
73
};
71
74
72
- class more_than_one_child : public std ::exception
75
+ class MAPNIK_DECL more_than_one_child: public std::exception
73
76
{
74
77
public:
75
78
more_than_one_child (std::string const & node_name);
@@ -81,7 +84,7 @@ class more_than_one_child: public std::exception
81
84
mutable std::string msg_;
82
85
};
83
86
84
- class xml_node
87
+ class MAPNIK_DECL xml_node
85
88
{
86
89
public:
87
90
using const_iterator = std::list<xml_node>::const_iterator;
0 commit comments