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

#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 Member Functions

template<typename ProtoLoader >
 TrivialProto (ProtoLoader &&ref)
 

Protected Member Functions

Iface::ModelType * clone () const override
 

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

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

Here is the caller graph for this function:

Member Function Documentation

template<typename Iface , typename Proto >
Iface::ModelType* shared_model::proto::TrivialProto< Iface, Proto >::clone ( ) const
inlineoverrideprotected

Here is the call graph for this function:


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