Public Member Functions | Private Member Functions | Friends | List of all members
HighFive::DataSet Class Reference

#include <H5DataSet.hpp>

Inheritance diagram for HighFive::DataSet:
Inheritance graph
[legend]

Public Member Functions

DataType getDataType () const
 getDataType More...
 
DataSpace getMemSpace () const
 getMemSpace More...
 
size_t getOffset () const
 getOffset More...
 
DataSpace getSpace () const
 getSpace More...
 
size_t getStorageSize () const
 
void resize (const std::vector< size_t > &dims)
 Change the size of the dataset. More...
 
- Public Member Functions inherited from HighFive::Object
hid_t getId () const
 getId More...
 
bool isValid () const
 isValid More...
 
 ~Object ()
 
- Public Member Functions inherited from HighFive::SliceTraits< DataSet >
void read (T &array) const
 
void read (T *array) const
 
Selection select (const ElementSet &elements) const
 
Selection select (const std::vector< size_t > &columns) const
 
Selection select (const std::vector< size_t > &offset, const std::vector< size_t > &count, const std::vector< size_t > &stride=std::vector< size_t >()) const
 
void write (const T &buffer)
 
void write (const T *buffer)
 
- Public Member Functions inherited from HighFive::AnnotateTraits< DataSet >
Attribute createAttribute (const std::string &attribute_name, const DataSpace &space)
 createAttribute create a new attribute on the current dataset with size specified by space More...
 
Attribute createAttribute (const std::string &attribute_name, const DataSpace &space, const DataType &type)
 create a new attribute with the name attribute_name More...
 
Attribute createAttribute (const std::string &attribute_name, const T &data)
 createAttribute create a new attribute on the current dataset and write to it, inferring the DataSpace from data. More...
 
Attribute getAttribute (const std::string &attribute_name) const
 open an existing attribute with the name attribute_name More...
 
size_t getNumberAttributes () const
 return the number of attributes of the node / group More...
 
bool hasAttribute (const std::string &attr_name) const
 checks an attribute exists More...
 
std::vector< std::string > listAttributeNames () const
 list all attribute name of the node / group More...
 

Private Member Functions

 DataSet ()
 

Friends

template<typename Derivate >
class ::HighFive::NodeTraits
 

Additional Inherited Members

- Protected Member Functions inherited from HighFive::Object
 Object ()
 
 Object (const Object &other)
 
Objectoperator= (const Object &other)
 
- Protected Attributes inherited from HighFive::Object
hid_t _hid
 

Detailed Description

Definition at line 27 of file H5DataSet.hpp.

Constructor & Destructor Documentation

◆ DataSet()

HighFive::DataSet::DataSet ( )
inlineprivate

Definition at line 34 of file H5DataSet_misc.hpp.

Member Function Documentation

◆ getDataType()

DataType HighFive::DataSet::getDataType ( ) const
inline

getDataType

Returns
return the datatype associated with this dataset

Definition at line 40 of file H5DataSet_misc.hpp.

◆ getMemSpace()

DataSpace HighFive::DataSet::getMemSpace ( ) const
inline

getMemSpace

Returns
same than getSpace for DataSet, compatibility with Selection class

Definition at line 55 of file H5DataSet_misc.hpp.

◆ getOffset()

size_t HighFive::DataSet::getOffset ( ) const
inline

getOffset

Returns
returns DataSet address in file class

Definition at line 57 of file H5DataSet_misc.hpp.

◆ getSpace()

DataSpace HighFive::DataSet::getSpace ( ) const
inline

getSpace

Returns
return the dataspace associated with this dataset

Definition at line 46 of file H5DataSet_misc.hpp.

◆ getStorageSize()

size_t HighFive::DataSet::getStorageSize ( ) const
inline

Definition at line 36 of file H5DataSet_misc.hpp.

◆ resize()

void HighFive::DataSet::resize ( const std::vector< size_t > &  dims)
inline

Change the size of the dataset.

This requires that the dataset was created with chunking, and you would generally want to have set a larger maxdims setting

Parameters
dimsNew size of the dataset

Definition at line 66 of file H5DataSet_misc.hpp.

Friends And Related Function Documentation

◆ ::HighFive::NodeTraits

template<typename Derivate >
friend class ::HighFive::NodeTraits
friend

Definition at line 69 of file H5DataSet.hpp.


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


lvr2
Author(s): Thomas Wiemann , Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:26