RTT::NetcdfHeaderMarshaller Class Reference

#include <NetcdfHeaderMarshaller.hpp>

List of all members.

Public Member Functions

std::string composeName (std::string propertyName)
virtual void flush ()
 NetcdfHeaderMarshaller (int ncid, int dimsid)
virtual void serialize (const Property< PropertyBag > &v)
virtual void serialize (const PropertyBag &v)
virtual void serialize (base::PropertyBase *v)
void store (Property< std::vector< double > > *v)
void store (Property< double > *v)
void store (Property< float > *v)
void store (Property< int > *v)
void store (Property< short > *v)
void store (Property< char > *v)
virtual ~NetcdfHeaderMarshaller ()

Private Attributes

int dimsid
int nameless_counter
int ncid
int ncopen
std::string prefix

Detailed Description

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

Definition at line 17 of file NetcdfHeaderMarshaller.hpp.


Constructor & Destructor Documentation

RTT::NetcdfHeaderMarshaller::NetcdfHeaderMarshaller ( int  ncid,
int  dimsid 
) [inline]

Definition at line 28 of file NetcdfHeaderMarshaller.hpp.

virtual RTT::NetcdfHeaderMarshaller::~NetcdfHeaderMarshaller (  )  [inline, virtual]

Definition at line 30 of file NetcdfHeaderMarshaller.hpp.


Member Function Documentation

std::string RTT::NetcdfHeaderMarshaller::composeName ( std::string  propertyName  )  [inline]

Definition at line 267 of file NetcdfHeaderMarshaller.hpp.

virtual void RTT::NetcdfHeaderMarshaller::flush (  )  [inline, virtual]

Definition at line 282 of file NetcdfHeaderMarshaller.hpp.

virtual void RTT::NetcdfHeaderMarshaller::serialize ( const Property< PropertyBag > &  v  )  [inline, virtual]

Definition at line 116 of file NetcdfHeaderMarshaller.hpp.

virtual void RTT::NetcdfHeaderMarshaller::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 77 of file NetcdfHeaderMarshaller.hpp.

virtual void RTT::NetcdfHeaderMarshaller::serialize ( base::PropertyBase *  v  )  [inline, virtual]

Definition at line 32 of file NetcdfHeaderMarshaller.hpp.

void RTT::NetcdfHeaderMarshaller::store ( Property< std::vector< double > > *  v  )  [inline]

Create a variable with two dimensions of data type double

Definition at line 236 of file NetcdfHeaderMarshaller.hpp.

void RTT::NetcdfHeaderMarshaller::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 215 of file NetcdfHeaderMarshaller.hpp.

void RTT::NetcdfHeaderMarshaller::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 195 of file NetcdfHeaderMarshaller.hpp.

void RTT::NetcdfHeaderMarshaller::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 175 of file NetcdfHeaderMarshaller.hpp.

void RTT::NetcdfHeaderMarshaller::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 155 of file NetcdfHeaderMarshaller.hpp.

void RTT::NetcdfHeaderMarshaller::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 135 of file NetcdfHeaderMarshaller.hpp.


Member Data Documentation

Definition at line 23 of file NetcdfHeaderMarshaller.hpp.

Definition at line 20 of file NetcdfHeaderMarshaller.hpp.

Definition at line 22 of file NetcdfHeaderMarshaller.hpp.

Definition at line 24 of file NetcdfHeaderMarshaller.hpp.

std::string RTT::NetcdfHeaderMarshaller::prefix [private]

Definition at line 21 of file NetcdfHeaderMarshaller.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


ocl
Author(s): OCL Development Team
autogenerated on Fri Jan 11 09:50:53 2013