|
ledger-core
|
#include <CurrencyUnit.hpp>
Public Member Functions | |
| CurrencyUnit (std::string name_, std::string symbol_, std::string code_, int32_t numberOfDecimal_) | |
| CurrencyUnit (const CurrencyUnit &cpy) | |
| CurrencyUnit & | operator= (const CurrencyUnit &cpy) |
| template<class Archive > | |
| void | load (Archive &archive) |
| template<class Archive > | |
| void | save (Archive &archive) const |
Public Attributes | |
| std::string | name |
| std::string | symbol |
| std::string | code |
| int32_t | numberOfDecimal |
Structure of cryptocurrency unit.
| std::string ledger::core::api::CurrencyUnit::code |
Currency code, e.g. mBTC.
| std::string ledger::core::api::CurrencyUnit::name |
Currency name, e.g. milli-bitcoin.
| int32_t ledger::core::api::CurrencyUnit::numberOfDecimal |
Number of decimal to display.
| std::string ledger::core::api::CurrencyUnit::symbol |
UTF-8 (hex) currency symbol, e.g. hex code for m₿.
1.8.13