hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
NonCopyableProto< Iface, Proto, Impl > Class Template Reference

#include "noncopyable_proto.hpp"

Inheritance diagram for NonCopyableProto< Iface, Proto, Impl >:
Inheritance graph
Collaboration diagram for NonCopyableProto< Iface, Proto, Impl >:
Collaboration graph

Public Types

using TransportType = Proto
 

Public Member Functions

template<typename Transport >
 NonCopyableProto (Transport &&ref)
 
 NonCopyableProto (const NonCopyableProto &o)=delete
 
NonCopyableProtooperator= (const NonCopyableProto &o)=delete
 
const Proto & getTransport () const
 

Protected Member Functions

Iface::ModelType * clone () const overridefinal
 

Protected Attributes

Proto proto_
 

Detailed Description

template<typename Iface, typename Proto, typename Impl>
class NonCopyableProto< Iface, Proto, Impl >

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0 Generic class for handling proto objects which are not intended to be copied.

Template Parameters
Ifaceis interface to inherit from
Protois protobuf container
Implis implementation of Iface

Member Typedef Documentation

template<typename Iface , typename Proto , typename Impl >
using NonCopyableProto< Iface, Proto, Impl >::TransportType = Proto

Constructor & Destructor Documentation

template<typename Iface , typename Proto , typename Impl >
template<typename Transport >
NonCopyableProto< Iface, Proto, Impl >::NonCopyableProto ( Transport &&  ref)
inline

Here is the call graph for this function:

template<typename Iface , typename Proto , typename Impl >
NonCopyableProto< Iface, Proto, Impl >::NonCopyableProto ( const NonCopyableProto< Iface, Proto, Impl > &  o)
delete

Member Function Documentation

template<typename Iface , typename Proto , typename Impl >
Iface::ModelType* NonCopyableProto< Iface, Proto, Impl >::clone ( ) const
inlinefinaloverrideprotected
template<typename Iface , typename Proto , typename Impl >
const Proto& NonCopyableProto< Iface, Proto, Impl >::getTransport ( ) const
inline
template<typename Iface , typename Proto , typename Impl >
NonCopyableProto& NonCopyableProto< Iface, Proto, Impl >::operator= ( const NonCopyableProto< Iface, Proto, Impl > &  o)
delete

Here is the caller graph for this function:

Member Data Documentation

template<typename Iface , typename Proto , typename Impl >
Proto NonCopyableProto< Iface, Proto, Impl >::proto_
protected

The documentation for this class was generated from the following file: