LCOV - code coverage report
Current view: top level - src/tools/qt-gui/src - keysetvisitor.hpp (source / functions) Hit Total Coverage
Test: coverage-filtered.info Lines: 0 1 0.0 %
Date: 2019-09-12 12:28:41 Functions: 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             : #ifndef KEYSETVISITOR_HPP
      10             : #define KEYSETVISITOR_HPP
      11             : 
      12             : #include "confignode.hpp"
      13             : #include "visitor.hpp"
      14             : #include <kdb.hpp>
      15             : 
      16             : /**
      17             :  * @brief The KeySetVisitor class. It visits every existing ConfigNode and collects the encapsuled key, if it exists.
      18             :  */
      19             : 
      20           0 : class KeySetVisitor : public Visitor
      21             : {
      22             : public:
      23             :         /**
      24             :          * @brief KeySetVisitor The default constructor.
      25             :          */
      26             :         explicit KeySetVisitor ();
      27             : 
      28             :         void visit (ConfigNode & node) override;
      29             :         void visit (TreeViewModel * model) override;
      30             : 
      31             :         /**
      32             :          * @brief getKeySet Returns the kdb::KeySet with all current valid keys
      33             :          * @return The kdb::KeySet with all current valid keys
      34             :          */
      35             :         kdb::KeySet getKeySet ();
      36             : 
      37             : private:
      38             :         kdb::KeySet m_set;
      39             : };
      40             : 
      41             : #endif // KEYSETVISITOR_HPP

Generated by: LCOV version 1.13