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

#include "trivial_proto.hpp"

Inheritance diagram for shared_model::proto::TrivialProto< Iface, Proto >:
Inheritance graph
Collaboration diagram for shared_model::proto::TrivialProto< Iface, Proto >:
Collaboration graph

Public Types

using TransportType = Proto
 

Public Member Functions

template<typename ProtoLoader >
 TrivialProto (ProtoLoader &&ref)
 
const Proto & getTransport () const
 

Protected Attributes

detail::ReferenceHolder< Proto > proto_
 

Detailed Description

template<typename Iface, typename Proto>
class shared_model::proto::TrivialProto< Iface, Proto >

Simple generic class for handling proto objects

Template Parameters
Ifaceis interface to inherit from
Protois protobuf container

Member Typedef Documentation

template<typename Iface, typename Proto>
using shared_model::proto::TrivialProto< Iface, Proto >::TransportType = Proto

Constructor & Destructor Documentation

template<typename Iface, typename Proto>
template<typename ProtoLoader >
shared_model::proto::TrivialProto< Iface, Proto >::TrivialProto ( ProtoLoader &&  ref)
inlineexplicit

ProtoLoader generic param so it can be handled in the load for the boost::variant

Member Function Documentation

template<typename Iface, typename Proto>
const Proto& shared_model::proto::TrivialProto< Iface, Proto >::getTransport ( ) const
inline

Member Data Documentation

template<typename Iface, typename Proto>
detail::ReferenceHolder<Proto> shared_model::proto::TrivialProto< Iface, Proto >::proto_
protected

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