QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
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

 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={})
 

Public Attributes

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

Detailed Description

Definition at line 90 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,
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 91 of file currency.hpp.

◆ code

std::string code

Definition at line 91 of file currency.hpp.

◆ numeric

Integer numeric

Definition at line 92 of file currency.hpp.

◆ symbol

std::string symbol

Definition at line 93 of file currency.hpp.

◆ fractionSymbol

std::string fractionSymbol

Definition at line 93 of file currency.hpp.

◆ fractionsPerUnit

Integer fractionsPerUnit

Definition at line 94 of file currency.hpp.

◆ rounding

Rounding rounding

Definition at line 95 of file currency.hpp.

◆ triangulated

Currency triangulated

Definition at line 96 of file currency.hpp.

◆ minorUnitCodes

std::set<std::string> minorUnitCodes

Definition at line 97 of file currency.hpp.