OrocosComponentLibrary  2.8.3
Public Member Functions | List of all members
NetcdfHeaderMarshaller Class Reference

A marsh::MarshallInterface for generating variables in a netcdf dataset. More...

#include <NetcdfHeaderMarshaller.hpp>

Inheritance diagram for NetcdfHeaderMarshaller:

Public Member Functions

 NetcdfHeaderMarshaller (int ncid, int dimsid)
 
virtual void serialize (base::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. More...
 
void store (Property< short > *v)
 Create a variable of data type short. More...
 
void store (Property< int > *v)
 Create a variable of data type int. More...
 
void store (Property< float > *v)
 Create a variable of data type float. More...
 
void store (Property< double > *v)
 Create a variable of data type double. More...
 
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 ()
 

Detailed Description

A marsh::MarshallInterface for generating variables in a netcdf dataset.

Definition at line 20 of file NetcdfHeaderMarshaller.hpp.

Member Function Documentation

virtual void serialize ( const PropertyBag &  v)
inlinevirtual

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 80 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 138 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 158 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 178 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 198 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 218 of file NetcdfHeaderMarshaller.hpp.


The documentation for this class was generated from the following file: