hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
account_asset_response.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SHARED_MODEL_ACCOUNT_ASSET_RESPONSE_HPP
7 #define IROHA_SHARED_MODEL_ACCOUNT_ASSET_RESPONSE_HPP
8 
10 
11 #include <boost/optional.hpp>
14 
15 namespace shared_model {
16  namespace interface {
20  class AccountAssetResponse : public ModelPrimitive<AccountAssetResponse> {
21  public:
25  virtual const types::AccountAssetCollectionType accountAssets() const = 0;
26 
27  virtual boost::optional<types::AssetIdType> nextAssetId() const = 0;
28 
29  virtual size_t totalAccountAssetsNumber() const = 0;
30 
31  std::string toString() const override;
32 
33  bool operator==(const ModelType &rhs) const override;
34  };
35  } // namespace interface
36 } // namespace shared_model
37 #endif // IROHA_SHARED_MODEL_ACCOUNT_ASSET_RESPONSE_HPP
std::string toString() const override
Definition: account_asset_response.cpp:12
boost::any_range< AccountAsset, boost::random_access_traversal_tag, const AccountAsset & > AccountAssetCollectionType
Definition: range_types.hpp:33
virtual const types::AccountAssetCollectionType accountAssets() const =0
Definition: account_asset_response.hpp:20
virtual boost::optional< types::AssetIdType > nextAssetId() const =0
virtual size_t totalAccountAssetsNumber() const =0
bool operator==(const ModelType &rhs) const override
Definition: account_asset_response.cpp:23
Definition: model_primitive.hpp:22
Definition: command_executor.hpp:12