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

#include "proto_account_response.hpp"

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

Public Member Functions

 AccountResponse (iroha::protocol::QueryResponse &query_response)
 
const interface::Accountaccount () const override
 
const AccountRolesIdTyperoles () const override
 
- Public Member Functions inherited from shared_model::interface::AccountResponse
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
 

Additional Inherited Members

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

Constructor & Destructor Documentation

shared_model::proto::AccountResponse::AccountResponse ( iroha::protocol::QueryResponse &  query_response)
explicit

Here is the call graph for this function:

Member Function Documentation

const interface::Account & shared_model::proto::AccountResponse::account ( ) const
overridevirtual
Returns
the fetched account.

Implements shared_model::interface::AccountResponse.

const AccountResponse::AccountRolesIdType & shared_model::proto::AccountResponse::roles ( ) const
overridevirtual
Returns
roles attached to the account

Implements shared_model::interface::AccountResponse.

Here is the caller graph for this function:


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