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

#include "account.hpp"

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

Public Member Functions

 Account (const interface::types::AccountIdType &account_id, const interface::types::DomainIdType &domain_id, interface::types::QuorumType quorum, const interface::types::JsonType &json_data)
 
const interface::types::AccountIdTypeaccountId () const override
 
const interface::types::DomainIdTypedomainId () const override
 
interface::types::QuorumType quorum () const override
 
const interface::types::JsonTypejsonData () const override
 
- Public Member Functions inherited from shared_model::interface::Account
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
 

Constructor & Destructor Documentation

◆ Account()

shared_model::plain::Account::Account ( const interface::types::AccountIdType account_id,
const interface::types::DomainIdType domain_id,
interface::types::QuorumType  quorum,
const interface::types::JsonType json_data 
)

Copyright Soramitsu Co., Ltd. All Rights Reserved. SPDX-License-Identifier: Apache-2.0

Member Function Documentation

◆ accountId()

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

Implements shared_model::interface::Account.

◆ domainId()

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

Implements shared_model::interface::Account.

◆ jsonData()

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

Implements shared_model::interface::Account.

◆ quorum()

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

Implements shared_model::interface::Account.


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