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
h5base_py.h
1#ifndef H5BASE_PY_H
2#define H5BASE_PY_H
3
4#include "h5geo_py.h"
5
6#include <h5geo/private/h5baseimpl.h>
7
8namespace h5geopy {
9
10void BaseObjectParam_py(py::class_<H5BaseObjectParam> &py_obj);
11void PointsParam_py(py::class_<H5PointsParam, H5BaseObjectParam> &py_obj);
12void WellTopsParam_py(py::class_<H5WellTopsParam, H5PointsParam, H5BaseObjectParam> &py_obj);
13void HorizonParam_py(py::class_<H5HorizonParam, H5BaseObjectParam> &py_obj);
14void MapParam_py(py::class_<H5MapParam, H5BaseObjectParam> &py_obj);
15void WellParam_py(py::class_<H5WellParam, H5BaseObjectParam> &py_obj);
16void DevCurveParam_py(py::class_<H5DevCurveParam, H5BaseObjectParam> &py_obj);
17void LogCurveParam_py(py::class_<H5LogCurveParam, H5BaseObjectParam> &py_obj);
18void SeisParam_py(py::class_<H5SeisParam, H5BaseObjectParam> &py_obj);
19void VolParam_py(py::class_<H5VolParam, H5BaseObjectParam> &py_obj);
20
21template <class TBase>
23{
25 py::class_<
26 H5Base,
28 std::unique_ptr<H5Base, ObjectDeleter>>
29 &py_obj)
30 {
31 py_obj
32 .def("clone", &H5Base::clone)
33 .def("Delete", &H5Base::Delete);
34 }
35};
36
37void ObjectDeleter_py(py::class_<ObjectDeleter> &py_obj);
38
39} // h5geopy
40
41
42#endif // H5BASE_PY_H
Base class for all geo-containers and geo-objects.
Definition h5base.h:182
virtual H5Base * clone()=0
Definition h5baseimpl.h:8
Definition h5base_py.h:23