Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2024-11-16 09:59:57

0001 #ifndef VALUE_ITERATOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
0002 #define VALUE_ITERATOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66
0003 
0004 #if defined(_MSC_VER) ||                                            \
0005     (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \
0006      (__GNUC__ >= 4))  // GCC supports "pragma once" correctly since 3.4
0007 #pragma once
0008 #endif
0009 
0010 #include "yaml-cpp/dll.h"
0011 #include "yaml-cpp/node/node.h"
0012 #include "yaml-cpp/node/detail/iterator_fwd.h"
0013 #include "yaml-cpp/node/detail/iterator.h"
0014 #include <list>
0015 #include <utility>
0016 #include <vector>
0017 
0018 namespace YAML {
0019 namespace detail {
0020 struct iterator_value : public Node, std::pair<Node, Node> {
0021   iterator_value() = default;
0022   explicit iterator_value(const Node& rhs)
0023       : Node(rhs),
0024         std::pair<Node, Node>(Node(Node::ZombieNode), Node(Node::ZombieNode)) {}
0025   explicit iterator_value(const Node& key, const Node& value)
0026       : Node(Node::ZombieNode), std::pair<Node, Node>(key, value) {}
0027 };
0028 }
0029 }
0030 
0031 #endif  // VALUE_ITERATOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66