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

#include <ql/currency.hpp>

+ Collaboration diagram for Currency::Data:

Public Member Functions

 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
 
std::string formatString
 
std::set< std::string > minorUnitCodes
 

Detailed Description

Definition at line 96 of file currency.hpp.

Constructor & Destructor Documentation

◆ Data()

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 32 of file currency.cpp.

Member Data Documentation

◆ name

std::string name

Definition at line 97 of file currency.hpp.

◆ code

std::string code

Definition at line 97 of file currency.hpp.

◆ numeric

Integer numeric

Definition at line 98 of file currency.hpp.

◆ symbol

std::string symbol

Definition at line 99 of file currency.hpp.

◆ fractionSymbol

std::string fractionSymbol

Definition at line 99 of file currency.hpp.

◆ fractionsPerUnit

Integer fractionsPerUnit

Definition at line 100 of file currency.hpp.

◆ rounding

Rounding rounding

Definition at line 101 of file currency.hpp.

◆ triangulated

Currency triangulated

Definition at line 102 of file currency.hpp.

◆ formatString

std::string formatString

Definition at line 103 of file currency.hpp.

◆ minorUnitCodes

std::set<std::string> minorUnitCodes

Definition at line 104 of file currency.hpp.