FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
H++with_cache_image/H5File.hpp
1#ifndef __H5_FILE_HPP
2#define __H5_FILE_HPP
3
4#include "H5Object.hpp"
5#include "H5Group.hpp"
6
7#include <memcore/Terminator.hpp>
8
9
10class H5File : public H5Object, public MemCore::SarahConnor<H5Object>
11{
12protected:
13 H5File() = delete;
14 H5File(const H5File&) = delete;
15
16 ~H5File();
17
18public:
23 H5File(hid_t FileID);
24
25 enum class CreationMode
26 {
27 TruncateOnCreation,
28 Append,
29 OpenReadonly
30 };
31
32 H5File(const std::string&filename, CreationMode, std::string&Error);
33
34 MemCore::RefPtr<H5Group> Gopen(const char*groupname, const RefPtr<H5GroupAccess>&AP) const;
35
36 enum Scope
37 {
38 global
39 };
40
41 void flush(Scope=global);
42};
43
44
45#endif // __H5_FILE_HPP
Definition H++/H5File.hpp:13
H5File(hid_t FileID)
Create a H5File object and takes over ownership of the HDF5 identifier.
Base class for groups, datasets and named datatypes.
Definition H++/H5Object.hpp:122