LCOV - code coverage report
Current view: top level - package/demo/api - multiget_json.hpp (source / functions) Hit Total Coverage
Test: wfc_demo-coverage.info Lines: 0 2 0.0 %
Date: 2019-08-13 Functions: 0 2 0.0 %

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include <demo/api/multiget.hpp>
       4             : #include <wfc/json.hpp>
       5             : 
       6             : namespace demo{
       7             : 
       8             : namespace request
       9             : {
      10             :   struct multiget_json
      11             :   {
      12           0 :     JSON_NAME(keys)
      13             : 
      14             :     typedef wfc::json::object<
      15             :       multiget,
      16             :       wfc::json::member_list<
      17             :         wfc::json::member<
      18             :           n_keys, 
      19             :           multiget, 
      20             :           std::set<std::string>, 
      21             :           &multiget::keys, 
      22             :           wfc::json::array< std::set< wfc::json::value< std::string> > > 
      23             :         >
      24             :       >
      25             :     > type;
      26             : 
      27             :     typedef type::target     target;
      28             :     typedef type::serializer serializer;
      29             :   };
      30             : }
      31             : 
      32             : namespace response
      33             : {
      34             :   struct multiget_json
      35             :   {
      36           0 :     JSON_NAME(values)
      37             :     typedef wfc::json::pointer< std::shared_ptr<std::string>, wfc::json::value<std::string> > string_pointer_json;
      38             :     typedef wfc::json::dict_map< string_pointer_json > dict_json;
      39             :     typedef wfc::json::object<
      40             :       multiget,
      41             :       wfc::json::member_list<
      42             :         wfc::json::member< n_values, multiget, multiget::map_type, &multiget::values, dict_json>
      43             :       >
      44             :     > type;
      45             :     typedef type::target     target;
      46             :     typedef type::serializer serializer;
      47             :   };
      48             : }
      49             : 
      50             : }

Generated by: LCOV version 1.10