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