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

#include "account.hpp"

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

Public Member Functions

virtual const types::AccountIdTypeaccountId () const =0
 
virtual const types::DomainIdTypedomainId () const =0
 
virtual types::QuorumType quorum () const =0
 
virtual const types::JsonTypejsonData () const =0
 
std::string toString () const override
 
bool operator== (const Account &rhs) const override
 
- Public Member Functions inherited from shared_model::interface::ModelPrimitive< Account >
virtual bool operator!= (const ModelType &rhs) const
 
virtual ~ModelPrimitive ()=default
 

Additional Inherited Members

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

Detailed Description

User identity information in the system

Member Function Documentation

virtual const types::AccountIdType& shared_model::interface::Account::accountId ( ) const
pure virtual
Returns
Identity of user, for fetching data

Implemented in shared_model::proto::Account.

Here is the caller graph for this function:

virtual const types::DomainIdType& shared_model::interface::Account::domainId ( ) const
pure virtual
Returns
Identity of domain, for fetching data

Implemented in shared_model::proto::Account.

Here is the caller graph for this function:

virtual const types::JsonType& shared_model::interface::Account::jsonData ( ) const
pure virtual
Returns
JSON data stored in account

Implemented in shared_model::proto::Account.

Here is the caller graph for this function:

bool shared_model::interface::Account::operator== ( const Account rhs) const
inlineoverridevirtual

Checks equality of objects inside

Parameters
rhs- other wrapped value
Returns
true, if wrapped objects are same

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

Here is the call graph for this function:

virtual types::QuorumType shared_model::interface::Account::quorum ( ) const
pure virtual
Returns
Minimum quorum of signatures needed for transactions

Implemented in shared_model::proto::Account.

Here is the caller graph for this function:

std::string shared_model::interface::Account::toString ( ) const
inlineoverridevirtual

Stringify the data.

Returns
the content of account asset.

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

Here is the call graph for this function:


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