LCOV - code coverage report
Current view: top level - usr/include/yaml-cpp/node - iterator.h (source / functions) Hit Total Coverage
Test: jami-coverage-filtered.info Lines: 5 6 83.3 %
Date: 2025-08-24 09:11:10 Functions: 2 3 66.7 %

          Line data    Source code
       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           0 :   iterator_value() = default;
      22          30 :   explicit iterator_value(const Node& rhs)
      23          30 :       : Node(rhs),
      24          30 :         std::pair<Node, Node>(Node(Node::ZombieNode), Node(Node::ZombieNode)) {}
      25        2814 :   explicit iterator_value(const Node& key, const Node& value)
      26        2814 :       : Node(Node::ZombieNode), std::pair<Node, Node>(key, value) {}
      27             : };
      28             : }
      29             : }
      30             : 
      31             : #endif  // VALUE_ITERATOR_H_62B23520_7C8E_11DE_8A39_0800200C9A66

Generated by: LCOV version 1.14