casa
$Rev:20696$
|
#include <ConverterFrequency.h>
Public Member Functions | |
ConverterFrequency (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 | ~ConverterFrequency () |
Static Public Member Functions | |
static void | convertFrequency (Vector< double > &resultValues, QString &frequencySourceUnits, QString &frequencyDestUnits) |
Definition at line 33 of file ConverterFrequency.h.
casa::ConverterFrequency::ConverterFrequency | ( | const QString & | oldUnits, |
const QString & | newUnits | ||
) |
virtual casa::ConverterFrequency::~ConverterFrequency | ( | ) | [virtual] |
virtual Vector<double> casa::ConverterFrequency::convert | ( | const Vector< double > & | oldValues | ) | [virtual] |
Implements casa::Converter.
Reimplemented in casa::ConverterFrequencyWavelength, and casa::ConverterFrequencyVelocity.
static void casa::ConverterFrequency::convertFrequency | ( | Vector< double > & | resultValues, |
QString & | frequencySourceUnits, | ||
QString & | frequencyDestUnits | ||
) | [static] |
virtual double casa::ConverterFrequency::toPixel | ( | double | value | ) | [virtual] |
Abstract methods to be implemented by subclasses.
virtual float convert( float oldValue ) const = 0;
Implements casa::Converter.