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
HighFive::DataType::DataType
DataType()
Definition: H5DataType_misc.hpp:22
H5Object.hpp
H5DataType_misc.hpp
HighFive::DataType
HDF5 Data Type.
Definition: H5DataType.hpp:21
HighFive::Object
Definition: H5Object.hpp:21
HighFive::AtomicType::AtomicType
AtomicType()
HighFive::DataType::operator==
bool operator==(const DataType &other) const
Definition: H5DataType_misc.hpp:24
HighFive::File
File class.
Definition: H5File.hpp:25
HighFive::AtomicType
create an HDF5 DataType from a C++ type
Definition: H5DataType.hpp:41
HighFive::Attribute
Definition: H5Attribute.hpp:23
HighFive::DataType::operator!=
bool operator!=(const DataType &other) const
Definition: H5DataType_misc.hpp:28
HighFive::AtomicType::basic_type
T basic_type
Definition: H5DataType.hpp:45
HighFive::DataSet
Definition: H5DataSet.hpp:27
HighFive
Definition: H5Annotate_traits.hpp:14


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