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
H5BaseContainer Class Referenceabstract

Base class for geo-containers. More...

#include <h5basecontainer.h>

Inheritance diagram for H5BaseContainer:
H5Base H5BaseImpl< H5BaseContainer > H5MapContainer H5SeisContainer H5VolContainer H5WellContainer H5BaseContainerImpl< TBase > H5BaseImpl< H5MapContainer > H5BaseImpl< H5SeisContainer > H5BaseImpl< H5VolContainer > H5BaseImpl< H5WellContainer > H5BaseContainerImpl< H5MapContainer > H5BaseContainerImpl< H5SeisContainer > H5BaseContainerImpl< H5VolContainer > H5BaseContainerImpl< H5WellContainer > H5MapContainerImpl H5SeisContainerImpl H5VolContainerImpl H5WellContainerImpl

Public Member Functions

virtual H5BaseObjectopenObject (const std::string &name)=0
 Open geo-object.
 
virtual H5BaseObjectopenObject (h5gt::Group group)=0
 Open geo-object.
 
virtual H5BasePointsopenPoints (const std::string &name)=0
 Open H5BasePoints derived points.
 
virtual H5BasePointsopenPoints (h5gt::Group group)=0
 Open H5BasePoints derived points.
 
virtual H5HorizonopenHorizon (const std::string &name)=0
 
virtual H5HorizonopenHorizon (h5gt::Group group)=0
 
virtual H5Points1createPoints1 (std::string &name, H5PointsParam &p, h5geo::CreationType createFlag)=0
 
virtual H5Points1createPoints1 (h5gt::Group group, H5PointsParam &p, h5geo::CreationType createFlag)=0
 
virtual H5Points2createPoints2 (std::string &name, H5PointsParam &p, h5geo::CreationType createFlag)=0
 
virtual H5Points2createPoints2 (h5gt::Group group, H5PointsParam &p, h5geo::CreationType createFlag)=0
 
virtual H5Points3createPoints3 (std::string &name, H5PointsParam &p, h5geo::CreationType createFlag)=0
 
virtual H5Points3createPoints3 (h5gt::Group group, H5PointsParam &p, h5geo::CreationType createFlag)=0
 
virtual H5Points4createPoints4 (std::string &name, H5PointsParam &p, h5geo::CreationType createFlag)=0
 
virtual H5Points4createPoints4 (h5gt::Group group, H5PointsParam &p, h5geo::CreationType createFlag)=0
 
virtual H5HorizoncreateHorizon (std::string &name, H5HorizonParam &p, h5geo::CreationType createFlag)=0
 
virtual H5HorizoncreateHorizon (h5gt::Group group, H5HorizonParam &p, h5geo::CreationType createFlag)=0
 
virtual h5gt::File getH5File () const =0
 Get HDF5 file.
 
virtual std::vector< h5gt::Group > getObjGroupList (const h5geo::ObjectType &objType, bool recursive)=0
 Find all geo-objects of specified type within current container and return them as vector of Groups.
 
virtual std::vector< std::string > getObjNameList (const h5geo::ObjectType &objType, bool recursive)=0
 Find all geo-objects of specified type within current container and return them as vector of names.
 
virtual size_t getObjCount (const h5geo::ObjectType &objType, bool recursive)=0
 Get number of geo-objects of specified type within current container.
 
virtual h5geo::ContainerType getContainerType ()=0
 Get current container type.
 
virtual bool isEqual (H5BaseContainer *other) const =0
 Check if containers are the same.
 
virtual bool operator== (const H5BaseContainer &other) const =0
 Check if containers are the same (compares HDF5 files)
 
virtual bool operator!= (const H5BaseContainer &other) const =0
 Check if containers are not the same (compares HDF5 files)
 
- Public Member Functions inherited from H5Base
virtual H5Baseclone ()=0
 
virtual void Delete ()=0
 

Detailed Description

Base class for geo-containers.

Member Function Documentation

◆ getContainerType()

virtual h5geo::ContainerType H5BaseContainer::getContainerType ( )
pure virtual

◆ getH5File()

◆ getObjCount()

virtual size_t H5BaseContainer::getObjCount ( const h5geo::ObjectType & objType,
bool recursive )
pure virtual

◆ getObjGroupList()

virtual std::vector< h5gt::Group > H5BaseContainer::getObjGroupList ( const h5geo::ObjectType & objType,
bool recursive )
pure virtual

Find all geo-objects of specified type within current container and return them as vector of Groups.

Implemented in H5BaseContainerImpl< TBase >, H5BaseContainerImpl< H5MapContainer >, H5BaseContainerImpl< H5SeisContainer >, H5BaseContainerImpl< H5VolContainer >, and H5BaseContainerImpl< H5WellContainer >.

◆ getObjNameList()

virtual std::vector< std::string > H5BaseContainer::getObjNameList ( const h5geo::ObjectType & objType,
bool recursive )
pure virtual

Find all geo-objects of specified type within current container and return them as vector of names.

Implemented in H5BaseContainerImpl< TBase >, H5BaseContainerImpl< H5MapContainer >, H5BaseContainerImpl< H5SeisContainer >, H5BaseContainerImpl< H5VolContainer >, and H5BaseContainerImpl< H5WellContainer >.

◆ isEqual()

virtual bool H5BaseContainer::isEqual ( H5BaseContainer * other) const
pure virtual

◆ openObject() [1/2]

virtual H5BaseObject * H5BaseContainer::openObject ( const std::string & name)
pure virtual

Open geo-object.

Check if HDF5 object belongs to any H5BaseObject derived type and create appropriate object.
Use dynamic_cast<> to cast it to the correct type.

Implemented in H5BaseContainerImpl< TBase >, H5BaseContainerImpl< H5MapContainer >, H5BaseContainerImpl< H5SeisContainer >, H5BaseContainerImpl< H5VolContainer >, and H5BaseContainerImpl< H5WellContainer >.

◆ openObject() [2/2]

virtual H5BaseObject * H5BaseContainer::openObject ( h5gt::Group group)
pure virtual

Open geo-object.

Check if HDF5 object belongs to any H5BaseObject derived type and create appropriate object.
Use dynamic_cast<> to cast it to the correct type.

Implemented in H5BaseContainerImpl< TBase >, H5BaseContainerImpl< H5MapContainer >, H5BaseContainerImpl< H5SeisContainer >, H5BaseContainerImpl< H5VolContainer >, and H5BaseContainerImpl< H5WellContainer >.

◆ openPoints() [1/2]

◆ openPoints() [2/2]

◆ operator!=()

virtual bool H5BaseContainer::operator!= ( const H5BaseContainer & other) const
pure virtual

◆ operator==()

virtual bool H5BaseContainer::operator== ( const H5BaseContainer & other) const
pure virtual

The documentation for this class was generated from the following file: