LCOV - code coverage report
Current view: top level - shared_model/backend/protobuf/queries/impl - proto_query_payload_meta.cpp (source / functions) Hit Total Coverage
Test: coverage_cleared.info Lines: 1 6 16.7 %
Date: 2018-12-05 17:11:35 Functions: 2 17 11.8 %

          Line data    Source code
       1             : /**
       2             :  * Copyright Soramitsu Co., Ltd. All Rights Reserved.
       3             :  * SPDX-License-Identifier: Apache-2.0
       4             :  */
       5             : 
       6             : #include "backend/protobuf/queries/proto_query_payload_meta.hpp"
       7             : 
       8             : namespace shared_model {
       9             :   namespace proto {
      10             : 
      11             :     template <typename QueryPayloadMetaType>
      12             :     QueryPayloadMeta::QueryPayloadMeta(QueryPayloadMetaType &&query)
      13           1 :         : CopyableProto(std::forward<QueryPayloadMetaType>(query)) {}
      14             : 
      15             :     template QueryPayloadMeta::QueryPayloadMeta(
      16             :         QueryPayloadMeta::TransportType &);
      17             :     template QueryPayloadMeta::QueryPayloadMeta(
      18             :         const QueryPayloadMeta::TransportType &);
      19             :     template QueryPayloadMeta::QueryPayloadMeta(
      20             :         QueryPayloadMeta::TransportType &&);
      21             : 
      22             :     QueryPayloadMeta::QueryPayloadMeta(const QueryPayloadMeta &o)
      23           0 :         : QueryPayloadMeta(o.proto_) {}
      24             : 
      25             :     QueryPayloadMeta::QueryPayloadMeta(QueryPayloadMeta &&o) noexcept
      26           0 :         : QueryPayloadMeta(std::move(o.proto_)) {}
      27             : 
      28             :     const interface::types::AccountIdType &QueryPayloadMeta::creatorAccountId()
      29             :         const {
      30           0 :       return proto_->creator_account_id();
      31             :     }
      32             : 
      33             :     interface::types::CounterType QueryPayloadMeta::queryCounter() const {
      34           0 :       return proto_->query_counter();
      35             :     }
      36             : 
      37             :     interface::types::TimestampType QueryPayloadMeta::createdTime() const {
      38           0 :       return proto_->created_time();
      39             :     }
      40             : 
      41             :   }  // namespace proto
      42             : }  // namespace shared_model

Generated by: LCOV version 1.13