icedb  version 0.5.1
Snow particle scattering database API
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
icedb::units::implementations::Unithandler Struct Referenceabstract

Opaque object provided to perform unit manipulations. More...

#include <unitsPlugins.hpp>

Inheritance diagram for icedb::units::implementations::Unithandler:
Inheritance graph
[legend]

Public Member Functions

virtual ~Unithandler ()
 
virtual double convert (double input) const =0
 
virtual bool isValid () const =0
 

Protected Member Functions

 Unithandler (const char *id)
 

Protected Attributes

const char * id
 

Detailed Description

Opaque object provided to perform unit manipulations.

Definition at line 30 of file unitsPlugins.hpp.

Constructor & Destructor Documentation

◆ Unithandler()

icedb::units::implementations::Unithandler::Unithandler ( const char *  id)
protected

Definition at line 16 of file unitsPlugins.cpp.

◆ ~Unithandler()

virtual icedb::units::implementations::Unithandler::~Unithandler ( )
inlinevirtual

Definition at line 36 of file unitsPlugins.hpp.

36 {}

Member Function Documentation

◆ convert()

virtual double icedb::units::implementations::Unithandler::convert ( double  input) const
pure virtual

◆ isValid()

virtual bool icedb::units::implementations::Unithandler::isValid ( ) const
pure virtual

Member Data Documentation

◆ id

const char* icedb::units::implementations::Unithandler::id
protected

Definition at line 33 of file unitsPlugins.hpp.


The documentation for this struct was generated from the following files: