LCOV - code coverage report
Current view: top level - src/bindings/cpp/examples - cpp_example_ks.cpp (source / functions) Hit Total Coverage
Test: coverage-filtered.info Lines: 0 7 0.0 %
Date: 2022-05-21 16:19:22 Functions: 0 2 0.0 %

          Line data    Source code
       1             : /**
       2             :  * @file
       3             :  *
       4             :  * @brief
       5             :  *
       6             :  * @copyright BSD License (see LICENSE.md or https://www.libelektra.org)
       7             :  */
       8             : 
       9             : #include <keyset.hpp>
      10             : 
      11             : #include <iostream>
      12             : 
      13           0 : int main ()
      14             : {
      15           0 :         kdb::KeySet ks (2, *kdb::Key ("user:/1", KEY_END), *kdb::Key ("user:/2", KEY_END), KS_END);
      16             : 
      17           0 :         ks.rewind ();
      18           0 :         while (ks.next ())
      19             :         {
      20           0 :                 std::cout << ks.current ().getName () << std::endl;
      21             :         }
      22           0 :         return 0;
      23           0 : }

Generated by: LCOV version 1.13