hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
model_blocks_query_builder.hpp
Go to the documentation of this file.
1 
6 #ifndef IROHA_MODEL_BLOCKS_QUERY_BUILDER_HPP
7 #define IROHA_MODEL_BLOCKS_QUERY_BUILDER_HPP
8 
11 
12 namespace shared_model {
13  namespace bindings {
14 
20  private:
21  template <int Sp>
22  explicit ModelBlocksQueryBuilder(
24  : builder_(o) {}
25 
28  builder_;
29 
30  public:
32 
38  ModelBlocksQueryBuilder createdTime(
39  interface::types::TimestampType created_time);
40 
46  ModelBlocksQueryBuilder creatorAccountId(
47  const interface::types::AccountIdType &creator_account_id);
48 
54  ModelBlocksQueryBuilder queryCounter(
55  interface::types::CounterType query_counter);
56 
62  };
63 
64  } // namespace bindings
65 } // namespace shared_model
66 
67 #endif // IROHA_MODEL_BLOCKS_QUERY_BUILDER_HPP
Definition: blocks_query_template.hpp:31
ModelBlocksQueryBuilder createdTime(interface::types::TimestampType created_time)
Definition: model_blocks_query_builder.cpp:15
ModelBlocksQueryBuilder()
Definition: model_blocks_query_builder.cpp:11
std::string AccountIdType
Type of account id.
Definition: types.hpp:37
ModelBlocksQueryBuilder creatorAccountId(const interface::types::AccountIdType &creator_account_id)
Definition: model_blocks_query_builder.cpp:20
ModelBlocksQueryBuilder queryCounter(interface::types::CounterType query_counter)
Definition: model_blocks_query_builder.cpp:26
Definition: unsigned_proto.hpp:25
proto::UnsignedWrapper< proto::BlocksQuery > build()
Definition: model_blocks_query_builder.cpp:32
Definition: model_blocks_query_builder.hpp:19
uint64_t CounterType
Type of counter.
Definition: types.hpp:65
Definition: command_executor.hpp:12
uint64_t TimestampType
Type of timestamp.
Definition: types.hpp:61