Public Member Functions | Private Attributes
RTT::NetcdfHeaderMarshaller Class Reference

#include <NetcdfHeaderMarshaller.hpp>

Inheritance diagram for RTT::NetcdfHeaderMarshaller:
Inheritance graph
[legend]

List of all members.

Public Member Functions

std::string composeName (std::string propertyName)
virtual void flush ()
 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)
void store (Property< short > *v)
void store (Property< int > *v)
void store (Property< float > *v)
void store (Property< double > *v)
void store (Property< std::vector< double > > *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 20 of file NetcdfHeaderMarshaller.hpp.


Constructor & Destructor Documentation

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

Definition at line 31 of file NetcdfHeaderMarshaller.hpp.

Definition at line 33 of file NetcdfHeaderMarshaller.hpp.


Member Function Documentation

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

Definition at line 270 of file NetcdfHeaderMarshaller.hpp.

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

Implements RTT::marsh::MarshallInterface.

Definition at line 288 of file NetcdfHeaderMarshaller.hpp.

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

Implements RTT::marsh::MarshallInterface.

Definition at line 35 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

Implements RTT::marsh::MarshallInterface.

Definition at line 80 of file NetcdfHeaderMarshaller.hpp.

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

Definition at line 119 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 138 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 158 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 178 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 198 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 218 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 239 of file NetcdfHeaderMarshaller.hpp.


Member Data Documentation

Definition at line 26 of file NetcdfHeaderMarshaller.hpp.

Definition at line 23 of file NetcdfHeaderMarshaller.hpp.

Definition at line 25 of file NetcdfHeaderMarshaller.hpp.

Definition at line 27 of file NetcdfHeaderMarshaller.hpp.

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

Definition at line 24 of file NetcdfHeaderMarshaller.hpp.


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


ocl
Author(s): OCL Development Team
autogenerated on Sat Jun 8 2019 18:48:56