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
UnitOfMeasure::Data Struct Reference

#include <unitofmeasure.hpp>

+ Collaboration diagram for UnitOfMeasure::Data:

Public Member Functions

 Data (std::string name, std::string code, UnitOfMeasure::Type unitType, UnitOfMeasure triangulationUnitOfMeasure=UnitOfMeasure(), const Rounding &rounding=Rounding(0))
 

Public Attributes

std::string name
 
std::string code
 
UnitOfMeasure::Type unitType
 
UnitOfMeasure triangulationUnitOfMeasure
 
Rounding rounding
 

Detailed Description

Definition at line 76 of file unitofmeasure.hpp.

Constructor & Destructor Documentation

◆ Data()

Data ( std::string  name,
std::string  code,
UnitOfMeasure::Type  unitType,
UnitOfMeasure  triangulationUnitOfMeasure = UnitOfMeasure(),
const Rounding rounding = Rounding(0) 
)

Definition at line 52 of file unitofmeasure.cpp.

Member Data Documentation

◆ name

std::string name

Definition at line 77 of file unitofmeasure.hpp.

◆ code

std::string code

Definition at line 77 of file unitofmeasure.hpp.

◆ unitType

Definition at line 78 of file unitofmeasure.hpp.

◆ triangulationUnitOfMeasure

UnitOfMeasure triangulationUnitOfMeasure

Definition at line 79 of file unitofmeasure.hpp.

◆ rounding

Rounding rounding

Definition at line 80 of file unitofmeasure.hpp.