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
h5volcontainer.h
1#ifndef H5VOLCONTAINER_H
2#define H5VOLCONTAINER_H
3
4#include "h5geo_export.h"
5#include "h5basecontainer.h"
6
7#include <memory>
8
9class H5Vol;
10
15{
16protected:
17 virtual ~H5VolContainer() = default;
18
19public:
21 virtual H5Vol* openVol(
22 const std::string& name) = 0;
24 virtual H5Vol* openVol(
25 h5gt::Group group) = 0;
27 virtual H5Vol* createVol(
28 std::string& name,
29 H5VolParam& p,
30 h5geo::CreationType createFlag) = 0;
32 virtual H5Vol* createVol(
33 h5gt::Group group,
34 H5VolParam& p,
35 h5geo::CreationType createFlag) = 0;
36};
37
38using H5VolCnt_ptr = std::unique_ptr<H5VolContainer, h5geo::ObjectDeleter>;
39
40#endif // H5VOLCONTAINER_H
Base class for geo-containers.
Definition h5basecontainer.h:9
A container built around HDF5 file and used for storing and manipulating H5Vol objects.
Definition h5volcontainer.h:15
virtual H5Vol * createVol(h5gt::Group group, H5VolParam &p, h5geo::CreationType createFlag)=0
Create H5Vol.
virtual H5Vol * openVol(h5gt::Group group)=0
Open H5Vol.
virtual H5Vol * createVol(std::string &name, H5VolParam &p, h5geo::CreationType createFlag)=0
Create H5Vol.
virtual H5Vol * openVol(const std::string &name)=0
Open H5Vol.
Provides API to work with volumes.
Definition h5vol.h:15
CreationType
Definition h5enum.h:468
Class for creating H5Vol.
Definition h5base.h:116