6 #ifndef IROHA_SHARED_MODEL_ACCOUNT_ASSET_HPP 7 #define IROHA_SHARED_MODEL_ACCOUNT_ASSET_HPP 62 #endif // IROHA_SHARED_MODEL_ACCOUNT_ASSET_HPP virtual const Amount & balance() const =0
std::string toString() const override
Definition: account_asset.hpp:41
PrettyStringBuilder & init(const std::string &name)
Definition: string_builder.cpp:18
bool operator==(const ModelType &rhs) const override
Definition: account_asset.hpp:55
virtual const types::AssetIdType & assetId() const =0
Definition: amount.hpp:21
std::string finalize()
Definition: string_builder.cpp:44
virtual const types::AccountIdType & accountId() const =0
Definition: string_builder.hpp:18
std::string AccountIdType
Type of account id.
Definition: types.hpp:38
Definition: model_primitive.hpp:22
Definition: command_executor.hpp:13
Definition: account_asset.hpp:20
PrettyStringBuilder & appendNamed(const Name &name, const Value &value)
----—— Augmented appending functions. ----—— ///
Definition: string_builder.hpp:53
std::string AssetIdType
Type of asset id.
Definition: types.hpp:60