TINC
Toolkit for Interactive Computation
tinc::NetCDFData Class Reference

A representation of a single vector of NetCDF data. More...

#include <DiskBufferNetCDFData.hpp>

Public Member Functions

 ~NetCDFData ()
 
int getType ()
 get NC data type for this data More...
 
void setType (int type)
 
template<class DataType >
std::vector< DataType > & getVector ()
 

Public Attributes

std::map< std::string, al::VariantValue > attributes
 attributes written/read to/from NetCDF file More...
 
void * dataVector {nullptr}
 attributes written/read to/from NetCDF file More...
 

Detailed Description

A representation of a single vector of NetCDF data.

Definition at line 85 of file DiskBufferNetCDFData.hpp.

Constructor & Destructor Documentation

◆ ~NetCDFData()

tinc::NetCDFData::~NetCDFData ( )

Member Function Documentation

◆ getType()

int tinc::NetCDFData::getType ( )

get NC data type for this data

Returns
a value from NetCDFTypes enum, which matches NC types

◆ getVector()

template<class DataType >
std::vector<DataType>& tinc::NetCDFData::getVector ( )
inline

Definition at line 96 of file DiskBufferNetCDFData.hpp.

◆ setType()

void tinc::NetCDFData::setType ( int  type)

Member Data Documentation

◆ attributes

std::map<std::string, al::VariantValue> tinc::NetCDFData::attributes

attributes written/read to/from NetCDF file

Definition at line 106 of file DiskBufferNetCDFData.hpp.

◆ dataVector

void* tinc::NetCDFData::dataVector {nullptr}

attributes written/read to/from NetCDF file

Definition at line 110 of file DiskBufferNetCDFData.hpp.


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