ledger-core
FormatRules.hpp
1 // AUTOGENERATED FILE - DO NOT MODIFY!
2 // This file generated by Djinni from amount.djinni
3 
4 #ifndef DJINNI_GENERATED_FORMATRULES_HPP_JNI_
5 #define DJINNI_GENERATED_FORMATRULES_HPP_JNI_
6 
7 #include "../../api/FormatRules.hpp"
8 #include "djinni_support.hpp"
9 
10 namespace djinni_generated {
11 
12 class FormatRules final {
13 public:
15  using JniType = jobject;
16 
17  using Boxed = FormatRules;
18 
19  ~FormatRules();
20 
21  static CppType toCpp(JNIEnv* jniEnv, JniType j);
22  static ::djinni::LocalRef<JniType> fromCpp(JNIEnv* jniEnv, const CppType& c);
23 
24 private:
25  FormatRules();
26  friend ::djinni::JniClass<FormatRules>;
27 
28  const ::djinni::GlobalRef<jclass> clazz { ::djinni::jniFindClass("co/ledger/core/FormatRules") };
29  const jmethodID jconstructor { ::djinni::jniGetMethodID(clazz.get(), "<init>", "(Lco/ledger/core/RoundingMode;I)V") };
30  const jfieldID field_roundingMode { ::djinni::jniGetFieldID(clazz.get(), "roundingMode", "Lco/ledger/core/RoundingMode;") };
31  const jfieldID field_maxNumberOfDecimals { ::djinni::jniGetFieldID(clazz.get(), "maxNumberOfDecimals", "I") };
32 };
33 
34 } // namespace djinni_generated
35 #endif //DJINNI_GENERATED_FORMATRULES_HPP_JNI_
Definition: FormatRules.hpp:12
Definition: FormatRules.hpp:15
Definition: Account.cpp:22