ledger-core
DynamicType.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from dynamic.djinni
3 
4 #ifndef DJINNI_GENERATED_DYNAMICTYPE_HPP
5 #define DJINNI_GENERATED_DYNAMICTYPE_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 DynamicType : int {
22  OBJECT,
24  INT32,
26  INT64,
28  DOUBLE,
30  BOOLEAN,
32  DATA,
34  ARRAY,
36  STRING,
38  UNDEFINED,
39 };
40 LIBCORE_EXPORT std::string to_string(const DynamicType& dynamicType);
41 LIBCORE_EXPORT std::ostream &operator<<(std::ostream &os, const DynamicType &o);
42 
43 } } } // namespace ledger::core::api
44 
45 namespace std {
46 
47 template <>
49  size_t operator()(::ledger::core::api::DynamicType type) const {
50  return std::hash<int>()(static_cast<int>(type));
51  }
52 };
53 
54 } // namespace std
55 #endif //DJINNI_GENERATED_DYNAMICTYPE_HPP
Definition: BitcoinLikeFeePolicy.hpp:29
DynamicType
Definition: DynamicType.hpp:20
Definition: Account.cpp:8