6 #ifndef IROHA_SHARED_MODEL_PROTO_ACCOUNT_HPP 7 #define IROHA_SHARED_MODEL_PROTO_ACCOUNT_HPP 12 #include "qry_responses.pb.h" 17 :
public TrivialProto<interface::Account, iroha::protocol::Account> {
19 template <
typename AccountType>
28 return proto_->account_id();
32 return proto_->domain_id();
40 return proto_->json_data();
46 #endif // IROHA_SHARED_MODEL_PROTO_ACCOUNT_HPP interface::types::QuorumType quorum() const override
Definition: account.hpp:35
Account(AccountType &&account)
Definition: account.hpp:20
std::string DomainIdType
Iroha domain id type.
Definition: types.hpp:58
Definition: account.hpp:16
Account(const Account &o)
Definition: account.hpp:23
const interface::types::JsonType & jsonData() const override
Definition: account.hpp:39
const interface::types::AccountIdType & accountId() const override
Definition: account.hpp:27
std::string AccountIdType
Type of account id.
Definition: types.hpp:38
Account(Account &&o) noexcept
Definition: account.hpp:25
Definition: trivial_proto.hpp:19
Definition: command_executor.hpp:13
const interface::types::DomainIdType & domainId() const override
Definition: account.hpp:31
detail::ReferenceHolder< iroha::protocol::Account > proto_
Definition: trivial_proto.hpp:36
uint16_t QuorumType
Type of Quorum used in transaction and set quorum.
Definition: types.hpp:67
std::string JsonType
Type of JSON data.
Definition: types.hpp:79