H5Attribute.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c), 2017, Ali Can Demiralp <ali.demiralp@rwth-aachen.de>
3  *
4  * Distributed under the Boost Software License, Version 1.0.
5  * (See accompanying file LICENSE_1_0.txt or copy at
6  * http://www.boost.org/LICENSE_1_0.txt)
7  *
8  */
9 #ifndef H5ATTRIBUTE_HPP
10 #define H5ATTRIBUTE_HPP
11 
12 #include <vector>
13 
14 #include "H5Object.hpp"
15 
16 namespace HighFive {
17 
18 template <typename Derivate>
19 class AnnotateTraits;
20 class DataType;
21 class DataSpace;
22 
23 class Attribute : public Object {
24  public:
25  size_t getStorageSize() const;
26 
31  DataType getDataType() const;
32 
37  DataSpace getSpace() const;
38 
44  DataSpace getMemSpace() const;
45 
53  template <typename T>
54  void read(T& array) const;
55 
63  template <typename T>
64  void write(const T& buffer);
65 
66  private:
67  Attribute();
68  template <typename Derivate>
69  friend class ::HighFive::AnnotateTraits;
70 };
71 }
72 
74 
75 #endif // H5ATTRIBUTE_HPP
HighFive::Attribute::getSpace
DataSpace getSpace() const
getSpace
Definition: H5Attribute_misc.hpp:46
H5Object.hpp
SingleArray
Definition: data_types.h:107
HighFive::DataType
HDF5 Data Type.
Definition: H5DataType.hpp:21
HighFive::Attribute::read
void read(T &array) const
Definition: H5Attribute_misc.hpp:58
HighFive::Attribute::getMemSpace
DataSpace getMemSpace() const
getMemSpace
Definition: H5Attribute_misc.hpp:55
HighFive::Object
Definition: H5Object.hpp:21
HighFive::Attribute::Attribute
Attribute()
Definition: H5Attribute_misc.hpp:34
HighFive::Attribute
Definition: H5Attribute.hpp:23
HighFive::Attribute::getStorageSize
size_t getStorageSize() const
Definition: H5Attribute_misc.hpp:36
HighFive::Attribute::getDataType
DataType getDataType() const
getDataType
Definition: H5Attribute_misc.hpp:40
HighFive::DataSpace
Definition: H5DataSpace.hpp:30
H5Attribute_misc.hpp
HighFive
Definition: H5Annotate_traits.hpp:14
HighFive::Attribute::write
void write(const T &buffer)
Definition: H5Attribute_misc.hpp:93


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:23