hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::proto::Proposal Class Referencefinal

#include "proposal.hpp"

Inheritance diagram for shared_model::proto::Proposal:
Inheritance graph
Collaboration diagram for shared_model::proto::Proposal:
Collaboration graph

Classes

struct  Impl
 

Public Types

using TransportType = iroha::protocol::Proposal
 
- Public Types inherited from shared_model::interface::ModelPrimitive< Proposal >
using ModelType = Proposal
 

Public Member Functions

 Proposal (Proposal &&o) noexcept
 
Proposaloperator= (Proposal &&o) noexcept=default
 
 Proposal (const TransportType &ref)
 
 Proposal (TransportType &&ref)
 
interface::types::TransactionsCollectionType transactions () const override
 
interface::types::TimestampType createdTime () const override
 
interface::types::HeightType height () const override
 
const interface::types::BlobTypeblob () const override
 
const TransportTypegetTransport () const
 
const interface::types::HashTypehash () const override
 
 ~Proposal () override
 
- Public Member Functions inherited from shared_model::interface::Proposal
bool operator== (const Proposal &rhs) const override
 
std::string toString () const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< Proposal >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Member Typedef Documentation

using shared_model::proto::Proposal::TransportType = iroha::protocol::Proposal

Constructor & Destructor Documentation

shared_model::proto::Proposal::Proposal ( Proposal &&  o)
defaultnoexcept
shared_model::proto::Proposal::Proposal ( const TransportType ref)
explicit
shared_model::proto::Proposal::Proposal ( TransportType &&  ref)
explicit
shared_model::proto::Proposal::~Proposal ( )
overridedefault

Here is the caller graph for this function:

Member Function Documentation

const interface::types::BlobType & shared_model::proto::Proposal::blob ( ) const
overridevirtual
TimestampType shared_model::proto::Proposal::createdTime ( ) const
overridevirtual
Returns
created time

Implements shared_model::interface::Proposal.

const Proposal::TransportType & shared_model::proto::Proposal::getTransport ( ) const
const interface::types::HashType & shared_model::proto::Proposal::hash ( ) const
overridevirtual

Implements shared_model::interface::Proposal.

Here is the call graph for this function:

HeightType shared_model::proto::Proposal::height ( ) const
overridevirtual
Returns
the height

Implements shared_model::interface::Proposal.

Proposal& shared_model::proto::Proposal::operator= ( Proposal &&  o)
defaultnoexcept
TransactionsCollectionType shared_model::proto::Proposal::transactions ( ) const
overridevirtual
Returns
transactions

Implements shared_model::interface::Proposal.


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