A Marshaller for generating variables in a netcdf dataset. More...
#include <NetcdfHeaderMarshaller.hpp>
Public Member Functions | |
NetcdfHeaderMarshaller (int ncid, int dimsid) | |
virtual void | serialize (PropertyBase *v) |
virtual void | serialize (const PropertyBag &v) |
virtual void | serialize (const Property< PropertyBag > &v) |
void | store (Property< char > *v) |
Create a variable of data type char. | |
void | store (Property< short > *v) |
Create a variable of data type short. | |
void | store (Property< int > *v) |
Create a variable of data type int. | |
void | store (Property< float > *v) |
Create a variable of data type float. | |
void | store (Property< double > *v) |
Create a variable of data type double. | |
void | store (Property< std::vector< double > > *v) |
Create a variable with two dimensions of data type double. | |
std::string | composeName (std::string propertyName) |
virtual void | flush () |
A Marshaller for generating variables in a netcdf dataset.
Definition at line 17 of file NetcdfHeaderMarshaller.hpp.
virtual void serialize | ( | const PropertyBag & | v | ) | [inline, virtual] |
Check if the netcdf file is already in define mode. Increase counter every time serialize function is called and no errors occurs.
Decrease counter, if zero enter data mode else stay in define mode
Definition at line 83 of file NetcdfHeaderMarshaller.hpp.
void store | ( | Property< double > * | v | ) | [inline] |
Create a variable of data type double.
Create a new variable with only one dimension i.e. the unlimited time dimension
Definition at line 221 of file NetcdfHeaderMarshaller.hpp.
void store | ( | Property< float > * | v | ) | [inline] |
Create a variable of data type float.
Create a new variable with only one dimension i.e. the unlimited time dimension
Definition at line 201 of file NetcdfHeaderMarshaller.hpp.
void store | ( | Property< int > * | v | ) | [inline] |
Create a variable of data type int.
Create a new variable with only one dimension i.e. the unlimited time dimension
Definition at line 181 of file NetcdfHeaderMarshaller.hpp.
void store | ( | Property< short > * | v | ) | [inline] |
Create a variable of data type short.
Create a new variable with only one dimension i.e. the unlimited time dimension
Definition at line 161 of file NetcdfHeaderMarshaller.hpp.
void store | ( | Property< char > * | v | ) | [inline] |
Create a variable of data type char.
Create a new variable with only one dimension i.e. the unlimited time dimension
Definition at line 141 of file NetcdfHeaderMarshaller.hpp.