QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Currency::Data Struct Reference

#include <currency.hpp>

+ Collaboration diagram for Currency::Data:

Public Member Functions

QL_DEPRECATED Data (std::string name, std::string code, Integer numericCode, std::string symbol, std::string fractionSymbol, Integer fractionsPerUnit, const Rounding &rounding, Currency triangulationCurrency=Currency(), std::set< std::string > minorUnitCodes={})
 
 Data (std::string name, std::string code, Integer numericCode, std::string symbol, std::string fractionSymbol, Integer fractionsPerUnit, const Rounding &rounding, std::string formatString, Currency triangulationCurrency=Currency(), std::set< std::string > minorUnitCodes={})
 

Public Attributes

std::string name
 
std::string code
 
Integer numeric
 
std::string symbol
 
std::string fractionSymbol
 
Integer fractionsPerUnit
 
Rounding rounding
 
Currency triangulated
 
QL_DEPRECATED std::string formatString
 
std::set< std::string > minorUnitCodes
 

Detailed Description

Definition at line 115 of file currency.hpp.

Constructor & Destructor Documentation

◆ Data() [1/2]

QL_DEPRECATED_DISABLE_WARNING Data ( std::string  name,
std::string  code,
Integer  numericCode,
std::string  symbol,
std::string  fractionSymbol,
Integer  fractionsPerUnit,
const Rounding rounding,
Currency  triangulationCurrency = Currency(),
std::set< std::string >  minorUnitCodes = {} 
)
Deprecated:
Use the constructor without formatString. Deprecated in version 1.33.

Definition at line 34 of file currency.cpp.

◆ Data() [2/2]

Data ( std::string  name,
std::string  code,
Integer  numericCode,
std::string  symbol,
std::string  fractionSymbol,
Integer  fractionsPerUnit,
const Rounding rounding,
std::string  formatString,
Currency  triangulationCurrency = Currency(),
std::set< std::string >  minorUnitCodes = {} 
)

Definition at line 48 of file currency.cpp.

Member Data Documentation

◆ name

std::string name

Definition at line 116 of file currency.hpp.

◆ code

std::string code

Definition at line 116 of file currency.hpp.

◆ numeric

Integer numeric

Definition at line 117 of file currency.hpp.

◆ symbol

std::string symbol

Definition at line 118 of file currency.hpp.

◆ fractionSymbol

std::string fractionSymbol

Definition at line 118 of file currency.hpp.

◆ fractionsPerUnit

Integer fractionsPerUnit

Definition at line 119 of file currency.hpp.

◆ rounding

Rounding rounding

Definition at line 120 of file currency.hpp.

◆ triangulated

Currency triangulated

Definition at line 121 of file currency.hpp.

◆ formatString

QL_DEPRECATED std::string formatString

Definition at line 123 of file currency.hpp.

◆ minorUnitCodes

std::set<std::string> minorUnitCodes

Definition at line 124 of file currency.hpp.