MetNoFimex::DataTypeChanger Class Reference

#include <DataTypeChanger.h>

List of all members.

Public Member Functions

 DataTypeChanger (CDMDataType oldType)
 DataTypeChanger (CDMDataType oldType, double oldFill, double oldScale, double oldOffset, CDMDataType newType, double newFill, double newScale, double newOffset)
virtual ~DataTypeChanger ()
boost::shared_ptr< DataconvertData (boost::shared_ptr< Data >) const throw (CDMException)
CDMDataType getDataType () const


Detailed Description

brief wrapper class around data->convertType


Constructor & Destructor Documentation

MetNoFimex::DataTypeChanger::DataTypeChanger CDMDataType  oldType  )  [explicit]
 

initialize data with the oldType convertData will do nothing in this case

MetNoFimex::DataTypeChanger::DataTypeChanger CDMDataType  oldType,
double  oldFill,
double  oldScale,
double  oldOffset,
CDMDataType  newType,
double  newFill,
double  newScale,
double  newOffset
[explicit]
 

initialize with the old and new settings

MetNoFimex::DataTypeChanger::~DataTypeChanger  )  [virtual]
 


Member Function Documentation

boost::shared_ptr< Data > MetNoFimex::DataTypeChanger::convertData boost::shared_ptr< Data  )  const throw (CDMException)
 

convert the data to the new scale/fill/offset

CDMDataType MetNoFimex::DataTypeChanger::getDataType  )  const
 

return the datatype of the converted data


The documentation for this class was generated from the following files:
Generated on Thu Jun 5 14:58:25 2008 for MI - Fimex by  doxygen 1.4.6