FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
H++/H5File.hpp
1#ifndef __H5_FILE_HPP
2#define __H5_FILE_HPP
3
4#include "H5Object.hpp"
5#include "H5Property.hpp"
6
7#include <memcore/Terminator.hpp>
8
9class H5Group;
10
12class H5File : public H5Object, public MemCore::SarahConnor<H5Object>
13{
14protected:
15 H5File() = delete;
16 H5File(const H5File&) = delete;
17
18 ~H5File();
19
20public:
25 H5File(hid_t FileID);
26
27 enum class CreationMode
28 {
29 TruncateOnCreation,
30 Append,
31 OpenReadonly
32 };
33
47 H5File(const std::string&filename, CreationMode, std::string&Error, bool WindowsVFD,
48 int HDF5_ELINK_CACHESIZE, int FileSpaceStrategyThreshold,
49 int sieve_buf_size );
50
51 H5Group*Gopen(const char*groupname, const refptr<H5GroupAccess>&ap = nullptr) const;
52
53 enum Scope
54 {
55 global
56 };
57
58 void flush(Scope=global);
59
60 void closeAllIDs();
61
62};
63
64
65#endif // __H5_FILE_HPP
Definition H++/H5File.hpp:13
A group within an HDF5 file.
Definition H++/H5Group.hpp:18
Base class for groups, datasets and named datatypes.
Definition H++/H5Object.hpp:122