Public Member Functions | Private Attributes | List of all members
RTT::NetcdfHeaderMarshaller Class Reference

#include <NetcdfHeaderMarshaller.hpp>

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

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 ()
 
- Public Member Functions inherited from RTT::marsh::MarshallInterface
virtual ~MarshallInterface ()
 

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.

virtual RTT::NetcdfHeaderMarshaller::~NetcdfHeaderMarshaller ( )
inlinevirtual

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 ( )
inlinevirtual

Implements RTT::marsh::MarshallInterface.

Definition at line 288 of file NetcdfHeaderMarshaller.hpp.

virtual void RTT::NetcdfHeaderMarshaller::serialize ( base::PropertyBase v)
inlinevirtual

Implements RTT::marsh::MarshallInterface.

Definition at line 35 of file NetcdfHeaderMarshaller.hpp.

virtual void RTT::NetcdfHeaderMarshaller::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

Implements RTT::marsh::MarshallInterface.

Definition at line 80 of file NetcdfHeaderMarshaller.hpp.

virtual void RTT::NetcdfHeaderMarshaller::serialize ( const Property< PropertyBag > &  v)
inlinevirtual

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

int RTT::NetcdfHeaderMarshaller::dimsid
private

Definition at line 26 of file NetcdfHeaderMarshaller.hpp.

int RTT::NetcdfHeaderMarshaller::nameless_counter
private

Definition at line 23 of file NetcdfHeaderMarshaller.hpp.

int RTT::NetcdfHeaderMarshaller::ncid
private

Definition at line 25 of file NetcdfHeaderMarshaller.hpp.

int RTT::NetcdfHeaderMarshaller::ncopen
private

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 Wed Jun 26 2019 19:26:27