h5geo 0.4.0
C++17 and python API to work with geo-data (seismic, wells, maps, other in process) based on HDF5. Aimed at geoscientists and developers.
Loading...
Searching...
No Matches
h5mapcontainerimpl.h
1#ifndef H5MAPCONTAINERIMPL_H
2#define H5MAPCONTAINERIMPL_H
3
4#include "../h5mapcontainer.h"
5#include "h5basecontainerimpl.h"
6
7class H5MapContainerImpl : public H5BaseContainerImpl<H5MapContainer>
8{
9protected:
10 explicit H5MapContainerImpl(const h5gt::File &h5File);
11 virtual ~H5MapContainerImpl() = default;
12
13public:
14 virtual H5Map* openMap(
15 const std::string& name) override;
16 virtual H5Map* openMap(
17 h5gt::Group group) override;
18 virtual H5Map* createMap(
19 std::string& name,
20 H5MapParam &p,
21 h5geo::CreationType createFlag) override;
22 virtual H5Map* createMap(
23 h5gt::Group group,
24 H5MapParam &p,
25 h5geo::CreationType createFlag) override;
26
27 //----------- FRIEND CLASSES -----------
30 h5gt::File h5File, h5geo::CreationType createFlag);
32 std::string& fileName, h5geo::CreationType createFlag);
34 h5gt::File h5File);
35};
36
37#endif // H5MAPCONTAINERIMPL_H
Definition h5basecontainerimpl.h:11
A container built around HDF5 file and used for storing and manipulating H5Map objects.
Definition h5mapcontainer.h:15
Definition h5mapcontainerimpl.h:8
virtual H5Map * openMap(const std::string &name) override
Open H5Map.
Definition h5mapcontainerimpl.cpp:12
virtual H5Map * createMap(std::string &name, H5MapParam &p, h5geo::CreationType createFlag) override
Create H5Map.
Definition h5mapcontainerimpl.cpp:27
Provides API to work with maps.
Definition h5map.h:19
H5GEO_EXPORT H5MapContainer * createMapContainer(h5gt::File h5File, h5geo::CreationType createFlag)
Factory function for creating H5MapContainer.
Definition h5baseimpl.cpp:1764
H5GEO_EXPORT H5MapContainer * createMapContainerByName(std::string &fileName, h5geo::CreationType createFlag)
Factory function for creating H5MapContainer.
Definition h5baseimpl.cpp:1776
H5GEO_EXPORT H5MapContainer * openMapContainer(h5gt::File h5File)
Factory function for opening H5MapContainer.
Definition h5baseimpl.cpp:1788
CreationType
Definition h5enum.h:468
Class for creating H5Map.
Definition h5base.h:98