casa
$Rev:20696$
|
#include <ConverterWavelength.h>
Public Member Functions | |
ConverterWavelength (const QString &oldUnits, const QString &newUnits) | |
virtual double | toPixel (double value) |
Abstract methods to be implemented by subclasses. | |
virtual Vector< double > | convert (const Vector< double > &oldValues) |
virtual | ~ConverterWavelength () |
Static Public Member Functions | |
static void | convertWavelength (Vector< double > &resultValues, QString &sourceUnits, QString &destUnits) |
Definition at line 33 of file ConverterWavelength.h.
casa::ConverterWavelength::ConverterWavelength | ( | const QString & | oldUnits, |
const QString & | newUnits | ||
) |
virtual casa::ConverterWavelength::~ConverterWavelength | ( | ) | [virtual] |
virtual Vector<double> casa::ConverterWavelength::convert | ( | const Vector< double > & | oldValues | ) | [virtual] |
Implements casa::Converter.
Reimplemented in casa::ConverterWavelengthFrequency, and casa::ConverterWavelengthVelocity.
static void casa::ConverterWavelength::convertWavelength | ( | Vector< double > & | resultValues, |
QString & | sourceUnits, | ||
QString & | destUnits | ||
) | [static] |
virtual double casa::ConverterWavelength::toPixel | ( | double | value | ) | [virtual] |
Abstract methods to be implemented by subclasses.
virtual float convert( float oldValue ) const = 0;
Implements casa::Converter.