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

#include "account_response.hpp"

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

Public Types

using AccountRolesIdType = std::vector< types::RoleIdType >
 Collection of role_id types. More...
 
- Public Types inherited from shared_model::interface::ModelPrimitive< AccountResponse >
using ModelType = AccountResponse
 

Public Member Functions

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

Detailed Description

Provide response with account

Member Typedef Documentation

Collection of role_id types.

Member Function Documentation

virtual const Account& shared_model::interface::AccountResponse::account ( ) const
pure virtual
Returns
the fetched account.

Implemented in shared_model::proto::AccountResponse.

Here is the caller graph for this function:

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

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

Here is the call graph for this function:

virtual const AccountRolesIdType& shared_model::interface::AccountResponse::roles ( ) const
pure virtual
Returns
roles attached to the account

Implemented in shared_model::proto::AccountResponse.

Here is the caller graph for this function:

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

Make string developer representation of object

Returns
string with internal state of object

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

Here is the call graph for this function:


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