BRE12
iterator.h
1 #ifndef VALUE_ITERATOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
2 #define VALUE_ITERATOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
3 
4 #if defined(_MSC_VER) || \
5  (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
6  (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4
7 #pragma once
8 #endif
9 
10 #include "yaml-cpp/dll.h"
11 #include "yaml-cpp/node/node.h"
12 #include "yaml-cpp/node/detail/iterator_fwd.h"
13 #include "yaml-cpp/node/detail/iterator.h"
14 #include <list>
15 #include <utility>
16 #include <vector>
17 
18 namespace YAML {
19 namespace detail {
20 struct iterator_value : public Node, std::pair<Node, Node> {
21  iterator_value() {}
22  explicit iterator_value(const Node& rhs)
23  : Node(rhs),
24  std::pair<Node, Node>(Node(Node::ZombieNode), Node(Node::ZombieNode)) {}
25  explicit iterator_value(const Node& key, const Node& value)
26  : Node(Node::ZombieNode), std::pair<Node, Node>(key, value) {}
27 };
28 }
29 }
30 
31 #endif // VALUE_ITERATOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
Definition: iterator.h:20
Definition: DrawableObjectLoader.h:10
Definition: node.h:29