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

template<typename QueryResponseType >
 AccountResponse (QueryResponseType &&queryResponse)
 
 AccountResponse (const AccountResponse &o)
 
 AccountResponse (AccountResponse &&o)
 
const interface::Accountaccount () const override
 
const AccountRolesIdTyperoles () const override
 
- Public Member Functions inherited from shared_model::proto::CopyableProto< interface::AccountResponse, iroha::protocol::QueryResponse, AccountResponse >
 CopyableProto (ProtoLoader &&ref)
 
const iroha::protocol::QueryResponse & getTransport () const
 
- 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
 
- Public Member Functions inherited from Cloneable< ModelPrimitive< AccountResponse > >
virtual ~Cloneable ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::proto::CopyableProto< interface::AccountResponse, iroha::protocol::QueryResponse, AccountResponse >
using TransportType = iroha::protocol::QueryResponse
 
- 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
 
- Public Types inherited from Cloneable< ModelPrimitive< AccountResponse > >
using base_type = ModelPrimitive< AccountResponse >
 
- Protected Member Functions inherited from shared_model::proto::CopyableProto< interface::AccountResponse, iroha::protocol::QueryResponse, AccountResponse >
interface::AccountResponse::ModelTypeclone () const overridefinal
 
- Protected Attributes inherited from shared_model::proto::CopyableProto< interface::AccountResponse, iroha::protocol::QueryResponse, AccountResponse >
detail::ReferenceHolder< iroha::protocol::QueryResponse > proto_
 

Constructor & Destructor Documentation

template<typename QueryResponseType >
shared_model::proto::AccountResponse::AccountResponse ( QueryResponseType &&  queryResponse)
explicit

Here is the call graph for this function:

shared_model::proto::AccountResponse::AccountResponse ( const AccountResponse o)
shared_model::proto::AccountResponse::AccountResponse ( AccountResponse &&  o)

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: