LCOV - code coverage report
Current view: top level - utilites/matchmaker - matchmaker.hpp (source / functions) Hit Total Coverage
Test: wfc_jsonrpc-coverage.info Lines: 1 1 100.0 %
Date: 2019-09-12 Functions: 2 2 100.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include <matchmaker/match_mode.hpp>
       4             : #include <wfc/json.hpp>
       5             : #include <memory>
       6             : 
       7             : namespace wfc{ namespace jsonrpc{ 
       8             :   
       9             : struct imatcher;
      10             : 
      11           2 : class matchmaker
      12             : {
      13             :   struct regular;
      14             :   enum class regtype;
      15             : public:
      16             :   bool reconfigure(int mode, const std::string& jsonconfig, json::json_error& err);
      17             :   bool match(const char* beg, const char* end, json::json_error& err);
      18             :   bool match(const std::string& json, json::json_error& err);
      19             : private:
      20             :   std::shared_ptr<imatcher> _matcher;
      21             : };
      22             : 
      23             : 
      24             : }}

Generated by: LCOV version 1.10