areaDetector  3-5-0
EPICS areaDetector framework
Public Member Functions | Friends | List of all members
hdf5::Dataset Class Reference

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

#include <NDFileHDF5Layout.h>

Inheritance diagram for hdf5::Dataset:
hdf5::Element

Public Member Functions

 Dataset ()
 
 Dataset (const std::string &name)
 
 Dataset (const Dataset &src)
 
Datasetoperator= (const Dataset &src)
 
virtual ~Dataset ()
 
std::string _str_ ()
 
void set_data_source (DataSource &src)
 Return a string representation of the object. More...
 
void set_data_source (DataSource &src, size_t max_elements)
 
DataSourcedata_source ()
 
void data_alloc_max_elements (size_t max_elements)
 
size_t data_append_value (void *val)
 
size_t data_num_elements ()
 
size_t data_store_size ()
 
void data_stored ()
 
const void * data ()
 
void set_src_default (bool def)
 
bool is_src_default ()
 
void set_ndattr_name (const std::string &name)
 
bool has_ndattr_name (const std::string &name)
 
- Public Member Functions inherited from hdf5::Element
 Element ()
 
 Element (const Element &src)
 
 Element (const std::string &name)
 
 ~Element ()
 
Elementoperator= (const Element &src)
 
const std::string & get_name ()
 
virtual std::string get_full_name ()
 
virtual std::string get_path (bool trailing_slash=false)
 
int add_attribute (Attribute &attr)
 
bool has_attribute (const std::string &attr_name)
 
int tree_level ()
 
Elementget_parent ()
 
MapAttributes_tget_attributes ()
 

Friends

std::ostream & operator<< (std::ostream &out, Dataset &dset)
 Stream operator: use to prints a string representation of this class. More...
 

Additional Inherited Members

- Public Types inherited from hdf5::Element
typedef std::map< std::string, AttributeMapAttributes_t
 
- Protected Member Functions inherited from hdf5::Element
void _copy (const Element &src)
 
- Protected Attributes inherited from hdf5::Element
MapAttributes_t attributes
 
std::string name
 

Detailed Description

Class used for writing a DataSet with the NDFileHDF5 plugin.

Constructor & Destructor Documentation

◆ Dataset() [1/3]

hdf5::Dataset::Dataset ( )

◆ Dataset() [2/3]

hdf5::Dataset::Dataset ( const std::string &  name)

◆ Dataset() [3/3]

hdf5::Dataset::Dataset ( const Dataset src)

◆ ~Dataset()

hdf5::Dataset::~Dataset ( )
virtual

Member Function Documentation

◆ _str_()

std::string hdf5::Dataset::_str_ ( )

◆ data()

const void * hdf5::Dataset::data ( )

◆ data_alloc_max_elements()

void hdf5::Dataset::data_alloc_max_elements ( size_t  max_elements)

◆ data_append_value()

size_t hdf5::Dataset::data_append_value ( void *  val)

◆ data_num_elements()

size_t hdf5::Dataset::data_num_elements ( )

◆ data_source()

DataSource & hdf5::Dataset::data_source ( )

◆ data_store_size()

size_t hdf5::Dataset::data_store_size ( )

◆ data_stored()

void hdf5::Dataset::data_stored ( )

◆ has_ndattr_name()

bool hdf5::Dataset::has_ndattr_name ( const std::string &  name)

◆ is_src_default()

bool hdf5::Dataset::is_src_default ( )

◆ operator=()

Dataset & hdf5::Dataset::operator= ( const Dataset src)

◆ set_data_source() [1/2]

void hdf5::Dataset::set_data_source ( DataSource src)

Return a string representation of the object.

◆ set_data_source() [2/2]

void hdf5::Dataset::set_data_source ( DataSource src,
size_t  max_elements 
)

◆ set_ndattr_name()

void hdf5::Dataset::set_ndattr_name ( const std::string &  name)

◆ set_src_default()

void hdf5::Dataset::set_src_default ( bool  def)

Friends And Related Function Documentation

◆ operator<<

std::ostream& operator<< ( std::ostream &  out,
Dataset dset 
)
friend

Stream operator: use to prints a string representation of this class.


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