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

#include "get_account_detail.hpp"

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

Public Member Functions

virtual const types::AccountIdTypeaccountId () const =0
 
virtual boost::optional< types::AccountDetailKeyTypekey () const =0
 
virtual boost::optional< types::AccountIdTypewriter () const =0
 
virtual boost::optional< const AccountDetailPaginationMeta & > paginationMeta () const =0
 Get the query pagination metadata. More...
 
std::string toString () const override
 
bool operator== (const ModelType &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< GetAccountDetail >
virtual bool operator== (const ModelType &rhs) const=0
 
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

- Public Types inherited from shared_model::interface::ModelPrimitive< GetAccountDetail >
using ModelType = GetAccountDetail
 

Detailed Description

Query for get all account's details; the algorithm of retrieving them is the following:

  • if query has only accountId, all details about the specified account will be returned
  • if there is a key in a query, details written by all writers under this key will be returned
  • if there is a writer in a query, all details written by this writer will be returned
  • if there are both key and writer in a query, details written by this writer AND under this key will be returned

Member Function Documentation

◆ accountId()

virtual const types::AccountIdType& shared_model::interface::GetAccountDetail::accountId ( ) const
pure virtual
Returns
account identifier

Implemented in shared_model::proto::GetAccountDetail.

Here is the caller graph for this function:

◆ key()

virtual boost::optional<types::AccountDetailKeyType> shared_model::interface::GetAccountDetail::key ( ) const
pure virtual
Returns
key from key-value storage

Implemented in shared_model::proto::GetAccountDetail.

Here is the caller graph for this function:

◆ operator==()

bool shared_model::interface::GetAccountDetail::operator== ( const ModelType rhs) const
override
Here is the call graph for this function:

◆ paginationMeta()

virtual boost::optional<const AccountDetailPaginationMeta &> shared_model::interface::GetAccountDetail::paginationMeta ( ) const
pure virtual

Get the query pagination metadata.

Implemented in shared_model::proto::GetAccountDetail.

Here is the caller graph for this function:

◆ toString()

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

Make string developer representation of object

Returns
string with internal state of object

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

Here is the call graph for this function:

◆ writer()

virtual boost::optional<types::AccountIdType> shared_model::interface::GetAccountDetail::writer ( ) const
pure virtual
Returns
account identifier of writer

Implemented in shared_model::proto::GetAccountDetail.

Here is the caller graph for this function:

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