LCOV - code coverage report
Current view: top level - irohad/model/queries/responses - asset_response.hpp (source / functions) Hit Total Coverage
Test: cleared_cor.info Lines: 1 1 100.0 %
Date: 2019-03-07 14:46:43 Functions: 6 9 66.7 %

          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_ASSET_RESPONSE_HPP
       7             : #define IROHA_ASSET_RESPONSE_HPP
       8             : 
       9             : #include "model/asset.hpp"
      10             : #include "model/query_response.hpp"
      11             : 
      12             : namespace iroha {
      13             :   namespace model {
      14             : 
      15             :     /**
      16             :      * Provide response with asset
      17             :      */
      18             :     struct AssetResponse : public QueryResponse {
      19             :       /**
      20             :        * Attached asset
      21             :        */
      22           1 :       Asset asset{};
      23             :     };
      24             :   }  // namespace model
      25             : }  // namespace iroha
      26             : 
      27             : #endif  // IROHA_ASSET_RESPONSE_HPP

Generated by: LCOV version 1.13