H5DataType.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c), 2017, Adrien Devresse <adrien.devresse@epfl.ch>
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 H5DATATYPE_HPP
10 #define H5DATATYPE_HPP
11 
12 #include "H5Object.hpp"
13 
14 namespace HighFive {
15 
16 struct TypeMapper;
17 
21 class DataType : public Object {
22  public:
23  DataType();
24 
25  bool operator==(const DataType& other) const;
26 
27  bool operator!=(const DataType& other) const;
28 
29  protected:
30  friend class Attribute;
31  friend class File;
32  friend class DataSet;
33 };
34 
40 template <typename T>
41 class AtomicType : public DataType {
42  public:
43  AtomicType();
44 
45  typedef T basic_type;
46 };
47 }
48 
49 #include "bits/H5DataType_misc.hpp"
50 
51 #endif // H5DATATYPE_HPP
File class.
Definition: H5File.hpp:25
create an HDF5 DataType from a C++ type
Definition: H5DataType.hpp:41
bool operator!=(const DataType &other) const
HDF5 Data Type.
Definition: H5DataType.hpp:21
bool operator==(const DataType &other) const


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 Mon Feb 28 2022 22:46:06