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

          Line data    Source code
       1             : #pragma once
       2             : 
       3             : #include <prefixdb/api/attach_prefixes.hpp>
       4             : #include <prefixdb/api/common_status_json.hpp>
       5             : #include <wfc/json.hpp>
       6             : 
       7             : namespace wamba { namespace prefixdb {
       8             : 
       9             : namespace request 
      10             : {
      11             :   struct attach_prefixes_json
      12             :   {
      13           0 :     JSON_NAME(prefixes)
      14           0 :     JSON_NAME(opendb)
      15             :     
      16             :     typedef wfc::json::object<
      17             :       attach_prefixes,
      18             :       wfc::json::member_list<
      19             :         wfc::json::member<n_prefixes, attach_prefixes, attach_prefixes::prefix_list, &attach_prefixes::prefixes, wfc::json::vector_of_strings<50> >,
      20             :         wfc::json::member<n_opendb, attach_prefixes, bool, &attach_prefixes::opendb >
      21             :       >
      22             :     > type;
      23             :     typedef type::target target;
      24             :     typedef type::serializer serializer;
      25             :     typedef type::member_list member_list;
      26             :   };
      27             : }
      28             : 
      29             : namespace response
      30             : {
      31             :   struct attach_prefixes_json
      32             :   {
      33           0 :     JSON_NAME(status)
      34             : 
      35             :     typedef wfc::json::object<
      36             :       attach_prefixes,
      37             :       wfc::json::member_list<
      38             :         wfc::json::member<n_status, attach_prefixes, common_status, &attach_prefixes::status, common_status_json>
      39             :       >
      40             :     > type;
      41             :     typedef type::target target;
      42             :     typedef type::serializer serializer;
      43             :     typedef type::member_list member_list;
      44             :   };
      45             : }
      46             : 
      47             : }}

Generated by: LCOV version 1.10