#include <CDMReader.h>
Inheritance diagram for MetNoFimex::CDMReader:
Public Member Functions | |
CDMReader () | |
virtual | ~CDMReader () |
virtual const CDM & | getCDM () const |
virtual const boost::shared_ptr< Data > | getDataSlice (const std::string &varName, size_t unLimDimPos=0)=0 throw (CDMException) |
data-reading function to be called from the CDMWriter | |
virtual const boost::shared_ptr< Data > | getDataFromMemory (const CDMVariable &variable, size_t unLimDimPos=0) throw (CDMException) |
Protected Attributes | |
CDM | cdm |
The CDMReader is the basic interface for reading and manipulation of the cdm datastructure. The CDMWriter will work with an implementation of the CDMReader and read the included data in the cdm or the data provided through the implementation of the CDMReader#getDataSlice
|
|
|
|
|
Reimplemented in MetNoFimex::FeltCDMReader. |
|
Read the data from the variable.hasData() and select the correct unLimDimPos. This function should be used internally from getDataSlice.
|
|
data-reading function to be called from the CDMWriter This function needs to be implemented by the CDMReader. It should provide the data for each variable, either by reading from disk, converting from another CDMReader or reading from an in-memory data-section.
Implemented in MetNoFimex::CDMExtractor, MetNoFimex::CDMInterpolator, MetNoFimex::FeltCDMReader, and MetNoFimex::NetCDF_CF10_CDMReader. |
|
|