hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
setting_query_factory.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_SETTING_QUERY_FACTORY_HPP
7 #define IROHA_SETTING_QUERY_FACTORY_HPP
8 
9 #include <boost/optional.hpp>
10 
12 
13 namespace iroha {
14  namespace ametsuchi {
16  public:
21  virtual boost::optional<std::unique_ptr<SettingQuery>>
22  createSettingQuery() const = 0;
23 
24  virtual ~SettingQueryFactory() = default;
25  };
26  } // namespace ametsuchi
27 } // namespace iroha
28 #endif // IROHA_SETTING_QUERY_FACTORY_HPP
Definition: setting_query_factory.hpp:15
virtual boost::optional< std::unique_ptr< SettingQuery > > createSettingQuery() const =0
Definition: block_query.hpp:14