ledger-core
OperationOrderKey.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from wallet.djinni
3 
4 #ifndef DJINNI_GENERATED_OPERATIONORDERKEY_HPP
5 #define DJINNI_GENERATED_OPERATIONORDERKEY_HPP
6 
7 #include <functional>
8 #include <iostream>
9 #include <string>
10 #ifndef LIBCORE_EXPORT
11  #if defined(_MSC_VER)
12  #include <libcore_export.h>
13  #else
14  #define LIBCORE_EXPORT
15  #endif
16 #endif
17 
18 namespace ledger { namespace core { namespace api {
19 
20 enum class OperationOrderKey : int {
21  DATE,
22  AMOUNT,
23  SENDERS,
24  RECIPIENTS,
25  TYPE,
26  CURRENCY_NAME,
27  FEES,
28  BLOCK_HEIGHT,
29 };
30 LIBCORE_EXPORT std::string to_string(const OperationOrderKey& operationOrderKey);
31 LIBCORE_EXPORT std::ostream &operator<<(std::ostream &os, const OperationOrderKey &o);
32 
33 } } } // namespace ledger::core::api
34 
35 namespace std {
36 
37 template <>
38 struct hash<::ledger::core::api::OperationOrderKey> {
39  size_t operator()(::ledger::core::api::OperationOrderKey type) const {
40  return std::hash<int>()(static_cast<int>(type));
41  }
42 };
43 
44 } // namespace std
45 #endif //DJINNI_GENERATED_OPERATIONORDERKEY_HPP
Definition: BitcoinLikeFeePolicy.hpp:29
Definition: Account.cpp:8