hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
shared_model::interface::AddPeer Class Referenceabstract

#include "add_peer.hpp"

Inheritance diagram for shared_model::interface::AddPeer:
Inheritance graph
Collaboration diagram for shared_model::interface::AddPeer:
Collaboration graph

Public Member Functions

virtual const interface::Peerpeer () const =0
 
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< AddPeer >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< AddPeer > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< AddPeer >
using ModelType = AddPeer
 
- Public Types inherited from Cloneable< ModelPrimitive< AddPeer > >
using base_type = ModelPrimitive< AddPeer >
 
- Protected Member Functions inherited from Cloneable< ModelPrimitive< AddPeer > >
virtual ModelPrimitive< AddPeer > * clone () const =0
 

Detailed Description

Add new peer to Iroha

Member Function Documentation

bool shared_model::interface::AddPeer::operator== ( const ModelType rhs) const
overridevirtual

Implements shared_model::interface::ModelPrimitive< AddPeer >.

Here is the call graph for this function:

virtual const interface::Peer& shared_model::interface::AddPeer::peer ( ) const
pure virtual

Return peer to be added by the command.

Returns
Peer

Implemented in shared_model::proto::AddPeer.

Here is the caller graph for this function:

std::string shared_model::interface::AddPeer::toString ( ) const
overridevirtual

Make string developer representation of object

Returns
string with internal state of object

Reimplemented from shared_model::interface::ModelPrimitive< AddPeer >.

Here is the call graph for this function:


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