HighFive 2.3.1
HighFive - Header-only C++ HDF5 interface
Loading...
Searching...
No Matches
H5Path_traits.hpp
Go to the documentation of this file.
1/*
2 * Copyright (c), 2020, EPFL - Blue Brain Project
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#pragma once
10
11#include "H5_definitions.hpp"
12
13namespace HighFive {
14
15template <typename Derivate>
17
18public:
19 PathTraits();
20
24 std::string getPath() const;
25
29 File& getFile() const noexcept;
30
31
32protected:
33 std::shared_ptr<File> _file_obj; // keep a ref to file so we keep its ref count > 0
34
35};
36
37} // namespace HighFive
File class.
Definition H5File.hpp:26
Definition H5Path_traits.hpp:16
PathTraits()
Definition H5Path_traits_misc.hpp:19
std::shared_ptr< File > _file_obj
Definition H5Path_traits.hpp:33
File & getFile() const noexcept
Return a reference to the File object this object belongs.
Definition H5Path_traits_misc.hpp:44
std::string getPath() const
return the path to the current object
Definition H5Path_traits_misc.hpp:37
Definition H5_definitions.hpp:15