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

#include <petroleumunitsofmeasure.hpp>

+ Inheritance diagram for KilolitreUnitOfMeasure:
+ Collaboration diagram for KilolitreUnitOfMeasure:

Public Member Functions

 KilolitreUnitOfMeasure ()
 
- Public Member Functions inherited from UnitOfMeasure
 UnitOfMeasure ()=default
 default constructor More...
 
 UnitOfMeasure (const std::string &name, const std::string &code, Type unitType)
 
const std::string & name () const
 name, e.g, "Barrels" More...
 
const std::string & code () const
 code, e.g, "BBL", "MT" More...
 
Type unitType () const
 unit type (mass, volume...) More...
 
bool empty () const
 is this a usable instance? More...
 
const Roundingrounding () const
 
const UnitOfMeasuretriangulationUnitOfMeasure () const
 unit used for triangulation when required More...
 

Additional Inherited Members

- Public Types inherited from UnitOfMeasure
enum  Type { Mass , Volume , Energy , Quantity }
 
- Protected Attributes inherited from UnitOfMeasure
ext::shared_ptr< Datadata_
 

Detailed Description

Definition at line 79 of file petroleumunitsofmeasure.hpp.

Constructor & Destructor Documentation

◆ KilolitreUnitOfMeasure()

Definition at line 81 of file petroleumunitsofmeasure.hpp.