Interface of a unit system. More...
#include <arcane/core/IPhysicalUnitSystem.h>
Public Member Functions | |
| virtual | ~IPhysicalUnitSystem ()=default |
| Releases resources. | |
| virtual IPhysicalUnitConverter * | createConverter (IPhysicalUnit *from, IPhysicalUnit *to)=0 |
| Creates a converter between two units. The caller must destroy the returned converter. The units from and to must have been created by this unit system. | |
| virtual IPhysicalUnitConverter * | createConverter (const String &from, const String &to)=0 |
| Creates a converter between two units. The caller must destroy the returned converter. | |
Interface of a unit system.
Definition at line 32 of file IPhysicalUnitSystem.h.
|
pure virtual |
Creates a converter between two units. The caller must destroy the returned converter.
Implemented in Arcane::NullPhysicalUnitSystem, and Arcane::UdunitsPhysicalUnitSystem.
|
pure virtual |
Creates a converter between two units. The caller must destroy the returned converter. The units from and to must have been created by this unit system.
Implemented in Arcane::NullPhysicalUnitSystem, and Arcane::UdunitsPhysicalUnitSystem.