LCOV - code coverage report
Current view: top level - package/prefixdb/api - get.hpp (source / functions) Hit Total Coverage
Test: wfc_prefixdb-coverage.info Lines: 0 2 0.0 %
Date: 2019-06-26 Functions: 0 6 0.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include <prefixdb/api/common_status.hpp>
       4             : #include <prefixdb/api/fields.hpp>
       5             : #include <memory>
       6             : #include <string>
       7             : 
       8             : namespace wamba { namespace prefixdb {
       9             : 
      10             : namespace request
      11             : {
      12           0 :   struct get
      13             :   {
      14             :     bool noval = false; // не сериализуеться 
      15             :     std::string prefix;
      16             :     key_list_t fields;
      17             :     size_t snapshot = 0;
      18             :     typedef std::unique_ptr<get> ptr;
      19             :   };
      20             : }
      21             : 
      22             : namespace response
      23             : {
      24           0 :   struct get
      25             :   {
      26             :    
      27             :     common_status status = common_status::OK ;
      28             :     std::string prefix;
      29             :     field_list_t fields;
      30             : 
      31             :     typedef std::unique_ptr<get> ptr;
      32             :     typedef std::function< void(ptr) > handler;
      33             :   };
      34             : 
      35             : }
      36             : 
      37             : }}

Generated by: LCOV version 1.10