LCOV - code coverage report
Current view: top level - libstorage/storage - storage.hpp (source / functions) Hit Total Coverage
Test: wfc_demo-coverage.info Lines: 1 1 100.0 %
Date: 2019-08-13 Functions: 2 2 100.0 %

          Line data    Source code
       1             : #pragma once 
       2             : 
       3             : #include <string>
       4             : #include <mutex>
       5             : #include <map>
       6             : 
       7           3 : class storage
       8             : {
       9             : public:
      10             :   bool set(const std::string& key, const std::string& val);
      11             :   bool get(const std::string& key, std::string* val) const;
      12             : private:
      13             :   mutable std::mutex _mutex;
      14             :   std::map<std::string, std::string> _storage;
      15             : };

Generated by: LCOV version 1.10