Main Page   Class Hierarchy   Compound List   Compound Members  

SCOREC_UnitSystem::N_ Struct Template Reference

class to represent SI derived unit: Newton. 1N = 1kg*m/s^2 Needs to be templated over the prefix. The function operator() can be called to return a pair of Unit and a multiplicator (to convert to the SI base unit without the prefix). This class was designed to work with the Unit class. More...

#include <Unit.h>

Inheritance diagram for SCOREC_UnitSystem::N_::

SCOREC_UnitSystem::SIBaseUnit List of all members.

Public Methods

 N_ (int e)
 Constructor.

std::pair<Unit,double> operator() () const

Detailed Description

template<typename T> struct SCOREC_UnitSystem::N_

class to represent SI derived unit: Newton. 1N = 1kg*m/s^2 Needs to be templated over the prefix. The function operator() can be called to return a pair of Unit and a multiplicator (to convert to the SI base unit without the prefix). This class was designed to work with the Unit class.


The documentation for this struct was generated from the following file:
Generated at Mon Jul 23 09:36:17 2001 for SCOREC_UnitSystem by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001