H5Object.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 H5OBJECT_HPP
10 #define H5OBJECT_HPP
11 
12 #include <H5Ipublic.h>
13 
14 namespace HighFive {
15 
16 template <typename Derivate>
17 class NodeTraits;
18 template <typename Derivate>
19 class AnnotateTraits;
20 
21 class Object {
22  public:
23  // decrease reference counter
24  ~Object();
25 
30  bool isValid() const;
31 
37  hid_t getId() const;
38 
39  protected:
40  // empty constructor
41  Object();
42 
43  // copy constructor, increase reference counter
44  Object(const Object& other);
45 
46  Object& operator=(const Object& other);
47 
48  hid_t _hid;
49 
50  private:
51  template <typename Derivate>
52  friend class NodeTraits;
53  template <typename Derivate>
54  friend class AnnotateTraits;
55 };
56 }
57 
58 #include "bits/H5Object_misc.hpp"
59 
60 #endif // H5OBJECT_HPP
HighFive::AnnotateTraits
Definition: H5Annotate_traits.hpp:23
HighFive::Object::getId
hid_t getId() const
getId
Definition: H5Object_misc.hpp:51
HighFive::Object
Definition: H5Object.hpp:21
HighFive::NodeTraits
Definition: H5Node_traits.hpp:23
H5Object_misc.hpp
HighFive::Object::_hid
hid_t _hid
Definition: H5Object.hpp:48
HighFive::Object::isValid
bool isValid() const
isValid
Definition: H5Object_misc.hpp:47
HighFive::Object::operator=
Object & operator=(const Object &other)
Definition: H5Object_misc.hpp:27
HighFive::Object::Object
Object()
Definition: H5Object_misc.hpp:19
HighFive::Object::~Object
~Object()
Definition: H5Object_misc.hpp:40
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