4 #ifndef DJINNI_GENERATED_LOCALE_HPP 5 #define DJINNI_GENERATED_LOCALE_HPP 11 namespace ledger {
namespace core {
namespace api {
14 std::string DecimalSeparator;
15 std::string ThousandsSeparator;
16 bool IsPrefixedByCurrencySymbol;
18 Locale(std::string DecimalSeparator_,
19 std::string ThousandsSeparator_,
20 bool IsPrefixedByCurrencySymbol_)
21 : DecimalSeparator(std::move(DecimalSeparator_))
22 , ThousandsSeparator(std::move(ThousandsSeparator_))
23 , IsPrefixedByCurrencySymbol(std::move(IsPrefixedByCurrencySymbol_))
27 this->DecimalSeparator = cpy.DecimalSeparator;
28 this->ThousandsSeparator = cpy.ThousandsSeparator;
29 this->IsPrefixedByCurrencySymbol = cpy.IsPrefixedByCurrencySymbol;
36 this->DecimalSeparator = cpy.DecimalSeparator;
37 this->ThousandsSeparator = cpy.ThousandsSeparator;
38 this->IsPrefixedByCurrencySymbol = cpy.IsPrefixedByCurrencySymbol;
42 template <
class Archive>
43 void load(Archive& archive) {
44 archive(DecimalSeparator, ThousandsSeparator, IsPrefixedByCurrencySymbol);
47 template <
class Archive>
48 void save(Archive& archive)
const {
49 archive(DecimalSeparator, ThousandsSeparator, IsPrefixedByCurrencySymbol);
54 #endif //DJINNI_GENERATED_LOCALE_HPP Definition: Locale.hpp:13
Definition: Account.cpp:8