LCOV - code coverage report
Current view: top level - irohad/model - query_response.hpp (source / functions) Hit Total Coverage
Test: cleared_cor.info Lines: 1 1 100.0 %
Date: 2019-03-07 14:46:43 Functions: 3 5 60.0 %

          Line data    Source code
       1             : /**
       2             :  * Copyright Soramitsu Co., Ltd. All Rights Reserved.
       3             :  * SPDX-License-Identifier: Apache-2.0
       4             :  */
       5             : 
       6             : #ifndef IROHA_QUERY_RESPONSE_HPP
       7             : #define IROHA_QUERY_RESPONSE_HPP
       8             : 
       9             : #include <memory>
      10             : 
      11             : #include "crypto/hash_types.hpp"
      12             : #include "model/client.hpp"
      13             : #include "model/query.hpp"
      14             : 
      15             : namespace iroha {
      16             :   namespace model {
      17             :     /**
      18             :      * Interface of query response for user
      19             :      */
      20             :     struct QueryResponse {
      21             :       /**
      22             :        * Client query
      23             :        */
      24          12 :       hash256_t query_hash{};
      25             : 
      26             :       virtual ~QueryResponse() {}
      27             :     };
      28             :   }  // namespace model
      29             : }  // namespace iroha
      30             : #endif  // IROHA_QUERY_RESPONSE_HPP

Generated by: LCOV version 1.13