ledger-core
BitcoinLikeFeePolicy.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from addresses.djinni
3 
4 #ifndef DJINNI_GENERATED_BITCOINLIKEFEEPOLICY_HPP
5 #define DJINNI_GENERATED_BITCOINLIKEFEEPOLICY_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 BitcoinLikeFeePolicy : int {
21  PER_BYTE,
22  PER_KBYTE,
23 };
24 LIBCORE_EXPORT std::string to_string(const BitcoinLikeFeePolicy& bitcoinLikeFeePolicy);
25 LIBCORE_EXPORT std::ostream &operator<<(std::ostream &os, const BitcoinLikeFeePolicy &o);
26 
27 } } } // namespace ledger::core::api
28 
29 namespace std {
30 
31 template <>
32 struct hash<::ledger::core::api::BitcoinLikeFeePolicy> {
33  size_t operator()(::ledger::core::api::BitcoinLikeFeePolicy type) const {
34  return std::hash<int>()(static_cast<int>(type));
35  }
36 };
37 
38 } // namespace std
39 #endif //DJINNI_GENERATED_BITCOINLIKEFEEPOLICY_HPP
Definition: BitcoinLikeFeePolicy.hpp:29
Definition: Account.cpp:8