TBTK
Need a break? Support the development by playing Polarity Puzzles
UnitHandler.h File Reference

Handles conversions between different units. More...

#include "TBTK/TBTK.h"
#include "TBTK/Quantity/Constant.h"
#include "TBTK/Quantity/Derived.h"
#include "TBTK/TBTKMacros.h"
#include <cmath>
#include <map>
#include <string>
#include <utility>
#include <vector>

Go to the source code of this file.

Classes

class  TBTK::UnitHandler
 Handles conversion between different units. More...
 

Functions

template<>
Quantity::Angle::Unit & TBTK::UnitHandler::getUnit< Quantity::Angle > ()
 
template<>
Quantity::Charge::Unit & TBTK::UnitHandler::getUnit< Quantity::Charge > ()
 
template<>
Quantity::Count::Unit & TBTK::UnitHandler::getUnit< Quantity::Count > ()
 
template<>
Quantity::Energy::Unit & TBTK::UnitHandler::getUnit< Quantity::Energy > ()
 
template<>
Quantity::Length::Unit & TBTK::UnitHandler::getUnit< Quantity::Length > ()
 
template<>
Quantity::Temperature::Unit & TBTK::UnitHandler::getUnit< Quantity::Temperature > ()
 
template<>
Quantity::Time::Unit & TBTK::UnitHandler::getUnit< Quantity::Time > ()
 
template<>
double & TBTK::UnitHandler::getScale< Quantity::Angle > ()
 
template<>
double & TBTK::UnitHandler::getScale< Quantity::Charge > ()
 
template<>
double & TBTK::UnitHandler::getScale< Quantity::Count > ()
 
template<>
double & TBTK::UnitHandler::getScale< Quantity::Energy > ()
 
template<>
double & TBTK::UnitHandler::getScale< Quantity::Length > ()
 
template<>
double & TBTK::UnitHandler::getScale< Quantity::Temperature > ()
 
template<>
double & TBTK::UnitHandler::getScale< Quantity::Time > ()
 

Detailed Description

Handles conversions between different units.

Author
Kristofer Björnson