#include <DataTypeChanger.h>
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< Data > | convertData (boost::shared_ptr< Data >) const throw (CDMException) |
CDMDataType | getDataType () const |
|
initialize data with the oldType convertData will do nothing in this case |
|
initialize with the old and new settings |
|
|
|
convert the data to the new scale/fill/offset |
|
return the datatype of the converted data |