4 #ifndef DJINNI_GENERATED_QUERYFILTER_HPP 5 #define DJINNI_GENERATED_QUERYFILTER_HPP 11 #ifndef LIBCORE_EXPORT 13 #include <libcore_export.h> 15 #define LIBCORE_EXPORT 19 namespace ledger {
namespace core {
namespace api {
22 enum class OperationType;
23 enum class TrustLevel;
30 static std::shared_ptr<QueryFilter> accountEq(
const std::string & accountUid);
32 static std::shared_ptr<QueryFilter> accountNeq(
const std::string & accountUid);
34 static std::shared_ptr<QueryFilter> dateLte(
const std::chrono::system_clock::time_point & time);
36 static std::shared_ptr<QueryFilter> dateLt(
const std::chrono::system_clock::time_point & time);
38 static std::shared_ptr<QueryFilter> dateGt(
const std::chrono::system_clock::time_point & time);
40 static std::shared_ptr<QueryFilter> dateGte(
const std::chrono::system_clock::time_point & time);
42 static std::shared_ptr<QueryFilter> dateEq(
const std::chrono::system_clock::time_point & time);
44 static std::shared_ptr<QueryFilter> dateNeq(
const std::chrono::system_clock::time_point & time);
46 static std::shared_ptr<QueryFilter> containsRecipient(
const std::string & recipientAddress);
48 static std::shared_ptr<QueryFilter> containsSender(
const std::string & senderAddress);
50 static std::shared_ptr<QueryFilter> currencyEq(
const std::string & currencyName);
52 static std::shared_ptr<QueryFilter> operationUidEq(
const std::string & operationUid);
54 static std::shared_ptr<QueryFilter> operationUidNeq(
const std::string & operationUid);
56 static std::shared_ptr<QueryFilter> trustEq(TrustLevel trust);
58 static std::shared_ptr<QueryFilter> trustNeq(TrustLevel trust);
60 static std::shared_ptr<QueryFilter> feesEq(
const std::shared_ptr<Amount> & amount);
62 static std::shared_ptr<QueryFilter> feesNeq(
const std::shared_ptr<Amount> & amount);
64 static std::shared_ptr<QueryFilter> feesGte(
const std::shared_ptr<Amount> & amount);
66 static std::shared_ptr<QueryFilter> feesGt(
const std::shared_ptr<Amount> & amount);
68 static std::shared_ptr<QueryFilter> feesLte(
const std::shared_ptr<Amount> & amount);
70 static std::shared_ptr<QueryFilter> feesLt(
const std::shared_ptr<Amount> & amount);
72 static std::shared_ptr<QueryFilter> amountEq(
const std::shared_ptr<Amount> & amount);
74 static std::shared_ptr<QueryFilter> amountNeq(
const std::shared_ptr<Amount> & amount);
76 static std::shared_ptr<QueryFilter> amountGte(
const std::shared_ptr<Amount> & amount);
78 static std::shared_ptr<QueryFilter> amountGt(
const std::shared_ptr<Amount> & amount);
80 static std::shared_ptr<QueryFilter> amountLte(
const std::shared_ptr<Amount> & amount);
82 static std::shared_ptr<QueryFilter> amountLt(
const std::shared_ptr<Amount> & amount);
84 static std::shared_ptr<QueryFilter> blockHeightEq(int64_t blockHeight);
86 static std::shared_ptr<QueryFilter> blockHeightNeq(int64_t blockHeight);
88 static std::shared_ptr<QueryFilter> blockHeightGte(int64_t blockHeight);
90 static std::shared_ptr<QueryFilter> blockHeightGt(int64_t blockHeight);
92 static std::shared_ptr<QueryFilter> blockHeightLte(int64_t blockHeight);
94 static std::shared_ptr<QueryFilter> blockHeightLt(int64_t blockHeight);
96 static std::shared_ptr<QueryFilter> blockHeightIsNull();
98 static std::shared_ptr<QueryFilter> operationTypeEq(OperationType operationType);
100 static std::shared_ptr<QueryFilter> operationTypeNeq(OperationType operationType);
102 virtual std::shared_ptr<QueryFilter> op_and(
const std::shared_ptr<QueryFilter> & filter) = 0;
104 virtual std::shared_ptr<QueryFilter> op_or(
const std::shared_ptr<QueryFilter> & filter) = 0;
106 virtual std::shared_ptr<QueryFilter> op_and_not(
const std::shared_ptr<QueryFilter> & filter) = 0;
108 virtual std::shared_ptr<QueryFilter> op_or_not(
const std::shared_ptr<QueryFilter> & filter) = 0;
112 #endif //DJINNI_GENERATED_QUERYFILTER_HPP Definition: QueryFilter.hpp:26
Definition: Account.cpp:8