LCOV - code coverage report
Current view: top level - src/plugins/tcl - printer.hpp (source / functions) Hit Total Coverage
Test: coverage-filtered.info Lines: 1 1 100.0 %
Date: 2019-09-12 12:28:41 Functions: 1 1 100.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             : #ifndef PRINTER_HPP
      10             : #define PRINTER_HPP
      11             : 
      12             : #include <keyset.hpp>
      13             : 
      14             : #include <string>
      15             : #include <vector>
      16             : 
      17             : namespace elektra
      18             : {
      19             : 
      20          54 : struct Printer
      21             : {
      22             :         int nr_keys;
      23             :         int nr_meta;
      24             : 
      25             :         kdb::KeySet & current;
      26             :         kdb::Key & parent;
      27             : 
      28             :         std::string keyname;
      29             :         std::string metaname;
      30             : 
      31             :         Printer (kdb::KeySet & ks, kdb::Key & parent);
      32             : 
      33             :         void add_key (std::vector<char> const & c);
      34             :         void add_val (std::vector<char> const & c);
      35             : 
      36             :         void add_metakey (std::vector<char> const & c);
      37             :         void add_metaval (std::vector<char> const & c);
      38             : };
      39             : 
      40             : 
      41             : } // end namespace elektra
      42             : 
      43             : #endif

Generated by: LCOV version 1.13