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

#include "account.hpp"

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

Public Member Functions

template<typename AccountType >
 Account (AccountType &&account)
 
 Account (const Account &o)
 
 Account (Account &&o) noexcept
 
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::proto::TrivialProto< interface::Account, iroha::protocol::Account >
 TrivialProto (ProtoLoader &&ref)
 
const iroha::protocol::Account & getTransport () const
 
- 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::proto::TrivialProto< interface::Account, iroha::protocol::Account >
using TransportType = iroha::protocol::Account
 
- Public Types inherited from shared_model::interface::ModelPrimitive< Account >
using ModelType = Account
 
- Protected Attributes inherited from shared_model::proto::TrivialProto< interface::Account, iroha::protocol::Account >
detail::ReferenceHolder< iroha::protocol::Account > proto_
 

Constructor & Destructor Documentation

template<typename AccountType >
shared_model::proto::Account::Account ( AccountType &&  account)
inlineexplicit
shared_model::proto::Account::Account ( const Account o)
inline
shared_model::proto::Account::Account ( Account &&  o)
inlinenoexcept

Member Function Documentation

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

Implements shared_model::interface::Account.

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

Implements shared_model::interface::Account.

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

Implements shared_model::interface::Account.

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

Implements shared_model::interface::Account.


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