quadEM  7-0
Public Member Functions | List of all members
hdf5::DataSource Class Reference

Class used for writing a DataSource with the NDFileHDF5 plugin. More...

#include <NDFileHDF5Layout.h>

Public Member Functions

 DataSource ()
 
 DataSource (DataSrc_t src, const std::string &val)
 
 DataSource (DataSrc_t src)
 
 DataSource (DataSrc_t src, DataType_t type)
 
 DataSource (const DataSource &src)
 
DataSourceoperator= (const DataSource &src)
 Assignment operator Copies the sources private data members to this object. More...
 
 ~DataSource ()
 
void set_datatype (DataType_t type)
 
bool is_src_detector ()
 
bool is_src_ndattribute ()
 
bool is_src_constant ()
 
bool is_src (DataSrc_t src)
 
std::string get_src_def ()
 
DataType_t get_datatype ()
 return the string that define the source: either name of NDAttribute or constant value More...
 
size_t datatype_size ()
 
void set_const_datatype_value (DataType_t dtype, const std::string &str_val)
 
void set_when_to_save (When_t when)
 
When_t get_when_to_save ()
 

Detailed Description

Class used for writing a DataSource with the NDFileHDF5 plugin.

Constructor & Destructor Documentation

hdf5::DataSource::DataSource ( )
hdf5::DataSource::DataSource ( DataSrc_t  src,
const std::string &  val 
)
hdf5::DataSource::DataSource ( DataSrc_t  src)
hdf5::DataSource::DataSource ( DataSrc_t  src,
DataType_t  type 
)
hdf5::DataSource::DataSource ( const DataSource src)
hdf5::DataSource::~DataSource ( )
inline

Member Function Documentation

size_t hdf5::DataSource::datatype_size ( )
DataType_t hdf5::DataSource::get_datatype ( )

return the string that define the source: either name of NDAttribute or constant value

std::string hdf5::DataSource::get_src_def ( )
When_t hdf5::DataSource::get_when_to_save ( )
bool hdf5::DataSource::is_src ( DataSrc_t  src)
bool hdf5::DataSource::is_src_constant ( )
bool hdf5::DataSource::is_src_detector ( )
bool hdf5::DataSource::is_src_ndattribute ( )
DataSource & hdf5::DataSource::operator= ( const DataSource src)

Assignment operator Copies the sources private data members to this object.

void hdf5::DataSource::set_const_datatype_value ( DataType_t  dtype,
const std::string &  str_val 
)
void hdf5::DataSource::set_datatype ( DataType_t  type)
void hdf5::DataSource::set_when_to_save ( When_t  when)

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