Fesapi 2.10.1.0
This project provides C++ classes which allow an easy access in import and export to the Energistics standards.
|
A DataObjectRepository stores in memory all dataObjects. This is the in-memory container which holds deserialized (EPC) files and fetched ETP dataobjects. On the other direction, it is also used to store dataobjets which you want either to serialize in (EPC) files or pushed to an ETP store. It is not a database (it is much more a simple container). For instance, in most cases, you are not supposed to delete anything neither update relationships. It also controls the creation and the deletion of all contained dataobjects meaning that when you delete it, it also deletes all contained dataobjects. It does not store numerical values of the dataobjects but only their XML definitions. More...
#include <DataObjectRepository.h>
Public Types | |
enum class | openingMode : std::int8_t { READ_ONLY = 0 , READ_WRITE = 1 , READ_WRITE_DO_NOT_CREATE = 2 , OVERWRITE = 3 } |
enum | CUD { CREATED = 0 , UPDATED = 1 , DELETED = 2 } |
enum class | EnergisticsStandard : std::int8_t { RESQML2_0_1 = 0 , EML2_0 = 1 , EML2_3 = 2 , PRODML2_2 = 3 , RESQML2_2 = 4 , WITSML2_1 = 5 } |
Public Member Functions | |
DataObjectRepository () | |
DataObjectRepository (const std::string &resourceDirectory) | |
virtual | ~DataObjectRepository () |
soap * | getGsoapContext () const |
void | setDefaultStandard (EnergisticsStandard version) |
EnergisticsStandard | getDefaultEmlVersion () const |
EnergisticsStandard | getDefaultProdmlVersion () const |
EnergisticsStandard | getDefaultResqmlVersion () const |
EnergisticsStandard | getDefaultWitsmlVersion () const |
void | clear () |
void | addRelationship (common::AbstractObject *source, common::AbstractObject *target) |
void | registerDataFeeder (common::DataFeeder *dataFeeder) |
void | deleteRelationship (common::AbstractObject *source, common::AbstractObject *target) |
void | setHdfProxyFactory (common::HdfProxyFactory *factory) |
const std::vector< std::tuple< std::chrono::time_point< std::chrono::system_clock >, common::DataObjectReference, CUD > > & | getJournal () const |
virtual void | on_CreateDataObject (const std::vector< std::pair< std::chrono::time_point< std::chrono::system_clock >, common::AbstractObject * > > &) |
virtual void | on_UpdateDataObject (const std::vector< std::pair< std::chrono::time_point< std::chrono::system_clock >, common::AbstractObject * > > &) |
common::AbstractObject * | resolvePartial (common::AbstractObject *partialObj) |
const std::vector< common::AbstractObject * > & | getTargetObjects (common::AbstractObject const *dataObj) const |
std::vector< common::AbstractObject * > | getTargetObjects (common::AbstractObject const *dataObj, size_t depth, const std::vector< std::string > &filteredDatatypes=std::vector< std::string >()) const |
template<class valueType > | |
std::vector< valueType * > | getTargetObjects (common::AbstractObject const *dataObj) const |
const std::vector< common::AbstractObject * > & | getSourceObjects (common::AbstractObject const *dataObj) const |
std::vector< common::AbstractObject * > | getSourceObjects (common::AbstractObject const *dataObj, size_t depth, const std::vector< std::string > &filteredDatatypes=std::vector< std::string >()) const |
template<class valueType > | |
std::vector< valueType * > | getSourceObjects (common::AbstractObject const *dataObj) const |
void | updateAllRelationships () |
bool | addDataObject (common::AbstractObject *proxy) |
common::AbstractObject * | addOrReplaceDataObject (common::AbstractObject *proxy, bool replaceOnlyContent=false) |
common::AbstractObject * | addOrReplaceGsoapProxy (const std::string &xml, const std::string &contentType, const std::string &uriSource) |
uint64_t | cascadeDeleteDataObject (common::AbstractObject *proxy) |
const std::unordered_map< std::string, std::vector< common::AbstractObject * > > & | getDataObjects () const |
std::unordered_map< std::string, std::vector< common::AbstractObject * > > | getDataObjectsGroupedByDataType () const |
std::unordered_map< std::string, std::vector< common::AbstractObject * > > | getDataObjectsGroupedByDataType (const std::string &filter) const |
std::vector< common::AbstractObject * > | getDataObjectsByContentType (const std::string &contentType) const |
template<class valueType > | |
std::vector< valueType * > | getDataObjects () const |
eml2::AbstractLocal3dCrs * | getDefaultCrs () const |
void | setDefaultCrs (eml2::AbstractLocal3dCrs *crs) |
eml2::AbstractHdfProxy * | getDefaultHdfProxy () const |
void | setDefaultHdfProxy (eml2::AbstractHdfProxy *hdfProxy) |
common::AbstractObject * | getDataObjectByUuid (const std::string &uuid) const |
template<class valueType > | |
valueType * | getDataObjectByUuid (const std::string &uuid) const |
common::AbstractObject * | getDataObjectByUuidAndVersion (const std::string &uuid, const std::string &version) const |
common::AbstractObject * | getDataObjectByUuidAndVersion (const std::array< uint8_t, 16 > &uuid, const std::string &version) const |
template<class valueType > | |
valueType * | getDataObjectByUuidAndVersion (const std::string &uuid, const std::string &version) const |
std::vector< std::string > | getUuids () const |
common::AbstractObject * | createPartial (const std::string &uuid, const std::string &title, const std::string &contentType, const std::string &version="") |
common::AbstractObject * | createPartial (const DataObjectReference &dor) |
template<class valueType > | |
valueType * | createPartial (const std::string &guid, const std::string &title, const std::string &version="") |
eml2::AbstractHdfProxy * | createHdfProxy (const std::string &guid, const std::string &title, const std::string &packageDirAbsolutePath, const std::string &filePath, DataObjectRepository::openingMode hdfPermissionAccess) |
Creates a non parallel access to an HDF5 file for writing to it. Resulting HDF5 file proxy is stored into this repository. | |
eml2::AbstractLocal3dCrs * | createLocalDepth3dCrs (const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, uint64_t projectedEpsgCode, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented) |
Creates a local depth 3d CRS which is fully identified by means of an EPSG code. Resulting local depth 3d CRS is stored into this repository. | |
eml2::AbstractLocal3dCrs * | createLocalDepth3dCrs (const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string &projectedUnknownReason, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string &verticalUnknownReason, bool isUpOriented) |
Creates a local depth 3d CRS which is fully unknown. Resulting local depth 3d CRS is stored into this repository. | |
eml2::AbstractLocal3dCrs * | createLocalDepth3dCrs (const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, uint64_t projectedEpsgCode, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string &verticalUnknownReason, bool isUpOriented) |
Creates a local depth 3d CRS which is identified by an EPSG code for its projected part and which is unknown for its vertical part. Resulting local depth 3d CRS is stored into this repository. | |
eml2::AbstractLocal3dCrs * | createLocalDepth3dCrs (const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string &projectedUnknownReason, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented) |
Creates a local depth 3d CRS which is unknown for its projected part and which is identified by an EPSG code for its vertical part. Resulting local depth 3d CRS is stored into this repository. | |
eml2::AbstractLocal3dCrs * | createLocalTime3dCrs (const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, uint64_t projectedEpsgCode, gsoap_resqml2_0_1::eml20__TimeUom timeUom, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented) |
Creates a local time 3d CRS which is fully identified by means of EPSG code. Resulting local time 3d CRS is stored into this repository. | |
eml2::AbstractLocal3dCrs * | createLocalTime3dCrs (const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string &projectedUnknownReason, gsoap_resqml2_0_1::eml20__TimeUom timeUom, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string &verticalUnknownReason, bool isUpOriented) |
Creates a local time 3d CRS which is fully unknown. Resulting local time 3d CRS is stored into this repository. | |
eml2::AbstractLocal3dCrs * | createLocalTime3dCrs (const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, uint64_t projectedEpsgCode, gsoap_resqml2_0_1::eml20__TimeUom timeUom, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, const std::string &verticalUnknownReason, bool isUpOriented) |
Creates a local time 3d CRS which is identified by an EPSG code for its projected part and which is unknown for its vertical part. Resulting local time 3d CRS is stored into this repository. | |
eml2::AbstractLocal3dCrs * | createLocalTime3dCrs (const std::string &guid, const std::string &title, double originOrdinal1, double originOrdinal2, double originOrdinal3, double arealRotation, gsoap_resqml2_0_1::eml20__LengthUom projectedUom, const std::string &projectedUnknownReason, gsoap_resqml2_0_1::eml20__TimeUom timeUom, gsoap_resqml2_0_1::eml20__LengthUom verticalUom, unsigned int verticalEpsgCode, bool isUpOriented) |
Creates a local time 3d CRS which unknown for its projected part and which is identified by an EPSG code for its vertical part. Resulting local time 3d CRS is stored into this repository. | |
resqml2::MdDatum * | createMdDatum (const std::string &guid, const std::string &title, eml2::AbstractLocal3dCrs *locCrs, gsoap_eml2_3::eml23__ReferencePointKind originKind, double referenceLocationOrdinal1, double referenceLocationOrdinal2, double referenceLocationOrdinal3) |
Creates a measured depth (MD) datum into this repository. | |
resqml2::BoundaryFeature * | createBoundaryFeature (const std::string &guid, const std::string &title) |
Creates a boundary feature into this repository. | |
resqml2::BoundaryFeature * | createHorizon (const std::string &guid, const std::string &title) |
resqml2::BoundaryFeature * | createGeobodyBoundaryFeature (const std::string &guid, const std::string &title) |
resqml2::RockVolumeFeature * | createGeobodyFeature (const std::string &guid, const std::string &title) |
Creates a geobody feature into this repository. | |
resqml2::BoundaryFeature * | createFault (const std::string &guid, const std::string &title) |
resqml2::BoundaryFeature * | createFracture (const std::string &guid, const std::string &title) |
resqml2::WellboreFeature * | createWellboreFeature (const std::string &guid, const std::string &title) |
Creates a wellbore feature into this repository. | |
resqml2::SeismicLatticeFeature * | createSeismicLattice (const std::string &guid, const std::string &title, int inlineIncrement, int crosslineIncrement, unsigned int originInline, unsigned int originCrossline, unsigned int inlineCount, unsigned int crosslineCount) |
Creates a seismic lattice into this repository. | |
resqml2_0_1::SeismicLineFeature * | createSeismicLine (const std::string &guid, const std::string &title, int traceIndexIncrement, unsigned int firstTraceIndex, unsigned int traceCount) |
resqml2::CmpLineFeature * | createCmpLine (const std::string &guid, const std::string &title, int nearestShotPointIndicesIncrement, int firstNearestShotPointIndex, unsigned int nearestShotPointCount) |
Creates a CMP line into this repository. | |
resqml2::ShotPointLineFeature * | createShotPointLine (const std::string &guid, const std::string &title) |
resqml2::SeismicLineSetFeature * | createSeismicLineSet (const std::string &guid, const std::string &title) |
Creates a seismic line set into this repository. | |
resqml2::CulturalFeature * | createCultural (const std::string &guid, const std::string &title, gsoap_eml2_3::resqml22__CulturalFeatureKind kind=gsoap_eml2_3::resqml22__CulturalFeatureKind::project_x0020boundaries) |
Creates a cultural into this repository. | |
resqml2::RockVolumeFeature * | createStratigraphicUnitFeature (const std::string &guid, const std::string &title) |
resqml2::RockVolumeFeature * | createRockVolumeFeature (const std::string &guid, const std::string &title) |
resqml2::Model * | createModel (const std::string &guid, const std::string &title) |
resqml2::Model * | createStructuralModel (const std::string &guid, const std::string &title) |
resqml2::Model * | createStratigraphicModel (const std::string &guid, const std::string &title) |
resqml2::Model * | createRockFluidModel (const std::string &guid, const std::string &title) |
resqml2::Model * | createEarthModel (const std::string &guid, const std::string &title) |
resqml2_0_1::FluidBoundaryFeature * | createFluidBoundaryFeature (const std::string &guid, const std::string &title, gsoap_resqml2_0_1::resqml20__FluidContact fluidContact) |
resqml2_0_1::RockFluidUnitFeature * | createRockFluidUnit (const std::string &guid, const std::string &title, gsoap_resqml2_0_1::resqml20__Phase phase, resqml2_0_1::FluidBoundaryFeature *fluidBoundaryTop, resqml2_0_1::FluidBoundaryFeature *fluidBoundaryBottom) |
resqml2::GenericFeatureInterpretation * | createGenericFeatureInterpretation (resqml2::AbstractFeature *feature, const std::string &guid, const std::string &title) |
Creates a generic feature interpretation into this repository. | |
resqml2::BoundaryFeatureInterpretation * | createBoundaryFeatureInterpretation (resqml2::BoundaryFeature *feature, const std::string &guid, const std::string &title) |
resqml2::HorizonInterpretation * | createHorizonInterpretation (resqml2::BoundaryFeature *horizon, const std::string &guid, const std::string &title) |
Creates a horizon interpretation into this repository. | |
resqml2::GeobodyBoundaryInterpretation * | createGeobodyBoundaryInterpretation (resqml2::BoundaryFeature *geobodyBoundary, const std::string &guid, const std::string &title) |
Creates a geobody boundary interpretation into this repository. | |
resqml2::FaultInterpretation * | createFaultInterpretation (resqml2::BoundaryFeature *fault, const std::string &guid, const std::string &title) |
Creates a fault interpretation into this repository. | |
resqml2::FluidBoundaryInterpretation * | createFluidBoundaryInterpretation (resqml2::BoundaryFeature *boundary, const std::string &guid, const std::string &title, gsoap_eml2_3::resqml22__FluidContact fluidContact) |
Creates a fluid Boundary interpretation into this repository. | |
resqml2::WellboreInterpretation * | createWellboreInterpretation (resqml2::WellboreFeature *wellbore, const std::string &guid, const std::string &title, bool isDrilled) |
Creates a wellbore interpretation into this repository. | |
resqml2::EarthModelInterpretation * | createEarthModelInterpretation (resqml2::Model *orgFeat, const std::string &guid, const std::string &title) |
Creates an earth model interpretation into this repository. | |
resqml2::StructuralOrganizationInterpretation * | createStructuralOrganizationInterpretationInAge (resqml2::Model *orgFeat, const std::string &guid, const std::string &title) |
Creates a structural organization interpretation ordered by age into this repository. | |
resqml2::StructuralOrganizationInterpretation * | createStructuralOrganizationInterpretationInApparentDepth (resqml2::Model *orgFeat, const std::string &guid, const std::string &title) |
Creates a structural organization interpretation ordered by apparent depth into this repository. | |
resqml2::StructuralOrganizationInterpretation * | createStructuralOrganizationInterpretationInMeasuredDepth (resqml2::Model *orgFeat, const std::string &guid, const std::string &title) |
Creates a structural organization interpretation ordered by measured depth into this repository. | |
resqml2::RockFluidOrganizationInterpretation * | createRockFluidOrganizationInterpretation (resqml2::Model *orgFeat, const std::string &guid, const std::string &title) |
Creates a rock fluid organization interpretation into this repository. | |
resqml2::RockFluidUnitInterpretation * | createRockFluidUnitInterpretation (resqml2::RockVolumeFeature *rockFluidUnitFeature, const std::string &guid, const std::string &title) |
Creates a rock fluid unit interpretation into this repository. | |
resqml2::GeobodyInterpretation * | createGeobodyInterpretation (resqml2::RockVolumeFeature *geobody, const std::string &guid, const std::string &title) |
Creates a geobody interpretation into this repository. | |
resqml2::StratigraphicUnitInterpretation * | createStratigraphicUnitInterpretation (resqml2::RockVolumeFeature *stratiUnitFeature, const std::string &guid, const std::string &title) |
Creates a stratigraphic unit interpretation into this repository. | |
resqml2::StratigraphicColumn * | createStratigraphicColumn (const std::string &guid, const std::string &title) |
Creates stratigraphic column into this repository. | |
resqml2::StratigraphicColumnRankInterpretation * | createStratigraphicColumnRankInterpretationInAge (resqml2::Model *orgFeat, const std::string &guid, const std::string &title, uint64_t rank) |
Creates a stratigraphic column rank interpretation ordered by age into this repository. | |
resqml2::StratigraphicColumnRankInterpretation * | createStratigraphicColumnRankInterpretationInApparentDepth (resqml2::Model *orgFeat, const std::string &guid, const std::string &title, uint64_t rank) |
Creates a stratigraphic column rank interpretation ordered by apparent depth into this repository. | |
resqml2::StratigraphicOccurrenceInterpretation * | createStratigraphicOccurrenceInterpretationInAge (resqml2::Model *orgFeat, const std::string &guid, const std::string &title) |
Creates a stratigraphic occurrence interpretation ordered by age into this repository. | |
resqml2::StratigraphicOccurrenceInterpretation * | createStratigraphicOccurrenceInterpretationInApparentDepth (resqml2::Model *orgFeat, const std::string &guid, const std::string &title) |
Creates a stratigraphic occurrence interpretation ordered by apparent depth into this repository. | |
resqml2::TriangulatedSetRepresentation * | createTriangulatedSetRepresentation (const std::string &guid, const std::string &title) |
Creates a triangulated set representation into this repository. | |
resqml2::TriangulatedSetRepresentation * | createTriangulatedSetRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title) |
Creates a triangulated set representation into this repository. | |
resqml2::PolylineSetRepresentation * | createPolylineSetRepresentation (const std::string &guid, const std::string &title) |
Creates a polyline set representation into this repository. | |
resqml2::PolylineSetRepresentation * | createPolylineSetRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title) |
Creates a polyline set representation into this repository. | |
resqml2::PolylineSetRepresentation * | createPolylineSetRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, gsoap_eml2_3::resqml22__LineRole roleKind) |
Creates a polyline set representation into this repository. | |
resqml2::PointSetRepresentation * | createPointSetRepresentation (const std::string &guid, const std::string &title) |
Creates a point set representation into this repository. | |
resqml2::PointSetRepresentation * | createPointSetRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title) |
Creates a point set representation into this repository. | |
resqml2::PlaneSetRepresentation * | createPlaneSetRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title) |
Creates a plane set representation into this repository. | |
resqml2::PolylineRepresentation * | createPolylineRepresentation (const std::string &guid, const std::string &title, bool isClosed=false) |
Creates a polyline representation into this repository. | |
resqml2::PolylineRepresentation * | createPolylineRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, bool isClosed=false) |
Creates a polyline representation into this repository. | |
resqml2::PolylineRepresentation * | createPolylineRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, gsoap_eml2_3::resqml22__LineRole roleKind, bool isClosed=false) |
Creates a polyline representation into this repository. | |
resqml2::Grid2dRepresentation * | createGrid2dRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title) |
resqml2::WellboreTrajectoryRepresentation * | createWellboreTrajectoryRepresentation (resqml2::WellboreInterpretation *interp, const std::string &guid, const std::string &title, resqml2::MdDatum *mdInfo) |
Creates a wellbore trajectory representation into this repository. | |
resqml2_0_1::WellboreTrajectoryRepresentation * | createWellboreTrajectoryRepresentation (resqml2::WellboreInterpretation *interp, const std::string &guid, const std::string &title, resqml2_0_1::DeviationSurveyRepresentation *deviationSurvey) |
resqml2_0_1::DeviationSurveyRepresentation * | createDeviationSurveyRepresentation (resqml2::WellboreInterpretation *interp, const std::string &guid, const std::string &title, bool isFinal, resqml2::MdDatum *mdInfo) |
Creates a deviation survey representation into this repository. | |
resqml2::WellboreFrameRepresentation * | createWellboreFrameRepresentation (resqml2::WellboreInterpretation *interp, const std::string &guid, const std::string &title, resqml2::WellboreTrajectoryRepresentation *traj) |
Creates a wellbore frame representation into this repository. | |
resqml2::SeismicWellboreFrameRepresentation * | createSeismicWellboreFrameRepresentation (resqml2::WellboreInterpretation *interp, const std::string &guid, const std::string &title, resqml2::WellboreTrajectoryRepresentation *traj, double seismicReferenceDatum, double weatheringVelocity, eml2::AbstractLocal3dCrs *crs) |
Creates a seismic wellbore frame representation into this repository. | |
resqml2::WellboreMarkerFrameRepresentation * | createWellboreMarkerFrameRepresentation (resqml2::WellboreInterpretation *interp, const std::string &guid, const std::string &title, resqml2::WellboreTrajectoryRepresentation *traj) |
resqml2::WellboreMarker * | createWellboreMarker (resqml2::WellboreMarkerFrameRepresentation *wellboreMarkerFrame, const std::string &guid, const std::string &title) |
Creates a wellbore marker within a given wellbore marker frame representation. | |
resqml2::WellboreMarker * | createWellboreMarker (resqml2::WellboreMarkerFrameRepresentation *wellboreMarkerFrame, const std::string &guid, const std::string &title, gsoap_resqml2_0_1::resqml20__GeologicBoundaryKind geologicBoundaryKind) |
Creates a wellbore marker within a given wellbore marker frame representation. | |
resqml2::BlockedWellboreRepresentation * | createBlockedWellboreRepresentation (resqml2::WellboreInterpretation *interp, const std::string &guid, const std::string &title, resqml2::WellboreTrajectoryRepresentation *traj) |
Creates a blocked wellbore representation into this repository. | |
resqml2::RepresentationSetRepresentation * | createRepresentationSetRepresentation (resqml2::AbstractOrganizationInterpretation *interp, const std::string &guid, const std::string &title) |
Creates a representation set representation into this repository. | |
resqml2::RepresentationSetRepresentation * | createRepresentationSetRepresentation (const std::string &guid, const std::string &title) |
Creates a representation set representation into this repository. | |
resqml2::NonSealedSurfaceFrameworkRepresentation * | createNonSealedSurfaceFrameworkRepresentation (resqml2::StructuralOrganizationInterpretation *interp, const std::string &guid, const std::string &title) |
Creates a non sealed surface framework representation into this repository. | |
resqml2::SealedSurfaceFrameworkRepresentation * | createSealedSurfaceFrameworkRepresentation (resqml2::StructuralOrganizationInterpretation *interp, const std::string &guid, const std::string &title) |
Creates a sealed surface framework representation into this repository. | |
resqml2::SealedVolumeFrameworkRepresentation * | createSealedVolumeFrameworkRepresentation (resqml2::StratigraphicColumnRankInterpretation *interp, const std::string &guid, const std::string &title, resqml2::SealedSurfaceFrameworkRepresentation *ssf) |
Creates a sealed volume framework representation into this repository. | |
resqml2::AbstractIjkGridRepresentation * | createPartialIjkGridRepresentation (const std::string &guid, const std::string &title) |
resqml2::AbstractIjkGridRepresentation * | createPartialTruncatedIjkGridRepresentation (const std::string &guid, const std::string &title) |
resqml2::IjkGridExplicitRepresentation * | createIjkGridExplicitRepresentation (const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount, bool *kGaps=nullptr, eml2::AbstractHdfProxy *proxy=nullptr) |
Creates an ijk grid explicit representation into this repository. | |
resqml2::IjkGridExplicitRepresentation * | createIjkGridExplicitRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount, bool *kGaps=nullptr, eml2::AbstractHdfProxy *proxy=nullptr) |
Creates an ijk grid explicit representation into this repository. | |
resqml2::IjkGridParametricRepresentation * | createIjkGridParametricRepresentation (const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount, bool *kGaps=nullptr, eml2::AbstractHdfProxy *proxy=nullptr) |
Creates an ijk grid parametric representation into this repository. | |
resqml2::IjkGridParametricRepresentation * | createIjkGridParametricRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount, bool *kGaps=nullptr, eml2::AbstractHdfProxy *proxy=nullptr) |
Creates an ijk grid parametric representation into this repository. | |
resqml2::IjkGridLatticeRepresentation * | createIjkGridLatticeRepresentation (const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount) |
Creates an ijk grid lattice representation into this repository. | |
resqml2::IjkGridLatticeRepresentation * | createIjkGridLatticeRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount) |
Creates an ijk grid lattice representation into this repository. | |
resqml2::IjkGridNoGeometryRepresentation * | createIjkGridNoGeometryRepresentation (const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount, bool *kGaps=nullptr, eml2::AbstractHdfProxy *proxy=nullptr) |
Creates an ijk grid with no geometry representation into this repository. | |
resqml2::IjkGridNoGeometryRepresentation * | createIjkGridNoGeometryRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, unsigned int iCount, unsigned int jCount, unsigned int kCount, bool *kGaps=nullptr, eml2::AbstractHdfProxy *proxy=nullptr) |
Creates an ijk grid with no geometry representation into this repository. | |
resqml2::UnstructuredGridRepresentation * | createUnstructuredGridRepresentation (const std::string &guid, const std::string &title, const uint64_t &cellCount) |
Creates an unstructured grid representation into this repository. | |
resqml2::UnstructuredGridRepresentation * | createUnstructuredGridRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title, const uint64_t &cellCount) |
Creates an unstructured grid representation into this repository. | |
resqml2::SubRepresentation * | createSubRepresentation (const std::string &guid, const std::string &title) |
Creates a sub-representation into this repository. | |
resqml2::SubRepresentation * | createSubRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title) |
Creates a sub-representation into this repository. | |
resqml2::GridConnectionSetRepresentation * | createGridConnectionSetRepresentation (const std::string &guid, const std::string &title) |
Creates a grid connection set representation into this repository. | |
resqml2::GridConnectionSetRepresentation * | createGridConnectionSetRepresentation (resqml2::AbstractFeatureInterpretation *interp, const std::string &guid, const std::string &title) |
Creates a grid connection set representation into this repository. | |
resqml2::StreamlinesFeature * | createStreamlinesFeature (const std::string &guid, const std::string &title, uint64_t timeIndex, eml2::TimeSeries *timeSeries) |
Creates a streamlines feature into this repository. | |
resqml2::StreamlinesRepresentation * | createStreamlinesRepresentation (resqml2::GenericFeatureInterpretation *interp, const std::string &guid, const std::string &title, uint64_t lineCount) |
Creates a streamlines representation into this repository. | |
eml2::TimeSeries * | createTimeSeries (const std::string &guid, const std::string &title) |
Creates a time series into this repository. | |
resqml2::DoubleTableLookup * | createDoubleTableLookup (const std::string &guid, const std::string &title) |
Creates a double table lookup into this repository. | |
resqml2::StringTableLookup * | createStringTableLookup (const std::string &guid, const std::string &title) |
Creates a string table lookup into this repository. | |
resqml2_0_1::PropertyKind * | createPropertyKind (const std::string &guid, const std::string &title, const std::string &namingSystem, gsoap_resqml2_0_1::resqml20__ResqmlUom uom, bool isAbstract, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind parentEnergisticsPropertyKind) |
resqml2_0_1::PropertyKind * | createPropertyKind (const std::string &guid, const std::string &title, const std::string &namingSystem, gsoap_resqml2_0_1::resqml20__ResqmlUom uom, bool isAbstract, eml2::PropertyKind *parentPropType) |
Creates a property kind into this repository. | |
resqml2_0_1::PropertyKind * | createPropertyKind (const std::string &guid, const std::string &title, const std::string &namingSystem, const std::string &nonStandardUom, bool isAbstract, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind parentEnergisticsPropertyKind) |
resqml2_0_1::PropertyKind * | createPropertyKind (const std::string &guid, const std::string &title, const std::string &namingSystem, const std::string &nonStandardUom, bool isAbstract, eml2::PropertyKind *parentPropType) |
eml2::PropertyKind * | createPropertyKind (const std::string &guid, const std::string &title, gsoap_eml2_3::eml23__QuantityClassKind quantityClass, bool isAbstract=false, eml2::PropertyKind *parentPropertyKind=nullptr) |
Creates a property kind starting with EML2.1 version into this repository. Don't use it at all if you want a full RESQML2.0.1 EPC!!! Use other same name methods instead please. | |
eml2::PropertyKind * | createPropertyKind (const std::string &guid, const std::string &title, const std::string &quantityClass, bool isAbstract=false, eml2::PropertyKind *parentPropertyKind=nullptr) |
Creates a property kind starting with EML2.1 version into this repository. Don't use it at all if you want a full RESQML2.0.1 EPC!!! Use other same name methods instead please. | |
resqml2_0_1::PropertySet * | createPropertySet (const std::string &guid, const std::string &title, bool hasMultipleRealizations, bool hasSinglePropertyKind, gsoap_resqml2_0_1::resqml20__TimeSetKind timeSetKind) |
Creates a property set into this repository. | |
resqml2_0_1::CommentProperty * | createCommentProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind) |
resqml2::CommentProperty * | createCommentProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, eml2::PropertyKind *localPropType) |
resqml2_0_1::ContinuousProperty * | createContinuousProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, gsoap_resqml2_0_1::resqml20__ResqmlUom uom, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind) |
resqml2::ContinuousProperty * | createContinuousProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, gsoap_resqml2_0_1::resqml20__ResqmlUom uom, eml2::PropertyKind *localPropType) |
resqml2_0_1::ContinuousProperty * | createContinuousProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, std::string nonStandardUom, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind) |
resqml2::ContinuousProperty * | createContinuousProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, const std::string &nonStandardUom, eml2::PropertyKind *localPropType) |
resqml2_0_1::DiscreteProperty * | createDiscreteProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind) |
resqml2::DiscreteProperty * | createDiscreteProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, eml2::PropertyKind *localPropType) |
resqml2_0_1::CategoricalProperty * | createCategoricalProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, resqml2::StringTableLookup *strLookup, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind) |
resqml2_0_1::CategoricalProperty * | createCategoricalProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, resqml2::DoubleTableLookup *dblLookup, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind) |
resqml2::CategoricalProperty * | createCategoricalProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, resqml2::StringTableLookup *strLookup, eml2::PropertyKind *localPropType) |
resqml2::CategoricalProperty * | createCategoricalProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, resqml2::DoubleTableLookup *dblLookup, eml2::PropertyKind *localPropType) |
resqml2_0_1::PointsProperty * | createPointsProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, eml2::AbstractLocal3dCrs *localCrs, gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind energisticsPropertyKind=gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind::length) |
resqml2::PointsProperty * | createPointsProperty (resqml2::AbstractRepresentation *rep, const std::string &guid, const std::string &title, unsigned int dimension, gsoap_eml2_3::eml23__IndexableElement attachmentKind, eml2::AbstractLocal3dCrs *localCrs, eml2::PropertyKind *localPropType) |
eml2::ActivityTemplate * | createActivityTemplate (const std::string &guid, const std::string &title) |
Creates an activity template into this repository. | |
eml2::Activity * | createActivity (eml2::ActivityTemplate *activityTemplate, const std::string &guid, const std::string &title) |
Creates an activity into this repository. | |
WITSML2_NS::Well * | createWell (const std::string &guid, const std::string &title, bool isActive) |
WITSML2_NS::Well * | createWell (const std::string &guid, const std::string &title, bool isActive, gsoap_eml2_3::eml23__WellStatus statusWell, gsoap_eml2_3::witsml21__WellDirection directionWell) |
WITSML2_NS::Wellbore * | createWellbore (WITSML2_NS::Well *witsmlWell, const std::string &guid, const std::string &title, bool isActive) |
Creates a wellbore into this repository. | |
WITSML2_NS::Wellbore * | createWellbore (WITSML2_NS::Well *witsmlWell, const std::string &guid, const std::string &title, gsoap_eml2_3::eml23__WellStatus statusWellbore, bool isActive, bool achievedTD) |
Creates a wellbore into this repository. | |
witsml2_1::WellCompletion * | createWellCompletion (WITSML2_NS::Well *witsmlWell, const std::string &guid, const std::string &title) |
Creates a well completion into this repository. | |
witsml2_1::WellboreCompletion * | createWellboreCompletion (WITSML2_NS::Wellbore *witsmlWellbore, const std::string &guid, const std::string &title) |
witsml2_1::WellboreGeometry * | createWellboreGeometry (WITSML2_NS::Wellbore *witsmlWellbore, const std::string &guid, const std::string &title, bool isActive) |
Creates a wellbore geometry into this repository. It is used to capture information about the configuration of the permanently installed components in a wellbore. | |
WITSML2_NS::Trajectory * | createTrajectory (WITSML2_NS::Wellbore *witsmlWellbore, const std::string &guid, const std::string &title, bool isActive) |
Creates a wellbore trajectory into this repository. | |
witsml2_1::Log * | createLog (WITSML2_NS::Wellbore *witsmlWellbore, const std::string &guid, const std::string &title, bool isActive) |
Creates a wellbore log into this repository. | |
witsml2_1::ChannelSet * | createChannelSet (const std::string &guid, const std::string &title, bool isActive) |
witsml2_1::Channel * | createChannel (eml2::PropertyKind *propertyKind, const std::string &guid, const std::string &title, const std::string &mnemonic, gsoap_eml2_3::eml23__UnitOfMeasure uom, gsoap_eml2_3::witsml21__ChannelDataKind dataKind, bool isActive) |
Creates a channel into this repository. | |
witsml2_1::WellboreMarker * | createWellboreMarker (const std::string &guid, const std::string &title, double md, gsoap_eml2_3::eml23__LengthUom mdUom) |
Creates a WITSML2.0 Wellbore Marker into this repository. | |
witsml2_1::WellboreMarker * | createWellboreMarker (WITSML2_NS::Wellbore *witsmlWellbore, const std::string &guid, const std::string &title, double md, gsoap_eml2_3::eml23__LengthUom mdUom) |
Creates a WITSML2.0 Wellbore Marker into this repository. | |
prodml2_2::FluidSystem * | createFluidSystem (const std::string &guid, const std::string &title, double temperatureValue, gsoap_eml2_3::eml23__ThermodynamicTemperatureUom temperatureUom, double pressureValue, gsoap_eml2_3::eml23__PressureUom pressureUom, gsoap_eml2_3::prodml22__ReservoirFluidKind reservoirFluidKind, double gasOilRatio, gsoap_eml2_3::eml23__VolumePerVolumeUom gasOilRatioUom) |
prodml2_2::FluidSystem * | createFluidSystem (const std::string &guid, const std::string &title, gsoap_eml2_3::eml23__ReferenceCondition referenceCondition, gsoap_eml2_3::prodml22__ReservoirFluidKind reservoirFluidKind, double gasOilRatio, gsoap_eml2_3::eml23__VolumePerVolumeUom gasOilRatioUom) |
prodml2_2::FluidCharacterization * | createFluidCharacterization (const std::string &guid, const std::string &title) |
prodml2_2::TimeSeriesData * | createTimeSeriesData (const std::string &guid, const std::string &title) |
eml2::GraphicalInformationSet * | createGraphicalInformationSet (const std::string &guid, const std::string &title) |
resqml2::DiscreteColorMap * | createDiscreteColorMap (const std::string &guid, const std::string &title) |
resqml2::ContinuousColorMap * | createContinuousColorMap (const std::string &guid, const std::string &title, gsoap_eml2_3::resqml22__InterpolationDomain interpolationDomain, gsoap_eml2_3::resqml22__InterpolationMethod interpolationMethod) |
resqml2_0_1::PropertyKindMapper * | getPropertyKindMapper () const |
void | clearWarnings () |
void | addWarning (const std::string &warning) |
const std::vector< std::string > & | getWarnings () const |
DataObjectRepository * | newTransactionRepo () |
void | commitTransactionRepo (DataObjectRepository *transactionRepo) |
gsoap_uom1_0::uom10__uomDictionary const * | getUomDictionary () const |
A DataObjectRepository stores in memory all dataObjects. This is the in-memory container which holds deserialized (EPC) files and fetched ETP dataobjects. On the other direction, it is also used to store dataobjets which you want either to serialize in (EPC) files or pushed to an ETP store. It is not a database (it is much more a simple container). For instance, in most cases, you are not supposed to delete anything neither update relationships. It also controls the creation and the deletion of all contained dataobjects meaning that when you delete it, it also deletes all contained dataobjects. It does not store numerical values of the dataobjects but only their XML definitions.
|
strong |
Enumeration for the various Energistics standards.
|
strong |
Values that represent the HDF5 file permission access
common::DataObjectRepository::DataObjectRepository | ( | ) |
Default constructor
|
explicit |
Constructor initializing the datobject repository based on a resource directory.
resourceDirectory | Pathname of the resource directory. For now it supports reading Energistics UOM 1.0 XML file and a proprietary PropertyKindMapping.xml file waiting for PWLS support. |
|
virtual |
Destructor
bool common::DataObjectRepository::addDataObject | ( | common::AbstractObject * | proxy | ) |
CAUTION : not to use outside of the construction time of a dataobject. It does not update the relationships of the added or replaced data object. It is sometimes necessary to add an invalid dataobject to the DataObject Repository. For example, at construction time of the dataobjects, we may have to put the dataobject into the repo even if it is not complete yet (geometry is not part of construction time). We may have to put it into the repo in order to create relationships with this dataobject. Longer term, a staging phase should be created in FESAPI
[in] | proxy | The data object to add. |
common::AbstractObject * common::DataObjectRepository::addOrReplaceDataObject | ( | common::AbstractObject * | proxy, |
bool | replaceOnlyContent = false ) |
Adds or replaces (based on UUID and version) a data object in the repository. It does also update the relationships of the added or replaced data object
std::invalid_argument | If, during a replacement, the content type of the data object has changed. |
[in] | proxy | The data object to add or to replace. |
replaceOnlyContent | If true, it does not replace the full object(not the pointer) but only replace the content of the object. |
common::AbstractObject * common::DataObjectRepository::addOrReplaceGsoapProxy | ( | const std::string & | xml, |
const std::string & | contentType, | ||
const std::string & | uriSource ) |
Adds or replaces (based on Energistics XML definition) a data object in the repository. It does also update the relationships of the added or replaced data object
std::invalid_argument | If, during a replacement, the content type of the data object has changed. |
xml | The XML which is the serialization of the Energistics data object to add or to replace. |
contentOrDataType | The content or qualified data type of the Energistics dataobject to add or to replace. |
uriSource | The EPC document absolute path or the ETP dataspace URI where this dataobject comes from |
void common::DataObjectRepository::addRelationship | ( | common::AbstractObject * | source, |
common::AbstractObject * | target ) |
Adds a directed relationship between two objects. Source and target of the relationship are defined by the Energistics data model. Usually, the easiest way is to look at Energistics UML diagrams. Another way is to rely on XSD/XML: explicit relationships are contained by the source objects and point to target objects.
std::invalid_argument | if the source or target object is null. |
[in] | source | The source object of the relationship. |
[in] | target | The target object of the relationship. |
void common::DataObjectRepository::addWarning | ( | const std::string & | warning | ) |
Adds a warning to this repository
warning | The warning. |
uint64_t common::DataObjectRepository::cascadeDeleteDataObject | ( | common::AbstractObject * | proxy | ) |
Delete a dataobject wich has not got any backward relationships. Throw an exception if the dataobejct ot delte has got backward relationships. It also goes on every forward related dataobject and delete them if they have no more backward relationships. It does that recursively. Remark : it is mainly used to delete properties because usually no dataobject points to them. For now, this method only deletes the XML part of the dataobject, not the HDF5 part.
[in] | proxy | The data object to delete. |
void common::DataObjectRepository::clear | ( | ) |
Removes and cleans all data objects from this repository
|
inline |
Clears the repository the warnings
void common::DataObjectRepository::commitTransactionRepo | ( | DataObjectRepository * | transactionRepo | ) |
Commit a transaction into this master repository.
eml2::Activity * common::DataObjectRepository::createActivity | ( | eml2::ActivityTemplate * | activityTemplate, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates an activity into this repository.
std::invalid_argument | If the default EML version is unrecognized. |
std::invalid_argument | If activityTemplate == nullptr . |
[in] | activityTemplate | The activity template on which this activity is based on. |
guid | The guid to set to the activity. If empty then a new guid will be generated. | |
title | The title to set to the activity. If empty then "unknown" title will be set. |
eml2::ActivityTemplate * common::DataObjectRepository::createActivityTemplate | ( | const std::string & | guid, |
const std::string & | title ) |
Creates an activity template into this repository.
std::invalid_argument | If the default EML version is unrecognized. |
guid | The guid to set to the activity template. If empty then a new guid will be generated. |
title | The title to set to the activity template. If empty then "unknown" title will be set. |
resqml2::BlockedWellboreRepresentation * common::DataObjectRepository::createBlockedWellboreRepresentation | ( | resqml2::WellboreInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
resqml2::WellboreTrajectoryRepresentation * | traj ) |
Creates a blocked wellbore representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If traj == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the blocked wellbore representation. If empty then a new guid will be generated. | |
title | The title to set to the blocked wellbore representation. If empty then "unknown" title will be set. | |
[in] | traj | The wellbore trajectory that refers this blocked wellbore representation. It cannot be null. |
resqml2::BoundaryFeature * common::DataObjectRepository::createBoundaryFeature | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a boundary feature into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the boundary feature. If empty then a new guid will be generated. |
title | The title to set to the boundary feature. If empty then "unknown" title will be set. |
resqml2::BoundaryFeatureInterpretation * common::DataObjectRepository::createBoundaryFeatureInterpretation | ( | resqml2::BoundaryFeature * | feature, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a boundary feature interpretation into this repository
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If feature is nullptr . |
[in] | feature | The interpreted boundary feature. It cannot be null. |
guid | The guid to set to the boundary feature interpretation. If empty then a new guid will be generated. | |
title | The title to set to the boundary feature interpretation. If empty then "unknown" title will be set. |
resqml2::CategoricalProperty * common::DataObjectRepository::createCategoricalProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | dimension, | ||
gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | ||
resqml2::DoubleTableLookup * | dblLookup, | ||
eml2::PropertyKind * | localPropType ) |
Creates a categorical property (which is of a local property kind) into this repository
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If rep , strLookup or localPropKind is null. |
[in] | rep | The representation on which this property is attached to. It cannot be null. |
guid | The guid to set to the property. If empty then a new guid will be generated. | |
title | The title to set to the property. If empty then "unknown" title will be set. | |
dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. | |
attachmentKind | The topological element on which the property values are attached to. | |
[in] | dblLookup | The double lookup which defines a discrete function associated with the property values. |
[in] | localPropType | The property kind of these property values which must be defined in the EPC document as a local property kind. It cannot be null. |
resqml2_0_1::CategoricalProperty * common::DataObjectRepository::createCategoricalProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | dimension, | ||
gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | ||
resqml2::DoubleTableLookup * | dblLookup, | ||
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | energisticsPropertyKind ) |
Creates a categorical property (which is of a standard Energistics property kind) into this repository
std::invalid_argument | If rep or strLookup is null. |
[in] | rep | The representation on which this property is attached to. It cannot be null. |
guid | The guid to set to the property. If empty then a new guid will be generated. | |
title | The title to set to the property. If empty then "unknown" title will be set. | |
dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. | |
attachmentKind | The topological element on which the property values are attached to. | |
[in] | dblLookup | The double lookup which defines a discrete function associated with the property values. |
energisticsPropertyKind | The property kind of these property values which must be defined in the standard Energistics property type dictionary. |
resqml2::CategoricalProperty * common::DataObjectRepository::createCategoricalProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | dimension, | ||
gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | ||
resqml2::StringTableLookup * | strLookup, | ||
eml2::PropertyKind * | localPropType ) |
Creates a categorical property (which is of a local property kind) into this repository
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If rep , strLookup or localPropKind is null. |
[in] | rep | The representation on which this property is attached to. It cannot be null. |
guid | The guid to set to the property. If empty then a new guid will be generated. | |
title | The title to set to the property. If empty then "unknown" title will be set. | |
dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. | |
attachmentKind | The topological element on which the property values are attached to. | |
[in] | strLookup | The string lookup which defines the possible string values and their keys. It cannot be null. |
[in] | localPropType | The property kind of these property values which must be defined in the EPC document as a local property kind. It cannot be null. |
resqml2_0_1::CategoricalProperty * common::DataObjectRepository::createCategoricalProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | dimension, | ||
gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | ||
resqml2::StringTableLookup * | strLookup, | ||
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | energisticsPropertyKind ) |
Creates a categorical property (which is of a standard Energistics property kind) into this repository
std::invalid_argument | If rep or strLookup is null. |
[in] | rep | The representation on which this property is attached to. It cannot be null. |
guid | The guid to set to the property. If empty then a new guid will be generated. | |
title | The title to set to the property. If empty then "unknown" title will be set. | |
dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. | |
attachmentKind | The topological element on which the property values are attached to. | |
[in] | strLookup | The string lookup which defines the possible string values and their keys. |
energisticsPropertyKind | The property kind of these property values which must be defined in the standard Energistics property type dictionary. |
witsml2_1::Channel * common::DataObjectRepository::createChannel | ( | eml2::PropertyKind * | propertyKind, |
const std::string & | guid, | ||
const std::string & | title, | ||
const std::string & | mnemonic, | ||
gsoap_eml2_3::eml23__UnitOfMeasure | uom, | ||
gsoap_eml2_3::witsml21__ChannelDataKind | dataKind, | ||
bool | isActive ) |
Creates a channel into this repository.
std::invalid_argument | If propertyKind == nullptr . |
[in] | propertyKind | The property kind associated to this channel. It cannot be null. |
guid | The guid to set to the channel. If empty then a new guid will be generated. | |
title | The title to set to the channel. If empty then "unknown" title will be set. | |
mnemonic | The mnemonic name to set to this channel. | |
uom | The underlying unit of measure of the value. | |
dataKind | The underlying data kind of the value. | |
isActive | True if is active, false if not. |
witsml2_1::ChannelSet * common::DataObjectRepository::createChannelSet | ( | const std::string & | guid, |
const std::string & | title, | ||
bool | isActive ) |
Creates a channel set into this repository
guid | The guid to set to the channel set. If empty then a new guid will be generated. |
title | The title to set to the channel set. If empty then "unknown" title will be set. |
isActive | True if is active, false if not. |
resqml2::CmpLineFeature * common::DataObjectRepository::createCmpLine | ( | const std::string & | guid, |
const std::string & | title, | ||
int | nearestShotPointIndicesIncrement, | ||
int | firstNearestShotPointIndex, | ||
unsigned int | nearestShotPointCount ) |
Creates a CMP line into this repository.
guid | The guid to set to the CMP line. If empty then a new guid will be generated. |
title | The title to set to the CMP line. If empty then "unknown" title will be set. |
nearestShotPointIndicesIncrement | The constant index increment between two consecutive shot points indices. |
firstNearestShotPointIndex | The index of the first shot point of the CMP line. |
nearestShotPointCount | Number of shot point. |
resqml2::CommentProperty * common::DataObjectRepository::createCommentProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | dimension, | ||
gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | ||
eml2::PropertyKind * | localPropType ) |
Creates a comment property (which is of a local property kind) into this repository
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If rep or localPropKind is null. |
[in] | rep | The representation on which this property is attached to. It cannot be null. |
guid | The guid to set to the property. If empty then a new guid will be generated. | |
title | The title to set to the property. If empty then "unknown" title will be set. | |
dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. | |
attachmentKind | The topological element on which the property values are attached to. | |
[in] | localPropType | The property kind of these property values which must be defined in the EPC document as a local property kind. It cannot be null. |
resqml2_0_1::CommentProperty * common::DataObjectRepository::createCommentProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | dimension, | ||
gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | ||
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | energisticsPropertyKind ) |
Creates a comment property (which is of a well known Energistics property kind) into this repository.
std::invalid_argument | If rep is null. |
[in] | rep | The representation on which this property is attached to. It cannot be null. |
guid | The guid to set to the property. If empty then a new guid will be generated. | |
title | The title to set to the property. If empty then "unknown" title will be set. | |
dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. | |
attachmentKind | The topological element on which the property values are attached to. | |
energisticsPropertyKind | The property kind of these property values which must be defined in the standard Energistics property type dictionary. |
resqml2::ContinuousColorMap * common::DataObjectRepository::createContinuousColorMap | ( | const std::string & | guid, |
const std::string & | title, | ||
gsoap_eml2_3::resqml22__InterpolationDomain | interpolationDomain, | ||
gsoap_eml2_3::resqml22__InterpolationMethod | interpolationMethod ) |
Creates a continuous color map into this repository
guid | The guid to set to the continuous color map. If empty then a new guid will be generated. |
title | The title to set to the continuous color map. If empty then "unknown" title will be set. |
interpolationDomain | The interpolation domain (the color space). |
interpolationMethod | The interpolation method. |
resqml2::ContinuousProperty * common::DataObjectRepository::createContinuousProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | dimension, | ||
gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | ||
const std::string & | nonStandardUom, | ||
eml2::PropertyKind * | localPropType ) |
Creates a continuous property (which is of local unit of measure and property kind) into this repository
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If rep or localPropType is null. |
[in] | rep | The representation on which this property is attached to. It cannot be null. |
guid | The guid to set to the property. If empty then a new guid will be generated. | |
title | The title to set to the property. If empty then "unknown" title will be set. | |
dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. | |
attachmentKind | The topological element on which the property values are attached to. | |
nonStandardUom | The property unit of measure. Please check COMMON_NS::EnumStringMapper::getEnergisticsUnitOfMeasure in order to minimize the use of non standard unit of measure. | |
[in] | localPropType | The property kind of these property values which must be defined in the EPC document as a local property kind. It cannot be null. |
resqml2::ContinuousProperty * common::DataObjectRepository::createContinuousProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | dimension, | ||
gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | ||
gsoap_resqml2_0_1::resqml20__ResqmlUom | uom, | ||
eml2::PropertyKind * | localPropType ) |
Creates a continuous property (which is of a well known unit of measure and a local property kind) into this repository
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If rep or localPropType is null. |
[in] | rep | The representation on which this property is attached to. It cannot be null. |
guid | The guid to set to the property. If empty then a new guid will be generated. | |
title | The title to set to the property. If empty then "unknown" title will be set. | |
dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. | |
attachmentKind | The topological element on which the property values are attached to. | |
uom | The property unit of measure taken from the standard Energistics units of measure catalog. Please check COMMON_NS::EnumStringMapper::getEnergisticsUnitOfMeasure in order to minimize the use of non standard unit of measure. | |
[in] | localPropType | The property kind of these property values which must be defined in the EPC document as a local property kind. It cannot be null. |
resqml2_0_1::ContinuousProperty * common::DataObjectRepository::createContinuousProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | dimension, | ||
gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | ||
gsoap_resqml2_0_1::resqml20__ResqmlUom | uom, | ||
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | energisticsPropertyKind ) |
Creates a continuous property (which is of well known Energistics unit of measure and property kind) into this repository
std::invalid_argument | If rep is null. |
[in] | rep | The representation on which this property is attached to. It cannot be null. |
guid | The guid to set to the property. If empty then a new guid will be generated. | |
title | The title to set to the property. If empty then "unknown" title will be set. | |
dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. | |
attachmentKind | The topological element on which the property values are attached to. | |
uom | The property unit of measure taken from the standard Energistics units of measure catalog. Please check COMMON_NS::EnumStringMapper::getEnergisticsUnitOfMeasure in order to minimize the use of non standard unit of measure. | |
energisticsPropertyKind | The property kind of these property values which must be defined in the standard Energistics property type dictionary. |
resqml2_0_1::ContinuousProperty * common::DataObjectRepository::createContinuousProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | dimension, | ||
gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | ||
std::string | nonStandardUom, | ||
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | energisticsPropertyKind ) |
Creates a continuous property (which is of a local unit of measure and a well known property kind) into this repository
std::invalid_argument | If rep is null. |
[in] | rep | The representation on which this property is attached to. It cannot be null. |
guid | The guid to set to the property. If empty then a new guid will be generated. | |
title | The title to set to the property. If empty then "unknown" title will be set. | |
dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. | |
attachmentKind | The topological element on which the property values are attached to. | |
nonStandardUom | The property unit of measure. Please check COMMON_NS::EnumStringMapper::getEnergisticsUnitOfMeasure in order to minimize the use of non standard unit of measure. | |
energisticsPropertyKind | The property kind of these property values which must be defined in the standard Energistics property type dictionary. |
resqml2::CulturalFeature * common::DataObjectRepository::createCultural | ( | const std::string & | guid, |
const std::string & | title, | ||
gsoap_eml2_3::resqml22__CulturalFeatureKind | kind = gsoap_eml2_3::resqml22__CulturalFeatureKind::project_x0020boundaries ) |
Creates a cultural into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the cultural. If empty then a new guid will be generated. |
title | The title to set to the cultural. If empty then "unknown" title will be set. |
kind | (Optional) The kind to set to the cultural. It is defaulted to gsoap_eml2_3::resqml22__CulturalFeatureKind::project_x0020boundaries for easing 2.0.1 compatibility. |
resqml2_0_1::DeviationSurveyRepresentation * common::DataObjectRepository::createDeviationSurveyRepresentation | ( | resqml2::WellboreInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
bool | isFinal, | ||
resqml2::MdDatum * | mdInfo ) |
Creates a deviation survey representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr or mdInfo == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the deviation survey representation. If empty then a new guid will be generated. | |
title | The title to set to the deviation survey representation. If empty then "unknown" title will be set. | |
isFinal | Used to indicate that this is a final version of the deviation survey (true), as distinct from the interim interpretations (false). | |
[in] | mdInfo | The MD datum that refers this deviation survey representation. It cannot be null. |
resqml2::DiscreteColorMap * common::DataObjectRepository::createDiscreteColorMap | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a discrete color map into this repository
guid | The guid to set to the discrete color map. If empty then a new guid will be generated. |
title | The title to set to the discrete color map. If empty then "unknown" title will be set. |
resqml2::DiscreteProperty * common::DataObjectRepository::createDiscreteProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | dimension, | ||
gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | ||
eml2::PropertyKind * | localPropType ) |
Creates a discrete property (which is of a local property kind) into this repository
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If or localPropKind is null. |
[in] | rep | The representation on which this property is attached to. It cannot be null. |
guid | The guid to set to the property. If empty then a new guid will be generated. | |
title | The title to set to the property. If empty then "unknown" title will be set. | |
dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. | |
attachmentKind | The topological element on which the property values are attached to. | |
[in] | localPropType | The property kind of these property values which must be defined in the EPC document as a local property kind. It cannot be null. |
resqml2_0_1::DiscreteProperty * common::DataObjectRepository::createDiscreteProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | dimension, | ||
gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | ||
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | energisticsPropertyKind ) |
Creates a discrete property (which is of a well known Energistics property kind) into this repository
std::invalid_argument | If rep is null. |
[in] | rep | The representation on which this property is attached to. It cannot be null. |
guid | The guid to set to the property. If empty then a new guid will be generated. | |
title | The title to set to the property. If empty then "unknown" title will be set. | |
dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. | |
attachmentKind | The topological element on which the property values are attached to. | |
energisticsPropertyKind | The property kind of these property values which must be defined in the standard Energistics property type dictionary. |
resqml2::DoubleTableLookup * common::DataObjectRepository::createDoubleTableLookup | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a double table lookup into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the double table lookup. If empty then a new guid will be generated. |
title | The title to set to the double table lookup. If empty then "unknown" title will be set. |
resqml2::Model * common::DataObjectRepository::createEarthModel | ( | const std::string & | guid, |
const std::string & | title ) |
createModel()
method for RESQML post v2.0.1 Creates an earth model into this repositorystd::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the earth model. If empty then a new guid will be generated. |
title | The title to set to the earth model. If empty then "unknown" title will be set. |
resqml2::EarthModelInterpretation * common::DataObjectRepository::createEarthModelInterpretation | ( | resqml2::Model * | orgFeat, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates an earth model interpretation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If orgFeat == nullptr . |
[in] | orgFeat | The interpreted organization. It cannot be null. |
guid | The guid to set to the earth model interpretation. If empty then a new guid will be generated. | |
title | The title to set to the earth model interpretation. If empty then "unknown" title will be set. |
resqml2::BoundaryFeature * common::DataObjectRepository::createFault | ( | const std::string & | guid, |
const std::string & | title ) |
createBoundaryFeature()
method for RESQML post v2.0.1 Creates a fault into this repositorystd::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the fault. If empty then a new guid will be generated. |
title | The title to set to the fault. If empty then "unknown" title will be set. |
resqml2::FaultInterpretation * common::DataObjectRepository::createFaultInterpretation | ( | resqml2::BoundaryFeature * | fault, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a fault interpretation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If fault == nullptr . |
[in] | fault | The interpreted fault. It cannot be null. |
guid | The guid to set to the fault interpretation. If empty then a new guid will be generated. | |
title | The title to set to the fault interpretation. If empty then "unknown" title will be set. |
resqml2_0_1::FluidBoundaryFeature * common::DataObjectRepository::createFluidBoundaryFeature | ( | const std::string & | guid, |
const std::string & | title, | ||
gsoap_resqml2_0_1::resqml20__FluidContact | fluidContact ) |
Creates a fluid boundary feature into this repository
guid | The guid to set to the fluid boundary feature. If empty then a new guid will be generated. |
title | The title to set to the fluid boundary feature. If empty then "unknown" title will be set. |
fluidContact | The fluid contact. |
resqml2::FluidBoundaryInterpretation * common::DataObjectRepository::createFluidBoundaryInterpretation | ( | resqml2::BoundaryFeature * | boundary, |
const std::string & | guid, | ||
const std::string & | title, | ||
gsoap_eml2_3::resqml22__FluidContact | fluidContact ) |
Creates a fluid Boundary interpretation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If fault == nullptr . |
[in] | boundary | The interpreted boundary. It cannot be null. |
guid | The guid to set to the interpretation. If empty then a new guid will be generated. | |
title | The title to set to the interpretation. If empty then "unknown" title will be set. | |
fluidContact | The fluid contact this boundary is. |
prodml2_2::FluidCharacterization * common::DataObjectRepository::createFluidCharacterization | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a fluid characterization into this repository
guid | The guid to set to the fluid characterization. If empty then a new guid will be generated. |
title | The title to set to the fluid characterization. If empty then "unknown" title will be set. |
prodml2_2::FluidSystem * common::DataObjectRepository::createFluidSystem | ( | const std::string & | guid, |
const std::string & | title, | ||
double | temperatureValue, | ||
gsoap_eml2_3::eml23__ThermodynamicTemperatureUom | temperatureUom, | ||
double | pressureValue, | ||
gsoap_eml2_3::eml23__PressureUom | pressureUom, | ||
gsoap_eml2_3::prodml22__ReservoirFluidKind | reservoirFluidKind, | ||
double | gasOilRatio, | ||
gsoap_eml2_3::eml23__VolumePerVolumeUom | gasOilRatioUom ) |
Creates a fluid system into this repository
guid | The guid to set to the fluid system. If empty then a new guid will be generated. |
title | The title to set to the fluid system. If empty then "unknown" title will be set. |
temperatureValue | The temperature value. |
temperatureUom | The temperature unit of measure. |
pressureValue | The pressure value. |
pressureUom | The pressure unit of measure. |
reservoirFluidKind | The kind of the reservoir fluid. |
gasOilRatio | The gas oil ratio. |
gasOilRatioUom | The gas oil ratio unit of measure. |
prodml2_2::FluidSystem * common::DataObjectRepository::createFluidSystem | ( | const std::string & | guid, |
const std::string & | title, | ||
gsoap_eml2_3::eml23__ReferenceCondition | referenceCondition, | ||
gsoap_eml2_3::prodml22__ReservoirFluidKind | reservoirFluidKind, | ||
double | gasOilRatio, | ||
gsoap_eml2_3::eml23__VolumePerVolumeUom | gasOilRatioUom ) |
Creates a fluid system into this repository
guid | The guid to set to the fluid system. If empty then a new guid will be generated. |
title | The title to set to the fluid system. If empty then "unknown" title will be set. |
referenceCondition | A wellknown couple of temperature-pressure. |
reservoirFluidKind | The kind of the reservoir fluid. |
gasOilRatio | The gas oil ratio. |
gasOilRatioUom | The gas oil ratio unit of measure. |
resqml2::BoundaryFeature * common::DataObjectRepository::createFracture | ( | const std::string & | guid, |
const std::string & | title ) |
createBoundaryFeature()
method for RESQML post v2.0.1 Creates a fracture into this repositorystd::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the fracture. If empty then a new guid will be generated. |
title | The title to set to the fracture. If empty then "unknown" title will be set. |
resqml2::GenericFeatureInterpretation * common::DataObjectRepository::createGenericFeatureInterpretation | ( | resqml2::AbstractFeature * | feature, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a generic feature interpretation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If feature == nullptr . |
[in] | feature | The interpreted feature. It cannot be null. |
guid | The guid to set to the generic feature interpretation. If empty then a new guid will be generated. | |
title | The title to set to the generic feature interpretation. If empty then "unknown" title will be set. |
resqml2::BoundaryFeature * common::DataObjectRepository::createGeobodyBoundaryFeature | ( | const std::string & | guid, |
const std::string & | title ) |
createBoundaryFeature()
method for RESQML post v2.0.1 Creates a geobody boundary feature into this repositorystd::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the geobody boundary feature. If empty then a new guid will be generated. |
title | The title to set to the geobody boundary feature. If empty then "unknown" title will be set. |
resqml2::GeobodyBoundaryInterpretation * common::DataObjectRepository::createGeobodyBoundaryInterpretation | ( | resqml2::BoundaryFeature * | geobodyBoundary, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a geobody boundary interpretation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If geobodyBoundary == nullptr . |
[in] | geobodyBoundary | The interpreted geobody boundary. It cannot be null. |
guid | The guid to set to the geobody boundary interpretation. If empty then a new guid will be generated. | |
title | The title to set to the geobody boundary interpretation. If empty then "unknown" title will be set. |
resqml2::RockVolumeFeature * common::DataObjectRepository::createGeobodyFeature | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a geobody feature into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the geobody feature. If empty then a new guid will be generated. |
title | The title to set to the geobody feature. If empty then "unknown" title will be set. |
resqml2::GeobodyInterpretation * common::DataObjectRepository::createGeobodyInterpretation | ( | resqml2::RockVolumeFeature * | geobody, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a geobody interpretation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If geobody == nullptr or if in a RESQML v2.0 context, geobody is not an actual geobody feature. |
[in] | geobody | The interpreted geobody. It cannot be null. |
guid | The guid to set to the geobody interpretation. If empty then a new guid will be generated. | |
title | The title to set to the geobody interpretation. If empty then "unknown" title will be set. |
eml2::GraphicalInformationSet * common::DataObjectRepository::createGraphicalInformationSet | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a graphical information set into this repository
guid | The guid to set to the graphical information set. If empty then a new guid will be generated. |
title | The title to set to the graphical information set. If empty then "unknown" title will be set. |
resqml2::Grid2dRepresentation * common::DataObjectRepository::createGrid2dRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a 2d grid representation into this repository
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the 2d grid representation. If empty then a new guid will be generated. | |
title | The title to set to the 2d grid representation. If empty then "unknown" title will be set. |
resqml2::GridConnectionSetRepresentation * common::DataObjectRepository::createGridConnectionSetRepresentation | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a grid connection set representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the grid connection set representation. If empty then a new guid will be generated. |
title | The title to set to the grid connection set representation. If empty then "unknown" title will be set. |
resqml2::GridConnectionSetRepresentation * common::DataObjectRepository::createGridConnectionSetRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a grid connection set representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. You can alternatively use createGridConnectionSetRepresentation if no interpretation is associated to this representation. |
guid | The guid to set to the grid connection set representation. If empty then a new guid will be generated. | |
title | The title to set to the grid connection set representation. If empty then "unknown" title will be set. |
eml2::AbstractHdfProxy * common::DataObjectRepository::createHdfProxy | ( | const std::string & | guid, |
const std::string & | title, | ||
const std::string & | packageDirAbsolutePath, | ||
const std::string & | filePath, | ||
DataObjectRepository::openingMode | hdfPermissionAccess ) |
Creates a non parallel access to an HDF5 file for writing to it. Resulting HDF5 file proxy is stored into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the HDF5 file proxy. If empty then a new guid will be generated. |
title | The title to set to the HDF5 file proxy. If empty then "unknown" title will be set. |
packageDirAbsolutePath | Path of the directory where the HDF5 file must be created. |
filePath | Path of the HDF5 file relative to packageDirAbsolutePath. |
hdfPermissionAccess | The HDF5 file permission access. It is read only by default. |
resqml2::BoundaryFeature * common::DataObjectRepository::createHorizon | ( | const std::string & | guid, |
const std::string & | title ) |
createBoundaryFeature()
method for RESQML post v2.0.1 Creates a horizon into this repositorystd::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the horizon. If empty then a new guid will be generated. |
title | The title to set to the horizon. If empty then "unknown" title will be set. |
resqml2::HorizonInterpretation * common::DataObjectRepository::createHorizonInterpretation | ( | resqml2::BoundaryFeature * | horizon, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a horizon interpretation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If horizon == nullptr . |
[in] | horizon | The interpreted horizon. It cannot be null. |
guid | The guid to set to the horizon interpretation. If empty then a new guid will be generated. | |
title | The title to set to the horizon interpretation. If empty then "unknown" title will be set. |
resqml2::IjkGridExplicitRepresentation * common::DataObjectRepository::createIjkGridExplicitRepresentation | ( | const std::string & | guid, |
const std::string & | title, | ||
unsigned int | iCount, | ||
unsigned int | jCount, | ||
unsigned int | kCount, | ||
bool * | kGaps = nullptr, | ||
eml2::AbstractHdfProxy * | proxy = nullptr ) |
Creates an ijk grid explicit representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the ijk grid explicit representation. If empty then a new guid will be generated. | |
title | The title to set to the ijk grid explicit representation. If empty then "unknown" title will be set. | |
iCount | Count of cells in the I direction in the grid. | |
jCount | Count of cells in the J direction in the grid. | |
kCount | Number of layers in the grid. | |
kGaps | (Optional) Boolean array of length KCellCount-1. TRUE if there is a gap after the corresponding layer. Won't be freed by FESAPI. | |
[in] | proxy | (Optional) The HDF proxy for writing the enabledCells values. If nullptr (default), then the default HDF proxy will be used. |
resqml2::IjkGridExplicitRepresentation * common::DataObjectRepository::createIjkGridExplicitRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | iCount, | ||
unsigned int | jCount, | ||
unsigned int | kCount, | ||
bool * | kGaps = nullptr, | ||
eml2::AbstractHdfProxy * | proxy = nullptr ) |
Creates an ijk grid explicit representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the ijk grid explicit representation. If empty then a new guid will be generated. | |
title | The title to set to the ijk grid explicit representation. If empty then "unknown" title will be set. | |
iCount | Count of cells in the I direction in the grid. | |
jCount | Count of cells in the J direction in the grid. | |
kCount | Number of layers in the grid. | |
kGaps | (Optional) Boolean array of length KCellCount-1. TRUE if there is a gap after the corresponding layer. Won't be freed by FESAPI. | |
[in] | proxy | (Optional) The HDF proxy for writing the enabledCells values. If nullptr (default), then the default HDF proxy will be used. |
resqml2::IjkGridLatticeRepresentation * common::DataObjectRepository::createIjkGridLatticeRepresentation | ( | const std::string & | guid, |
const std::string & | title, | ||
unsigned int | iCount, | ||
unsigned int | jCount, | ||
unsigned int | kCount ) |
Creates an ijk grid lattice representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the ijk grid lattice representation. If empty then a new guid will be generated. |
title | The title to set to the ijk grid lattice representation. If empty then "unknown" title will be set. |
iCount | Count of cells in the I direction in the grid. |
jCount | Count of cells in the J direction in the grid. |
kCount | Number of layers in the grid. |
resqml2::IjkGridLatticeRepresentation * common::DataObjectRepository::createIjkGridLatticeRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | iCount, | ||
unsigned int | jCount, | ||
unsigned int | kCount ) |
Creates an ijk grid lattice representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the ijk grid lattice representation. If empty then a new guid will be generated. | |
title | The title to set to the ijk grid lattice representation. If empty then "unknown" title will be set. | |
iCount | Count of cells in the I direction in the grid. | |
jCount | Count of cells in the J direction in the grid. | |
kCount | Number of layers in the grid. |
resqml2::IjkGridNoGeometryRepresentation * common::DataObjectRepository::createIjkGridNoGeometryRepresentation | ( | const std::string & | guid, |
const std::string & | title, | ||
unsigned int | iCount, | ||
unsigned int | jCount, | ||
unsigned int | kCount, | ||
bool * | kGaps = nullptr, | ||
eml2::AbstractHdfProxy * | proxy = nullptr ) |
Creates an ijk grid with no geometry representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the ijk grid with no geometry representation. If empty then a new guid will be generated. | |
title | The title to set to the ijk grid with no geometry representation. If empty then "unknown" title will be set. | |
iCount | Count of cells in the I direction in the grid. | |
jCount | Count of cells in the J direction in the grid. | |
kCount | Number of layers in the grid. | |
kGaps | (Optional) Boolean array of length KCellCount-1. TRUE if there is a gap after the corresponding layer. Won't be freed by FESAPI. | |
[in] | proxy | (Optional) The HDF proxy for writing the enabledCells values. If nullptr (default), then the default HDF proxy will be used. |
resqml2::IjkGridNoGeometryRepresentation * common::DataObjectRepository::createIjkGridNoGeometryRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | iCount, | ||
unsigned int | jCount, | ||
unsigned int | kCount, | ||
bool * | kGaps = nullptr, | ||
eml2::AbstractHdfProxy * | proxy = nullptr ) |
Creates an ijk grid with no geometry representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the ijk grid with no geometry representation. If empty then a new guid will be generated. | |
title | The title to set to the ijk grid with no geometry representation. If empty then "unknown" title will be set. | |
iCount | Count of cells in the I direction in the grid. | |
jCount | Count of cells in the J direction in the grid. | |
kCount | Number of layers in the grid. | |
kGaps | (Optional) Boolean array of length KCellCount-1. TRUE if there is a gap after the corresponding layer. Won't be freed by FESAPI. | |
[in] | proxy | (Optional) The HDF proxy for writing the enabledCells values. If nullptr (default), then the default HDF proxy will be used. |
resqml2::IjkGridParametricRepresentation * common::DataObjectRepository::createIjkGridParametricRepresentation | ( | const std::string & | guid, |
const std::string & | title, | ||
unsigned int | iCount, | ||
unsigned int | jCount, | ||
unsigned int | kCount, | ||
bool * | kGaps = nullptr, | ||
eml2::AbstractHdfProxy * | proxy = nullptr ) |
Creates an ijk grid parametric representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the ijk grid parametric representation. If empty then a new guid will be generated. | |
title | The title to set to the ijk grid parametric representation. If empty then "unknown" title will be set. | |
iCount | Count of cells in the I direction in the grid. | |
jCount | Count of cells in the J direction in the grid. | |
kCount | Number of layers in the grid. | |
kGaps | (Optional) Boolean array of length KCellCount-1. TRUE if there is a gap after the corresponding layer. Won't be freed by FESAPI. | |
[in] | proxy | (Optional) The HDF proxy for writing the enabledCells values. If nullptr (default), then the default HDF proxy will be used. |
resqml2::IjkGridParametricRepresentation * common::DataObjectRepository::createIjkGridParametricRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | iCount, | ||
unsigned int | jCount, | ||
unsigned int | kCount, | ||
bool * | kGaps = nullptr, | ||
eml2::AbstractHdfProxy * | proxy = nullptr ) |
Creates an ijk grid parametric representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the ijk grid parametric representation. If empty then a new guid will be generated. | |
title | The title to set to the ijk grid parametric representation. If empty then "unknown" title will be set. | |
iCount | Count of cells in the I direction in the grid. | |
jCount | Count of cells in the J direction in the grid. | |
kCount | Number of layers in the grid. | |
kGaps | (Optional) Boolean array of length KCellCount-1. TRUE if there is a gap after the corresponding layer. Won't be freed by FESAPI. | |
[in] | proxy | (Optional) The HDF proxy for writing the enabledCells values. If nullptr (default), then the default HDF proxy will be used. |
eml2::AbstractLocal3dCrs * common::DataObjectRepository::createLocalDepth3dCrs | ( | const std::string & | guid, |
const std::string & | title, | ||
double | originOrdinal1, | ||
double | originOrdinal2, | ||
double | originOrdinal3, | ||
double | arealRotation, | ||
gsoap_resqml2_0_1::eml20__LengthUom | projectedUom, | ||
const std::string & | projectedUnknownReason, | ||
gsoap_resqml2_0_1::eml20__LengthUom | verticalUom, | ||
const std::string & | verticalUnknownReason, | ||
bool | isUpOriented ) |
Creates a local depth 3d CRS which is fully unknown. Resulting local depth 3d CRS is stored into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the local 3d CRS. If empty then a new guid will be generated. |
title | The title to set to the local 3d CRS. If empty then "unknown" title will be set. |
originOrdinal1 | The offset of the global 2d CRS on its first axis. |
originOrdinal2 | The offset of the global 2d CRS on its second axis. |
originOrdinal3 | The offset in depth of the local CRS regarding the depth origin of the vertical CRS. |
arealRotation | The areal rotation in radians regarding the projected CRS. |
projectedUom | The unit of measure of the projected axis of this instance. |
projectedUnknownReason | Indicates why the projected CRS cannot be provided using EPSG or GML. |
verticalUom | The unit of measure of the vertical axis of this instance. |
verticalUnknownReason | Indicates why the vertical CRS cannot be provided using EPSG or GML. |
isUpOriented | If true, indicates that this depth CRS is actually an elevation CRS. |
eml2::AbstractLocal3dCrs * common::DataObjectRepository::createLocalDepth3dCrs | ( | const std::string & | guid, |
const std::string & | title, | ||
double | originOrdinal1, | ||
double | originOrdinal2, | ||
double | originOrdinal3, | ||
double | arealRotation, | ||
gsoap_resqml2_0_1::eml20__LengthUom | projectedUom, | ||
const std::string & | projectedUnknownReason, | ||
gsoap_resqml2_0_1::eml20__LengthUom | verticalUom, | ||
unsigned int | verticalEpsgCode, | ||
bool | isUpOriented ) |
Creates a local depth 3d CRS which is unknown for its projected part and which is identified by an EPSG code for its vertical part. Resulting local depth 3d CRS is stored into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If verticalEpsgCode == 0 . |
guid | The guid to set to the local 3d CRS. If empty then a new guid will be generated. |
title | The title to set to the local 3d CRS. If empty then "unknown" title will be set. |
originOrdinal1 | The offset of the global 2d CRS on its first axis. |
originOrdinal2 | The offset of the global 2d CRS on its second axis. |
originOrdinal3 | The offset in depth of the local CRS regarding the depth origin of the vertical CRS. |
arealRotation | The areal rotation in radians regarding the projected CRS. |
projectedUom | The unit of measure of the projected axis of this instance. |
projectedUnknownReason | Indicates why the projected CRS cannot be provided using EPSG or GML. |
verticalUom | The unit of measure of the vertical axis of this instance. |
verticalEpsgCode | The EPSG code of the associated vertical CRS. |
isUpOriented | If true, indicates that this depth CRS is actually an elevation CRS. |
eml2::AbstractLocal3dCrs * common::DataObjectRepository::createLocalDepth3dCrs | ( | const std::string & | guid, |
const std::string & | title, | ||
double | originOrdinal1, | ||
double | originOrdinal2, | ||
double | originOrdinal3, | ||
double | arealRotation, | ||
gsoap_resqml2_0_1::eml20__LengthUom | projectedUom, | ||
uint64_t | projectedEpsgCode, | ||
gsoap_resqml2_0_1::eml20__LengthUom | verticalUom, | ||
const std::string & | verticalUnknownReason, | ||
bool | isUpOriented ) |
Creates a local depth 3d CRS which is identified by an EPSG code for its projected part and which is unknown for its vertical part. Resulting local depth 3d CRS is stored into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If projectedEpsgCode == 0 . |
guid | The guid to set to the local 3d CRS. If empty then a new guid will be generated. |
title | The title to set to the local 3d CRS. If empty then "unknown" title will be set. |
originOrdinal1 | The offset of the global 2d CRS on its first axis. |
originOrdinal2 | The offset of the global 2d CRS on its second axis. |
originOrdinal3 | The offset in depth of the local CRS regarding the depth origin of the vertical CRS. |
arealRotation | The areal rotation in radians regarding the projected CRS. |
projectedUom | The unit of measure of the projected axis of this instance. |
projectedEpsgCode | The EPSG code of the associated projected CRS. |
verticalUom | The unit of measure of the vertical axis of this instance. |
verticalUnknownReason | Indicates why the vertical CRS cannot be provided using EPSG or GML. |
isUpOriented | If true, indicates that this depth CRS is actually an elevation CRS. |
eml2::AbstractLocal3dCrs * common::DataObjectRepository::createLocalDepth3dCrs | ( | const std::string & | guid, |
const std::string & | title, | ||
double | originOrdinal1, | ||
double | originOrdinal2, | ||
double | originOrdinal3, | ||
double | arealRotation, | ||
gsoap_resqml2_0_1::eml20__LengthUom | projectedUom, | ||
uint64_t | projectedEpsgCode, | ||
gsoap_resqml2_0_1::eml20__LengthUom | verticalUom, | ||
unsigned int | verticalEpsgCode, | ||
bool | isUpOriented ) |
Creates a local depth 3d CRS which is fully identified by means of an EPSG code. Resulting local depth 3d CRS is stored into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If projectedEpsgCode == 0 || verticalEpsgCode == 0 . |
guid | The guid to set to the local 3d CRS. If empty then a new guid will be generated. |
title | The title to set to the local 3d CRS. If empty then "unknown" title will be set. |
originOrdinal1 | The offset of the global 2d CRS on its first axis. |
originOrdinal2 | The offset of the global 2d CRS on its second axis. |
originOrdinal3 | The offset in depth of the local CRS regarding the depth origin of the vertical CRS. |
arealRotation | The areal rotation in radians regarding the projected CRS. |
projectedUom | The unit of measure of the projected axis of this instance. |
projectedEpsgCode | The EPSG code of the associated projected CRS. |
verticalUom | The unit of measure of the vertical axis of this instance. |
verticalEpsgCode | The EPSG code of the associated vertical CRS. |
isUpOriented | If true, indicates that this depth CRS is actually an elevation CRS. |
eml2::AbstractLocal3dCrs * common::DataObjectRepository::createLocalTime3dCrs | ( | const std::string & | guid, |
const std::string & | title, | ||
double | originOrdinal1, | ||
double | originOrdinal2, | ||
double | originOrdinal3, | ||
double | arealRotation, | ||
gsoap_resqml2_0_1::eml20__LengthUom | projectedUom, | ||
const std::string & | projectedUnknownReason, | ||
gsoap_resqml2_0_1::eml20__TimeUom | timeUom, | ||
gsoap_resqml2_0_1::eml20__LengthUom | verticalUom, | ||
const std::string & | verticalUnknownReason, | ||
bool | isUpOriented ) |
Creates a local time 3d CRS which is fully unknown. Resulting local time 3d CRS is stored into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the local 3d CRS. If empty then a new guid will be generated. |
title | The title to set to the local 3d CRS. If empty then "unknown" title will be set. |
originOrdinal1 | The offset of the global 2d CRS on its first axis. |
originOrdinal2 | The offset of the global 2d CRS on its second axis. |
originOrdinal3 | The offset in depth of the local CRS regarding the depth origin of the vertical CRS. |
arealRotation | The areal rotation in radians regarding the projected CRS. |
projectedUom | The unit of measure of the projected axis of this instance. |
projectedUnknownReason | Indicates why the projected CRS cannot be provided using EPSG or GML. |
timeUom | The unit of measure of the Z offset of this instance. |
verticalUom | The unit of measure of the vertical axis of this instance. |
verticalUnknownReason | Indicates why the vertical CRS cannot be provided using EPSG or GML. |
isUpOriented | If true, indicates that the Z offset if an elevation when positive. If false, the Z offset if a depth when positive. |
eml2::AbstractLocal3dCrs * common::DataObjectRepository::createLocalTime3dCrs | ( | const std::string & | guid, |
const std::string & | title, | ||
double | originOrdinal1, | ||
double | originOrdinal2, | ||
double | originOrdinal3, | ||
double | arealRotation, | ||
gsoap_resqml2_0_1::eml20__LengthUom | projectedUom, | ||
const std::string & | projectedUnknownReason, | ||
gsoap_resqml2_0_1::eml20__TimeUom | timeUom, | ||
gsoap_resqml2_0_1::eml20__LengthUom | verticalUom, | ||
unsigned int | verticalEpsgCode, | ||
bool | isUpOriented ) |
Creates a local time 3d CRS which unknown for its projected part and which is identified by an EPSG code for its vertical part. Resulting local time 3d CRS is stored into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If verticalEpsgCode == 0 . |
guid | The guid to set to the local 3d CRS. If empty then a new guid will be generated. |
title | The title to set to the local 3d CRS. If empty then "unknown" title will be set. |
originOrdinal1 | The offset of the global 2d CRS on its first axis. |
originOrdinal2 | The offset of the global 2d CRS on its second axis. |
originOrdinal3 | The offset in depth of the local CRS regarding the depth origin of the vertical CRS. |
arealRotation | The areal rotation in radians regarding the projected CRS. |
projectedUom | The unit of measure of the projected axis of this instance. |
projectedUnknownReason | Indicates why the projected CRS cannot be provided using EPSG or GML. |
timeUom | The unit of measure of the Z offset of this instance. |
verticalUom | The unit of measure of the vertical axis of this instance. |
verticalEpsgCode | The EPSG code of the associated vertical CRS. |
isUpOriented | If true, indicates that the Z offset if an elevation when positive. If false, the Z offset if a depth when positive. |
eml2::AbstractLocal3dCrs * common::DataObjectRepository::createLocalTime3dCrs | ( | const std::string & | guid, |
const std::string & | title, | ||
double | originOrdinal1, | ||
double | originOrdinal2, | ||
double | originOrdinal3, | ||
double | arealRotation, | ||
gsoap_resqml2_0_1::eml20__LengthUom | projectedUom, | ||
uint64_t | projectedEpsgCode, | ||
gsoap_resqml2_0_1::eml20__TimeUom | timeUom, | ||
gsoap_resqml2_0_1::eml20__LengthUom | verticalUom, | ||
const std::string & | verticalUnknownReason, | ||
bool | isUpOriented ) |
Creates a local time 3d CRS which is identified by an EPSG code for its projected part and which is unknown for its vertical part. Resulting local time 3d CRS is stored into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If projectedEpsgCode == 0 . |
guid | The guid to set to the local 3d CRS. If empty then a new guid will be generated. |
title | The title to set to the local 3d CRS. If empty then "unknown" title will be set. |
originOrdinal1 | The offset of the global 2d CRS on its first axis. |
originOrdinal2 | The offset of the global 2d CRS on its second axis. |
originOrdinal3 | The offset in depth of the local CRS regarding the depth origin of the vertical CRS. |
arealRotation | The areal rotation in radians regarding the projected CRS. |
projectedUom | The unit of measure of the projected axis of this instance. |
projectedEpsgCode | The EPSG code of the associated projected CRS. |
timeUom | The unit of measure of the Z offset of this instance. |
verticalUom | The unit of measure of the vertical axis of this instance. |
verticalUnknownReason | Indicates why the vertical CRS cannot be provided using EPSG or GML. |
isUpOriented | If true, indicates that the Z offset if an elevation when positive. If false, the Z offset if a depth when positive. |
eml2::AbstractLocal3dCrs * common::DataObjectRepository::createLocalTime3dCrs | ( | const std::string & | guid, |
const std::string & | title, | ||
double | originOrdinal1, | ||
double | originOrdinal2, | ||
double | originOrdinal3, | ||
double | arealRotation, | ||
gsoap_resqml2_0_1::eml20__LengthUom | projectedUom, | ||
uint64_t | projectedEpsgCode, | ||
gsoap_resqml2_0_1::eml20__TimeUom | timeUom, | ||
gsoap_resqml2_0_1::eml20__LengthUom | verticalUom, | ||
unsigned int | verticalEpsgCode, | ||
bool | isUpOriented ) |
Creates a local time 3d CRS which is fully identified by means of EPSG code. Resulting local time 3d CRS is stored into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If projectedEpsgCode == 0 || verticalEpsgCode == 0 . |
guid | The guid to set to the local 3d CRS. If empty then a new guid will be generated. |
title | The title to set to the local 3d CRS. If empty then "unknown" title will be set. |
originOrdinal1 | The offset of the global 2d CRS on its first axis. |
originOrdinal2 | The offset of the global 2d CRS on its second axis. |
originOrdinal3 | The offset in depth of the local CRS regarding the depth origin of the vertical CRS. |
arealRotation | The areal rotation in radians regarding the projected CRS. |
projectedUom | The unit of measure of the projected axis of this instance. |
projectedEpsgCode | The EPSG code of the associated projected CRS. |
timeUom | The unit of measure of the Z offset of this instance. |
verticalUom | The unit of measure of the vertical axis of this instance. |
verticalEpsgCode | The EPSG code of the associated vertical CRS. |
isUpOriented | If true, indicates that the Z offset if an elevation when positive. If false, the Z offset if a depth when positive. |
witsml2_1::Log * common::DataObjectRepository::createLog | ( | WITSML2_NS::Wellbore * | witsmlWellbore, |
const std::string & | guid, | ||
const std::string & | title, | ||
bool | isActive ) |
Creates a wellbore log into this repository.
std::invalid_argument | If witsmlWellbore == nullptr . |
[in] | witsmlWellbore | The wellbore associated to this log. It cannot be null. |
guid | The guid to set to the log. If empty then a new guid will be generated. | |
title | The title to set to the log. If empty then "unknown" title will be set. | |
isActive | True if is active, false if not. |
resqml2::MdDatum * common::DataObjectRepository::createMdDatum | ( | const std::string & | guid, |
const std::string & | title, | ||
eml2::AbstractLocal3dCrs * | locCrs, | ||
gsoap_eml2_3::eml23__ReferencePointKind | originKind, | ||
double | referenceLocationOrdinal1, | ||
double | referenceLocationOrdinal2, | ||
double | referenceLocationOrdinal3 ) |
Creates a measured depth (MD) datum into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the MD datum. If empty then a new guid will be generated. | |
title | The title to set to the MD datum. If empty then "unknown" title will be set. | |
[in] | locCrs | The local 3d CRS associated to this datum if non-null, else the default local 3d CRS. |
originKind | The reference location of the MD datum. | |
referenceLocationOrdinal1 | The first reference location ordinal relative to the local 3d CRS. | |
referenceLocationOrdinal2 | The second reference location ordinal relative to the local 3d CRS. | |
referenceLocationOrdinal3 | The third reference location ordinal relative to the local 3d CRS. |
resqml2::Model * common::DataObjectRepository::createModel | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a model into this repository.
guid | The guid to set to the model. If empty then a new guid will be generated. |
title | The title to set to the model. If empty then "unknown" title will be set. |
resqml2::NonSealedSurfaceFrameworkRepresentation * common::DataObjectRepository::createNonSealedSurfaceFrameworkRepresentation | ( | resqml2::StructuralOrganizationInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a non sealed surface framework representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the non sealed surface framework representation. If empty then a new guid will be generated. | |
title | The title to set to the non sealed surface framework representation. If empty then "unknown" title will be set. |
common::AbstractObject * common::DataObjectRepository::createPartial | ( | const DataObjectReference & | dor | ) |
Creates a partial object in this repository based on a data object reference.
std::invalid_argument | If no partial object can be created from dor . |
dor | A data object reference. |
|
inline |
Creates a partial object (i.e. a data object reference - or DOR - based on both uuid, title and version). Such an object is useful to describe the underlying data object by means of a minimal amount of information: uuid, title and version. However, such an object has often a lot of limitations when we want to access the data object.
valueType | The data type of the partial object to create. |
guid | The guid to set to the partial object. If empty then a new guid will be generated. |
title | The title of the partial object to create. |
version | (Optional) The version of the partial object to create. |
common::AbstractObject * common::DataObjectRepository::createPartial | ( | const std::string & | uuid, |
const std::string & | title, | ||
const std::string & | contentType, | ||
const std::string & | version = "" ) |
Create a partial object i.e. a data object reference (DOR) based on an UUID + a title + a content type + a version
resqml2::AbstractIjkGridRepresentation * common::DataObjectRepository::createPartialIjkGridRepresentation | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a partial ijk grid representation into this repository
guid | The guid to set to the sealed volume framework representation. If empty then a new guid will be generated. |
title | The title to set to the sealed volume framework representation. |
resqml2::AbstractIjkGridRepresentation * common::DataObjectRepository::createPartialTruncatedIjkGridRepresentation | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a partial truncated ijk grid representation into this repository
guid | The guid to set to the sealed volume framework representation. |
title | The title to set to the sealed volume framework representation. |
resqml2::PlaneSetRepresentation * common::DataObjectRepository::createPlaneSetRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a plane set representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the plane set representation. If empty then a new guid will be generated. | |
title | The title to set to the plane set representation. If empty then "unknown" title will be set. |
resqml2::PointSetRepresentation * common::DataObjectRepository::createPointSetRepresentation | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a point set representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the point set representation. If empty then a new guid will be generated. |
title | The title to set to the point set representation. If empty then "unknown" title will be set. |
resqml2::PointSetRepresentation * common::DataObjectRepository::createPointSetRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a point set representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the point set representation. If empty then a new guid will be generated. | |
title | The title to set to the point set representation. If empty then "unknown" title will be set. |
resqml2::PointsProperty * common::DataObjectRepository::createPointsProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | dimension, | ||
gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | ||
eml2::AbstractLocal3dCrs * | localCrs, | ||
eml2::PropertyKind * | localPropType ) |
Creates a points property (which is of a local property kind) into this repository
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If or localPropKind is null. |
[in] | rep | The representation on which this property is attached to. It cannot be null. |
guid | The guid to set to the property. If empty then a new guid will be generated. | |
title | The title to set to the property. If empty then "unknown" title will be set. | |
dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. | |
attachmentKind | The topological element on which the property values are attached to. | |
[in] | localPropType | The property kind of these property values which must be defined in the EPC document as a local property kind. It cannot be null. |
resqml2_0_1::PointsProperty * common::DataObjectRepository::createPointsProperty | ( | resqml2::AbstractRepresentation * | rep, |
const std::string & | guid, | ||
const std::string & | title, | ||
unsigned int | dimension, | ||
gsoap_eml2_3::eml23__IndexableElement | attachmentKind, | ||
eml2::AbstractLocal3dCrs * | localCrs, | ||
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | energisticsPropertyKind = gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind::length ) |
Creates a points property (which is of a well known Energistics property kind) into this repository
std::invalid_argument | If rep is null. |
[in] | rep | The representation on which this property is attached to. It cannot be null. |
guid | The guid to set to the property. If empty then a new guid will be generated. | |
title | The title to set to the property. If empty then "unknown" title will be set. | |
dimension | The dimension of each value of this property. Dimension is 1 for a scalar property. | |
attachmentKind | The topological element on which the property values are attached to. | |
energisticsPropertyKind | The property kind of these property values which must be defined in the standard Energistics property type dictionary. Defautl is length |
resqml2::PolylineRepresentation * common::DataObjectRepository::createPolylineRepresentation | ( | const std::string & | guid, |
const std::string & | title, | ||
bool | isClosed = false ) |
Creates a polyline representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the polyline representation. If empty then a new guid will be generated. |
title | The title to set to the polyline representation. If empty then "unknown" title will be set. |
isClosed | (Optional) True if the polyline is closed, false (default) if it is not. |
resqml2::PolylineRepresentation * common::DataObjectRepository::createPolylineRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
bool | isClosed = false ) |
Creates a polyline representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. You can alternatively use createPolylineRepresentation if no interpretation is associated to this representation. |
guid | The guid to set to the polyline representation. If empty then a new guid will be generated. | |
title | The title to set to the polyline representation. If empty then "unknown" title will be set. | |
isClosed | (Optional) True if the polyline is closed, false (default) if it is not. |
resqml2::PolylineRepresentation * common::DataObjectRepository::createPolylineRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
gsoap_eml2_3::resqml22__LineRole | roleKind, | ||
bool | isClosed = false ) |
Creates a polyline representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. You can alternatively use createPolylineRepresentation if no interpretation is associated to this representation. |
guid | The guid to set to the polyline representation. If empty then a new guid will be generated. | |
title | The title to set to the polyline representation. If empty then "unknown" title will be set. | |
roleKind | The polyline role kind. | |
isClosed | (Optional) True if the polyline is closed, false (default) if it is not. |
resqml2::PolylineSetRepresentation * common::DataObjectRepository::createPolylineSetRepresentation | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a polyline set representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the polyline set representation. If empty then a new guid will be generated. |
title | The title to set to the polyline set representation. If empty then "unknown" title will be set. |
resqml2::PolylineSetRepresentation * common::DataObjectRepository::createPolylineSetRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a polyline set representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. You can alternatively use createPolylineSetRepresentation if no interpretation is associated to this representation. |
guid | The guid to set to the polyline set representation. If empty then a new guid will be generated. | |
title | The title to set to the polyline set representation. If empty then "unknown" title will be set. |
resqml2::PolylineSetRepresentation * common::DataObjectRepository::createPolylineSetRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
gsoap_eml2_3::resqml22__LineRole | roleKind ) |
Creates a polyline set representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
std::invalid_argument | If in a RESQML v2.0 context, roleKind is a break line role. |
[in] | interp | The represented interpretation. It cannot be null. You can alternatively use createPolylineSetRepresentation if no interpretation is associated to this representation. |
guid | The guid to set to the polyline set representation. If empty then a new guid will be generated. | |
title | The title to set to the polyline set representation. If empty then "unknown" title will be set. | |
roleKind | The polyline set role kind. |
resqml2_0_1::PropertyKind * common::DataObjectRepository::createPropertyKind | ( | const std::string & | guid, |
const std::string & | title, | ||
const std::string & | namingSystem, | ||
const std::string & | nonStandardUom, | ||
bool | isAbstract, | ||
eml2::PropertyKind * | parentPropType ) |
Creates a property kind into this repository
guid | The guid to set to the property kind. If empty then a new guid will be generated. | |
title | The title to set to the property kind. If empty then "unknown" title will be set. | |
namingSystem | The name of the dictionary within which the property is unique. This also defines the name of the controlling authority. Use a URN of the form "urn:x- resqml:domainOrEmail:dictionaryName". | |
nonStandardUom | The property kind unit of measure. | |
isAbstract | Indicates whether the property kind should be used as a real (default) property or not. | |
[in] | parentPropType | The parent property kind. It cannot be null. |
resqml2_0_1::PropertyKind * common::DataObjectRepository::createPropertyKind | ( | const std::string & | guid, |
const std::string & | title, | ||
const std::string & | namingSystem, | ||
const std::string & | nonStandardUom, | ||
bool | isAbstract, | ||
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | parentEnergisticsPropertyKind ) |
Creates a property kind into this repository.
guid | The guid to set to the property kind. If empty then a new guid will be generated. |
title | The title to set to the property kind. If empty then "unknown" title will be set. |
namingSystem | The name of the dictionary within which the property is unique. This also defines the name of the controlling authority. Use a URN of the form "urn:x- resqml:domainOrEmail:dictionaryName". |
nonStandardUom | The property kind unit of measure. |
isAbstract | Indicates whether the property kind should be used as a real (default) property or not. |
parentEnergisticsPropertyKind | The parent property kind taken from the standard set of RESQML property kinds. |
resqml2_0_1::PropertyKind * common::DataObjectRepository::createPropertyKind | ( | const std::string & | guid, |
const std::string & | title, | ||
const std::string & | namingSystem, | ||
gsoap_resqml2_0_1::resqml20__ResqmlUom | uom, | ||
bool | isAbstract, | ||
eml2::PropertyKind * | parentPropType ) |
Creates a property kind into this repository.
std::invalid_argument | If parentPropType == nullptr . |
guid | The guid to set to the property kind. If empty then a new guid will be generated. | |
title | The title to set to the property kind. If empty then "unknown" title will be set. | |
namingSystem | The name of the dictionary within which the property is unique. This also defines the name of the controlling authority. Use a URN of the form "urn:x- resqml:domainOrEmail:dictionaryName". | |
uom | The property kind unit of measure taken from the standard RESQML units of measure catalog. | |
isAbstract | Indicates whether the property kind should be used as a real (default) property or not. | |
[in] | parentPropType | The parent property kind. It cannot be null. |
resqml2_0_1::PropertyKind * common::DataObjectRepository::createPropertyKind | ( | const std::string & | guid, |
const std::string & | title, | ||
const std::string & | namingSystem, | ||
gsoap_resqml2_0_1::resqml20__ResqmlUom | uom, | ||
bool | isAbstract, | ||
gsoap_resqml2_0_1::resqml20__ResqmlPropertyKind | parentEnergisticsPropertyKind ) |
Creates a property kind into this repository
guid | The guid to set to the property kind. If empty then a new guid will be generated. |
title | The title to set to the property kind. If empty then "unknown" title will be set. |
namingSystem | The name of the dictionary within which the property is unique. This also defines the name of the controlling authority. Use a URN of the form urn:x- resqml:domainOrEmail:dictionaryName . |
uom | The property kind unit of measure taken from the standard RESQML units of measure catalog. |
isAbstract | Indicates whether the property kind should be used as a real (default) property or not. |
parentEnergisticsPropertyKind | The parent property kind taken from the standard set of RESQML property kinds. |
eml2::PropertyKind * common::DataObjectRepository::createPropertyKind | ( | const std::string & | guid, |
const std::string & | title, | ||
const std::string & | quantityClass, | ||
bool | isAbstract = false, | ||
eml2::PropertyKind * | parentPropertyKind = nullptr ) |
Creates a property kind starting with EML2.1 version into this repository. Don't use it at all if you want a full RESQML2.0.1 EPC!!! Use other same name methods instead please.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the property kind. If empty then a new guid will be generated. | |
title | The title to set to the property kind. If empty then "unknown" title will be set. | |
quantityClass | A reference to the name of a quantity class in the Energistics units of measure dictionary or in another dictionary. | |
isAbstract | (Optional) Indicates whether the property kind should be used as a real (default) property or not. False by default. | |
[in] | parentPropertyKind | (Optional) If non-null, the parent property kind. If null, a default partial parent property kind will be created. |
eml2::PropertyKind * common::DataObjectRepository::createPropertyKind | ( | const std::string & | guid, |
const std::string & | title, | ||
gsoap_eml2_3::eml23__QuantityClassKind | quantityClass, | ||
bool | isAbstract = false, | ||
eml2::PropertyKind * | parentPropertyKind = nullptr ) |
Creates a property kind starting with EML2.1 version into this repository. Don't use it at all if you want a full RESQML2.0.1 EPC!!! Use other same name methods instead please.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the property kind. If empty then a new guid will be generated. | |
title | The title to set to the property kind. If empty then "unknown" title will be set. | |
quantityClass | A reference to the name of a quantity class in the Energistics units of measure dictionary. | |
isAbstract | (Optional) Indicates whether the property kind should be used as a real (default) property or not. False by default. | |
[in] | parentPropertyKind | (Optional) If non-null, the parent property kind. If null, a default partial parent property kind will be created. |
resqml2_0_1::PropertySet * common::DataObjectRepository::createPropertySet | ( | const std::string & | guid, |
const std::string & | title, | ||
bool | hasMultipleRealizations, | ||
bool | hasSinglePropertyKind, | ||
gsoap_resqml2_0_1::resqml20__TimeSetKind | timeSetKind ) |
Creates a property set into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If, in a RESQML v2.0 context, timeSetKind is single time series. |
guid | The guid to set to the property set. If empty then a new guid will be generated. |
title | The title to set to the property set. If empty then "unknown" title will be set. |
hasMultipleRealizations | True if the set contains properties with defined realization indices, false if not. |
hasSinglePropertyKind | True if the set contains only property values associated with a single property kind, false if not. |
timeSetKind | The time relationship that share the properties of this set, if any. |
resqml2::RepresentationSetRepresentation * common::DataObjectRepository::createRepresentationSetRepresentation | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a representation set representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the representation set representation. If empty then a new guid will be generated. |
title | The title to set to the representation set representation. If empty then "unknown" title will be set. |
resqml2::RepresentationSetRepresentation * common::DataObjectRepository::createRepresentationSetRepresentation | ( | resqml2::AbstractOrganizationInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a representation set representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. You can alternatively use createRepresentationSetRepresentation if no interpretation is associated to this representation. |
guid | The guid to set to the representation set representation. If empty then a new guid will be generated. | |
title | The title to set to the representation set representation. If empty then "unknown" title will be set. |
resqml2::Model * common::DataObjectRepository::createRockFluidModel | ( | const std::string & | guid, |
const std::string & | title ) |
createModel()
method for RESQML post v2.0.1 Creates a rock fluid model into this repositorystd::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the rock fluid model. If empty then a new guid will be generated. |
title | The title to set to the rock fluid model. If empty then "unknown" title will be set. |
resqml2::RockFluidOrganizationInterpretation * common::DataObjectRepository::createRockFluidOrganizationInterpretation | ( | resqml2::Model * | orgFeat, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a rock fluid organization interpretation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If orgFeat == nullptr or if in a RESQML v2.0 context, orgFeat is not a fluid organization. |
[in] | orgFeat | The interpreted organization. It cannot be null. |
guid | The guid to set to the rock fluid organization interpretation. If empty then a new guid will be generated. | |
title | The title to set to the rock fluid organization interpretation. If empty then "unknown" title will be set. |
resqml2_0_1::RockFluidUnitFeature * common::DataObjectRepository::createRockFluidUnit | ( | const std::string & | guid, |
const std::string & | title, | ||
gsoap_resqml2_0_1::resqml20__Phase | phase, | ||
resqml2_0_1::FluidBoundaryFeature * | fluidBoundaryTop, | ||
resqml2_0_1::FluidBoundaryFeature * | fluidBoundaryBottom ) |
Creates rock fluid unit into this repository
guid | The guid to set to the rock fluid unit. If empty then a new guid will be generated. | |
title | The title to set to the rock fluid unit. If empty then "unknown" title will be set. | |
phase | The phase to set to the rock fluid unit. | |
[in] | fluidBoundaryTop | The rock fluid unit top boundary. It cannot be null. |
[in] | fluidBoundaryBottom | The rock fluid unit bottom boundary. It cannot be null. |
resqml2::RockFluidUnitInterpretation * common::DataObjectRepository::createRockFluidUnitInterpretation | ( | resqml2::RockVolumeFeature * | rockFluidUnitFeature, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a rock fluid unit interpretation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If feature == nullptr . |
[in] | rockFluidUnitFeature | The interpreted rock fluid unit. It cannot be null. |
guid | The guid to set to the rock fluid unit interpretation. If empty then a new guid will be generated. | |
title | The title to set to the rock fluid unit interpretation. If empty then "unknown" title will be set. |
resqml2::RockVolumeFeature * common::DataObjectRepository::createRockVolumeFeature | ( | const std::string & | guid, |
const std::string & | title ) |
createRockVolumeFeature()
method for RESQML post v2.0.1 Creates a RockVolume feature into this repositoryguid | The guid to set to the RockVolume feature. If empty then a new guid will be generated. |
title | The title to set to the RockVolume feature. If empty then "unknown" title will be set. |
resqml2::SealedSurfaceFrameworkRepresentation * common::DataObjectRepository::createSealedSurfaceFrameworkRepresentation | ( | resqml2::StructuralOrganizationInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a sealed surface framework representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the sealed surface framework representation. If empty then a new guid will be generated. | |
title | The title to set to the sealed surface framework representation. If empty then "unknown" title will be set. |
resqml2::SealedVolumeFrameworkRepresentation * common::DataObjectRepository::createSealedVolumeFrameworkRepresentation | ( | resqml2::StratigraphicColumnRankInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
resqml2::SealedSurfaceFrameworkRepresentation * | ssf ) |
Creates a sealed volume framework representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr or ssf == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the sealed volume framework representation. If empty then a new guid will be generated. | |
title | The title to set to the sealed volume framework representation. If empty then "unknown" title will be set. | |
[in] | ssf | The sealed surface framework that refers this sealed volume framework. It cannot be null. |
resqml2::SeismicLatticeFeature * common::DataObjectRepository::createSeismicLattice | ( | const std::string & | guid, |
const std::string & | title, | ||
int | inlineIncrement, | ||
int | crosslineIncrement, | ||
unsigned int | originInline, | ||
unsigned int | originCrossline, | ||
unsigned int | inlineCount, | ||
unsigned int | crosslineCount ) |
Creates a seismic lattice into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the seismic lattice. If empty then a new guid will be generated. |
title | The title to set to the seismic lattice. If empty then "unknown" title will be set. |
inlineIncrement | The constant index increment between two consecutive inlines of the seismic lattice. |
crosslineIncrement | The constant index increment between two consecutive crosslines of the seismic lattice. |
originInline | The index of the first inline of the seismic lattice. |
originCrossline | The index of the first crossline of the seismic lattice. |
inlineCount | Number of inlines. |
crosslineCount | Number of crosslines. |
resqml2_0_1::SeismicLineFeature * common::DataObjectRepository::createSeismicLine | ( | const std::string & | guid, |
const std::string & | title, | ||
int | traceIndexIncrement, | ||
unsigned int | firstTraceIndex, | ||
unsigned int | traceCount ) |
Creates a seismic line into this repository
guid | The guid to set to the seismic line. If empty then a new guid will be generated. |
title | The title to set to the seismic line. If empty then "unknown" title will be set. |
traceIndexIncrement | The constant index increment between two consecutive traces. |
firstTraceIndex | The index of the first trace of the seismic line. |
traceCount | Number of traces. |
resqml2::SeismicLineSetFeature * common::DataObjectRepository::createSeismicLineSet | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a seismic line set into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the seismic line set. If empty then a new guid will be generated. |
title | The title to set to the seismic line set. If empty then "unknown". |
resqml2::SeismicWellboreFrameRepresentation * common::DataObjectRepository::createSeismicWellboreFrameRepresentation | ( | resqml2::WellboreInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
resqml2::WellboreTrajectoryRepresentation * | traj, | ||
double | seismicReferenceDatum, | ||
double | weatheringVelocity, | ||
eml2::AbstractLocal3dCrs * | crs ) |
Creates a seismic wellbore frame representation into this repository.
std::invalid_argument | If interp , traj or crs is nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the seismic wellbore frame representation. If empty then a new guid will be generated. | |
title | The title to set to the seismic wellbore frame representation. If empty then "unknown" title will be set. | |
[in] | traj | The wellbore trajectory that refers this seismic wellbore frame. It cannot be null. |
seismicReferenceDatum | The Z value where the seismic time is equal to zero for this survey wellbore frame. | |
weatheringVelocity | The weathering velocity. Sometimes also called seismic velocity replacement. | |
[in] | crs | The local time 3d CRS that refers this seismic wellbore frame. |
resqml2::ShotPointLineFeature * common::DataObjectRepository::createShotPointLine | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a shot point line into this repository
guid | The guid to set to the shot point line. If empty then a new guid will be generated. |
title | The title to set to the shot point line. If empty then "unknown" title will be set. |
resqml2::StratigraphicColumn * common::DataObjectRepository::createStratigraphicColumn | ( | const std::string & | guid, |
const std::string & | title ) |
Creates stratigraphic column into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the stratigraphic column. If empty then a new guid will be generated. |
title | The title to set to the stratigraphic column. If empty then "unknown" title will be set. |
resqml2::StratigraphicColumnRankInterpretation * common::DataObjectRepository::createStratigraphicColumnRankInterpretationInAge | ( | resqml2::Model * | orgFeat, |
const std::string & | guid, | ||
const std::string & | title, | ||
uint64_t | rank ) |
Creates a stratigraphic column rank interpretation ordered by age into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If orgFeat == nullptr or if in a RESQML v2.0 context, orgFeat is not a stratigraphic organization. |
[in] | orgFeat | The interpreted organization. It cannot be null. |
guid | The guid to set to the stratigraphic column rank interpretation. If empty then a new guid will be generated. | |
title | The title to set to the stratigraphic column rank interpretation. If empty then "unknown" title will be set. | |
rank | The rank of the stratigraphic column rank interpretation. |
resqml2::StratigraphicColumnRankInterpretation * common::DataObjectRepository::createStratigraphicColumnRankInterpretationInApparentDepth | ( | resqml2::Model * | orgFeat, |
const std::string & | guid, | ||
const std::string & | title, | ||
uint64_t | rank ) |
Creates a stratigraphic column rank interpretation ordered by apparent depth into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If orgFeat == nullptr or if in a RESQML v2.0 context, orgFeat is not a stratigraphic organization. |
[in] | orgFeat | The interpreted organization. It cannot be null. |
guid | The guid to set to the stratigraphic column rank interpretation. If empty then a new guid will be generated. | |
title | The title to set to the stratigraphic column rank interpretation. If empty then "unknown" title will be set. | |
rank | The rank of the stratigraphic column rank interpretation. |
resqml2::Model * common::DataObjectRepository::createStratigraphicModel | ( | const std::string & | guid, |
const std::string & | title ) |
createModel()
method for RESQML post v2.0.1 Creates a stratigraphic model into this repositorystd::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the stratigraphic model. If empty then a new guid will be generated. |
title | The title to set to the stratigraphic model. If empty then "unknown" title will be set. |
resqml2::StratigraphicOccurrenceInterpretation * common::DataObjectRepository::createStratigraphicOccurrenceInterpretationInAge | ( | resqml2::Model * | orgFeat, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a stratigraphic occurrence interpretation ordered by age into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If orgFeat == nullptr or if in a RESQML v2.0 context, orgFeat is not a stratigraphic organization. |
[in] | orgFeat | The interpreted organization. It cannot be null. |
guid | The guid to set to the stratigraphic occurrence interpretation. If empty then a new guid will be generated. | |
title | The title to set to the stratigraphic occurrence interpretation. If empty then "unknown" title will be set. |
resqml2::StratigraphicOccurrenceInterpretation * common::DataObjectRepository::createStratigraphicOccurrenceInterpretationInApparentDepth | ( | resqml2::Model * | orgFeat, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a stratigraphic occurrence interpretation ordered by apparent depth into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If orgFeat == nullptr or if in a RESQML v2.0 context, orgFeat is not a stratigraphic organization. |
[in] | orgFeat | The interpreted organization. It cannot be null. |
guid | The guid to set to the stratigraphic occurrence interpretation. If empty then a new guid will be generated. | |
title | The title to set to the stratigraphic occurrence interpretation. If empty then "unknown" title will be set. |
resqml2::RockVolumeFeature * common::DataObjectRepository::createStratigraphicUnitFeature | ( | const std::string & | guid, |
const std::string & | title ) |
createRockVolumeFeature()
method for RESQML post v2.0.1 Creates a stratigraphic unit into this repositorystd::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the stratigraphic unit. If empty then a new guid will be generated. |
title | The title to set to the stratigraphic unit. If empty then "unknown" title will be set. |
resqml2::StratigraphicUnitInterpretation * common::DataObjectRepository::createStratigraphicUnitInterpretation | ( | resqml2::RockVolumeFeature * | stratiUnitFeature, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a stratigraphic unit interpretation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If stratiUnitFeature == nullptr . |
[in] | stratiUnitFeature | The interpreted stratigraphic unit. It cannot be null. |
guid | The guid to set to the stratigraphic unit interpretation. If empty then a new guid will be generated. | |
title | The title to set to the stratigraphic unit interpretation. If empty then "unknown" title will be set. |
resqml2::StreamlinesFeature * common::DataObjectRepository::createStreamlinesFeature | ( | const std::string & | guid, |
const std::string & | title, | ||
uint64_t | timeIndex, | ||
eml2::TimeSeries * | timeSeries ) |
Creates a streamlines feature into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the streamlines feature. If empty then a new guid will be generated. |
title | The title to set to the streamlines feature. If empty then "unknown" title will be set. |
timeIndex | The time index in the time series of the this streamlines feature. |
timeSeries | The time series where the time index of this streamlines feature is given. |
resqml2::StreamlinesRepresentation * common::DataObjectRepository::createStreamlinesRepresentation | ( | resqml2::GenericFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
uint64_t | lineCount ) |
Creates a streamlines representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
[in] | interp | The represented interpretation. It cannot be null. |
[in] | guid | The guid to set to the streamlines representation. If empty then a new guid will be generated. |
[in] | title | The title to set to the streamlines representation. If empty then "unknown" title will be set. |
[in] | lineCount | The count of line in this representation |
resqml2::StringTableLookup * common::DataObjectRepository::createStringTableLookup | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a string table lookup into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the string table lookup. If empty then a new guid will be generated. |
title | The title to set to the string table lookup. If empty then "unknown" title will be set. |
resqml2::Model * common::DataObjectRepository::createStructuralModel | ( | const std::string & | guid, |
const std::string & | title ) |
createModel()
method for RESQML post v2.0.1 Creates a structural model into this repositorystd::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the structural model. If empty then a new guid will be generated. |
title | The title to set to the structural model. If empty then "unknown" title will be set. |
resqml2::StructuralOrganizationInterpretation * common::DataObjectRepository::createStructuralOrganizationInterpretationInAge | ( | resqml2::Model * | orgFeat, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a structural organization interpretation ordered by age into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If orgFeat == nullptr or if in a RESQML v2.0 context, orgFeat is not a structural organization. |
[in] | orgFeat | The interpreted organization. It cannot be null. |
guid | The guid to set to the structural organization interpretation. If empty then a new guid will be generated. | |
title | The title to set to the structural organization interpretation. If empty then "unknown" title will be set. |
resqml2::StructuralOrganizationInterpretation * common::DataObjectRepository::createStructuralOrganizationInterpretationInApparentDepth | ( | resqml2::Model * | orgFeat, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a structural organization interpretation ordered by apparent depth into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If orgFeat == nullptr or if in a RESQML v2.0 context, orgFeat is not a structural organization. |
[in] | orgFeat | The interpreted organization. It cannot be null. |
guid | The guid to set to the structural organization interpretation. If empty then a new guid will be generated. | |
title | The title to set to the structural organization interpretation. If empty then "unknown" title will be set. |
resqml2::StructuralOrganizationInterpretation * common::DataObjectRepository::createStructuralOrganizationInterpretationInMeasuredDepth | ( | resqml2::Model * | orgFeat, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a structural organization interpretation ordered by measured depth into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If orgFeat == nullptr or if in a RESQML v2.0 context, orgFeat is not a structural organization. |
[in] | orgFeat | The interpreted organization. It cannot be null. |
guid | The guid to set to the structural organization interpretation. If empty then a new guid will be generated. | |
title | The title to set to the structural organization interpretation. If empty then "unknown" title will be set. |
resqml2::SubRepresentation * common::DataObjectRepository::createSubRepresentation | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a sub-representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the sub-representation. If empty then a new guid will be generated. |
title | The title to set to the sub-representation. If empty then "unknown" title will be set. |
resqml2::SubRepresentation * common::DataObjectRepository::createSubRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a sub-representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. You can alternatively use createSubRepresentation if no interpretation is associated to this representation. |
guid | The guid to set to the sub-representation. If empty then a new guid will be generated. | |
title | The title to set to the sub-representation. If empty then "unknown" title will be set. |
eml2::TimeSeries * common::DataObjectRepository::createTimeSeries | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a time series into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the time series. If empty then a new guid will be generated. |
title | The title to set to the time series. If empty then "unknown" title will be set. |
prodml2_2::TimeSeriesData * common::DataObjectRepository::createTimeSeriesData | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a time series data into this repository
guid | The guid to set to the time series data. If empty then a new guid will be generated. |
title | The title to set to the time series data. If empty then "unknown" title will be set. |
WITSML2_NS::Trajectory * common::DataObjectRepository::createTrajectory | ( | WITSML2_NS::Wellbore * | witsmlWellbore, |
const std::string & | guid, | ||
const std::string & | title, | ||
bool | isActive ) |
Creates a wellbore trajectory into this repository.
std::invalid_argument | If witsmlWellbore == nullptr . |
[in] | witsmlWellbore | The wellbore associated to this wellbore trajectory. It cannot be null. |
guid | The guid to set to the trajectory. If empty then a new guid will be generated. | |
title | The title to set to the trajectory. If empty then "unknown" title will be set. | |
isActive | True if is active, false if not. |
resqml2::TriangulatedSetRepresentation * common::DataObjectRepository::createTriangulatedSetRepresentation | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a triangulated set representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the triangulated set representation. If empty then a new guid will be generated. |
title | The title to set to the triangulated set representation. If empty then "unknown" title will be set. |
resqml2::TriangulatedSetRepresentation * common::DataObjectRepository::createTriangulatedSetRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a triangulated set representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp == nullptr . |
[in] | interp | The represented interpretation. It cannot be null. You can alternatively use createTriangulatedSetRepresentation if no interpretation is associated to this representation. |
guid | The guid to set to the triangulated set representation. If empty then a new guid will be generated. | |
title | The title to set to the triangulated set representation. If empty then "unknown" title will be set. |
resqml2::UnstructuredGridRepresentation * common::DataObjectRepository::createUnstructuredGridRepresentation | ( | const std::string & | guid, |
const std::string & | title, | ||
const uint64_t & | cellCount ) |
Creates an unstructured grid representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the unstructured grid representation. If empty then a new guid will be generated. |
title | The title to set to the unstructured grid representation. If empty then "unknown" title will be set. |
cellCount | Number of cells in the grid. |
resqml2::UnstructuredGridRepresentation * common::DataObjectRepository::createUnstructuredGridRepresentation | ( | resqml2::AbstractFeatureInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
const uint64_t & | cellCount ) |
Creates an unstructured grid representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the unstructured grid representation. If empty then a new guid will be generated. | |
title | The title to set to the unstructured grid representation. If empty then "unknown" title will be set. | |
cellCount | Number of cells in the grid. |
WITSML2_NS::Well * common::DataObjectRepository::createWell | ( | const std::string & | guid, |
const std::string & | title, | ||
bool | isActive ) |
Creates a well into this repository
guid | The guid to set to the well. If empty then a new guid will be generated. |
title | The title to set to the well. If empty then "unknown" title will be set. |
isActive | True if is active, false if not. |
WITSML2_NS::Well * common::DataObjectRepository::createWell | ( | const std::string & | guid, |
const std::string & | title, | ||
bool | isActive, | ||
gsoap_eml2_3::eml23__WellStatus | statusWell, | ||
gsoap_eml2_3::witsml21__WellDirection | directionWell ) |
Creates a well into this repository
guid | The guid to set to the well. If empty then a new guid will be generated. |
title | The title to set to the well. If empty then "unknown" title will be set. |
isActive | True if is active, false if not. |
statusWell | POSC well status. |
directionWell | POSC well direction. The direction of the flow of the fluids in a well facility (generally, injected or produced, or some combination). |
WITSML2_NS::Wellbore * common::DataObjectRepository::createWellbore | ( | WITSML2_NS::Well * | witsmlWell, |
const std::string & | guid, | ||
const std::string & | title, | ||
bool | isActive ) |
Creates a wellbore into this repository.
std::invalid_argument | If witsmlWell == nullptr . |
[in] | witsmlWell | The well associated to this wellbore. It cannot be null. |
guid | The guid to set to the wellbore. If empty then a new guid will be generated. | |
title | The title to set to the wellbore. If empty then "unknown" title will be set. | |
isActive | True if is active, false if not. |
WITSML2_NS::Wellbore * common::DataObjectRepository::createWellbore | ( | WITSML2_NS::Well * | witsmlWell, |
const std::string & | guid, | ||
const std::string & | title, | ||
gsoap_eml2_3::eml23__WellStatus | statusWellbore, | ||
bool | isActive, | ||
bool | achievedTD ) |
Creates a wellbore into this repository.
std::invalid_argument | If witsmlWell == nullptr . |
[in] | witsmlWell | The well associated to this wellbore. It cannot be null. |
guid | The guid to set to the wellbore. If empty then a new guid will be generated. | |
title | The title to set to the wellbore. If empty then "unknown" title will be set. | |
statusWellbore | POSC wellbore status. | |
isActive | True if is active, false if not. | |
achievedTD | True indicates that the wellbore has achieved total depth. That is, drilling has completed. False indicates otherwise. |
witsml2_1::WellboreCompletion * common::DataObjectRepository::createWellboreCompletion | ( | WITSML2_NS::Wellbore * | witsmlWellbore, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a wellbore completion into this repository
[in] | witsmlWellbore | The wellbore associated to this wellbore completion. It cannot be null. |
guid | The guid to set to the wellbore completion. If empty then a new guid will be generated. | |
title | The title to set to the wellbore completion. If empty then "unknown" title will be set. |
resqml2::WellboreFeature * common::DataObjectRepository::createWellboreFeature | ( | const std::string & | guid, |
const std::string & | title ) |
Creates a wellbore feature into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
guid | The guid to set to the wellbore feature. If empty then a new guid will be generated. |
title | The title to set to the wellbore feature. If empty then "unknown" title will be set. |
resqml2::WellboreFrameRepresentation * common::DataObjectRepository::createWellboreFrameRepresentation | ( | resqml2::WellboreInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
resqml2::WellboreTrajectoryRepresentation * | traj ) |
Creates a wellbore frame representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp or traj is nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the wellbore frame representation. If empty then a new guid will be generated. | |
title | The title to set to the wellbore frame representation. If empty then "unknown" title will be set. | |
[in] | traj | The wellbore trajectory that refers this wellbore frame. It cannot be null. |
witsml2_1::WellboreGeometry * common::DataObjectRepository::createWellboreGeometry | ( | WITSML2_NS::Wellbore * | witsmlWellbore, |
const std::string & | guid, | ||
const std::string & | title, | ||
bool | isActive ) |
Creates a wellbore geometry into this repository. It is used to capture information about the configuration of the permanently installed components in a wellbore.
std::invalid_argument | If witsmlWellbore == nullptr . |
[in] | witsmlWellbore | The wellbore associated to this wellbore geometry. It cannot be null. |
guid | The guid to set to the geometry. If empty then a new guid will be generated. | |
title | The title to set to the geometry. If empty then "unknown" title will be set. | |
isActive | True if is active, false if not. |
resqml2::WellboreInterpretation * common::DataObjectRepository::createWellboreInterpretation | ( | resqml2::WellboreFeature * | wellbore, |
const std::string & | guid, | ||
const std::string & | title, | ||
bool | isDrilled ) |
Creates a wellbore interpretation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If wellbore is nullptr . |
[in] | wellbore | The interpreted wellbore feature. It cannot be null. |
guid | The guid to set to the wellbore interpretation. If empty then a new guid will be generated. | |
title | The title to set to the wellbore interpretation. If empty then "unknown" title will be set. | |
isDrilled | Indicate if the wellbore is interpreted wether as drilled (true) or not (false). |
witsml2_1::WellboreMarker * common::DataObjectRepository::createWellboreMarker | ( | const std::string & | guid, |
const std::string & | title, | ||
double | md, | ||
gsoap_eml2_3::eml23__LengthUom | mdUom ) |
Creates a WITSML2.0 Wellbore Marker into this repository.
guid | The guid to set to the marker. If empty then a new guid will be generated. |
title | The title to set to the marker. If empty then "unknown" title will be set. |
md | The Measured Depth to set to this marker. |
mdUom | The underlying unit of measure of the MD value. |
resqml2::WellboreMarker * common::DataObjectRepository::createWellboreMarker | ( | resqml2::WellboreMarkerFrameRepresentation * | wellboreMarkerFrame, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a wellbore marker within a given wellbore marker frame representation.
std::invalid_argument | If wellboreMarkerFrame == nullptr . |
[in] | wellboreMarkerFrame | The wellbore marker frame representation where to push back the wellbore marker. |
guid | The guid to set to the wellbore marker. If empty then a new guid will be generated. | |
title | The title to set to the wellbore marker. If empty then "unknown" title will be set. |
resqml2::WellboreMarker * common::DataObjectRepository::createWellboreMarker | ( | resqml2::WellboreMarkerFrameRepresentation * | wellboreMarkerFrame, |
const std::string & | guid, | ||
const std::string & | title, | ||
gsoap_resqml2_0_1::resqml20__GeologicBoundaryKind | geologicBoundaryKind ) |
Creates a wellbore marker within a given wellbore marker frame representation.
std::invalid_argument | If wellboreMarkerFrame == nullptr . |
[in] | wellboreMarkerFrame | The wellbore marker frame representation where to push back the wellbore marker. |
guid | The guid to set to the wellbore marker. If empty then a new guid will be generated. | |
title | The title to set to the wellbore marker. If empty then "unknown" title will be set. | |
geologicBoundaryKind | The geologic boundary kind. |
witsml2_1::WellboreMarker * common::DataObjectRepository::createWellboreMarker | ( | WITSML2_NS::Wellbore * | witsmlWellbore, |
const std::string & | guid, | ||
const std::string & | title, | ||
double | md, | ||
gsoap_eml2_3::eml23__LengthUom | mdUom ) |
Creates a WITSML2.0 Wellbore Marker into this repository.
std::invalid_argument | If witsmlWellbore == nullptr . |
[in] | witsmlWellbore | The wellbore associated to this marker. It cannot be null. |
guid | The guid to set to the marker. If empty then a new guid will be generated. | |
title | The title to set to the marker. If empty then "unknown" title will be set. | |
md | The Measured Depth to set to this marker. | |
mdUom | The underlying unit of measure of the MD value. |
resqml2::WellboreMarkerFrameRepresentation * common::DataObjectRepository::createWellboreMarkerFrameRepresentation | ( | resqml2::WellboreInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
resqml2::WellboreTrajectoryRepresentation * | traj ) |
Creates a wellbore marker frame representation into this repository
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp of traj is nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the wellbore marker frame representation. If empty then a new guid will be generated. | |
title | The title to set to the wellbore marker frame representation. If empty then "unknown" title will be set. | |
[in] | traj | The wellbore trajectory that refers this wellbore marker frame. It cannot be null. |
resqml2::WellboreTrajectoryRepresentation * common::DataObjectRepository::createWellboreTrajectoryRepresentation | ( | resqml2::WellboreInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
resqml2::MdDatum * | mdInfo ) |
Creates a wellbore trajectory representation into this repository.
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp or mdInfo is nullptr . |
[in] | interp | The represented wellbore interpretation. It cannot be null. |
guid | The guid to set to the wellbore trajectory representation. If empty then a new guid will be generated. | |
title | The title to set to the wellbore trajectory representation. If empty then "unknown" title will be set. | |
[in] | mdInfo | The MD information of the trajectory, mainly the well reference point. The unit of measure used for the mdInfo coordinates must also be used for the start and end MD of the trajectory. It cannot be null. |
resqml2_0_1::WellboreTrajectoryRepresentation * common::DataObjectRepository::createWellboreTrajectoryRepresentation | ( | resqml2::WellboreInterpretation * | interp, |
const std::string & | guid, | ||
const std::string & | title, | ||
resqml2_0_1::DeviationSurveyRepresentation * | deviationSurvey ) |
Creates a wellbore trajectory representation (with an existing deviation survey as its origin) into this repository
std::invalid_argument | If the default RESQML version is unrecognized. |
std::invalid_argument | If interp or deviationSurvey is nullptr . |
[in] | interp | The represented interpretation. It cannot be null. |
guid | The guid to set to the wellbore trajectory representation. If empty then a new guid will be generated. | |
title | The title to set to the wellbore trajectory representation. If empty then "unknown" title will be set. | |
[in] | deviationSurvey | The deviation survey on which this wellbore trajectory relies on. MD data will be retrieve from it. It cannot be null. |
witsml2_1::WellCompletion * common::DataObjectRepository::createWellCompletion | ( | WITSML2_NS::Well * | witsmlWell, |
const std::string & | guid, | ||
const std::string & | title ) |
Creates a well completion into this repository.
std::invalid_argument | If witsmlWell == nullptr . |
[in] | witsmlWell | The well associated to this well completion. It cannot be null. |
guid | The guid to set to the well completion. If empty then a new guid will be generated. | |
title | The title to set to the well completion. If empty then "unknown" title will be set. |
common::AbstractObject * common::DataObjectRepository::getDataObjectByUuid | ( | const std::string & | uuid | ) | const |
Gets a data object from the repository by means of its uuid. If several data object correspond to this uuid in the repository, the first one in memory will be arbitrarily returned.
uuid | The uuid of the requested data object. |
nullptr
if there exists no such data object.
|
inline |
Gets a data object from the repository by means of its uuid and try to cast it to valueType
. valueType
must be a child of AbstractObject
std::invalid_argument | If the uuid does not resolve to the expected valueType data type. |
valueType | The data type to which the requested data object will be cast. |
uuid | The uuid of the requested data object. |
valueType
, nullptr
if there exists no such data object. common::AbstractObject * common::DataObjectRepository::getDataObjectByUuidAndVersion | ( | const std::array< uint8_t, 16 > & | uuid, |
const std::string & | version ) const |
Get a data object from the repository by means of its uuid and from its version.
uuid | The uuid of the requested data object. |
version | The version of the requested data object. |
common::AbstractObject * common::DataObjectRepository::getDataObjectByUuidAndVersion | ( | const std::string & | uuid, |
const std::string & | version ) const |
Gets a data object from the repository by means of both its uuid and version.
uuid | The uuid of the requested data object. |
version | The version of the requested data object. |
nullptr
if there exists no such data object.
|
inline |
Gets a data object from the repository by means of both its uuid and version and try to cast it to valueType
. valueType
must be a child of AbstractObject
std::invalid_argument | If the combination of uuid and version does not resolve to the expected valueType data type. |
valueType | The data type to which the requested data object will be cast. |
uuid | The uuid of the requested data object. |
version | The version of the requested data object. |
valueType
, nullptr
if there exists no such data object.
|
inline |
Gets all the data objects which are part of this repository
|
inline |
Gets all the data objects of a particular valueType
type
valueType | The type of data objects we look for. |
valueType
typed data object in this repository. std::vector< common::AbstractObject * > common::DataObjectRepository::getDataObjectsByContentType | ( | const std::string & | contentType | ) | const |
Gets all the data objects which honor a given content type
contentType | A content type. |
std::unordered_map< std::string, std::vector< common::AbstractObject * > > common::DataObjectRepository::getDataObjectsGroupedByDataType | ( | ) | const |
Gets all the data object and groups them by datatype
std::unordered_map< std::string, std::vector< common::AbstractObject * > > common::DataObjectRepository::getDataObjectsGroupedByDataType | ( | const std::string & | filter | ) | const |
Group Data objects of the repository by datatype based on a filtered list
filter | A string that the returned Dataobject must contain in their datatype. |
|
inline |
Gets the default CRS for writing. It is used in all writing methods if no explicit CRS is provided.
|
inline |
Gets the default EML version used when creating a EML data object.
|
inline |
Gets the default HDF5 file proxy for writing. It is used in all writing methods if no explicit HDF5 file proxy is provided.
nullptr
if no default HDF5 file proxy is defined, else a pointer to the default HDF5 file proxy.
|
inline |
Gets the default PRODML version used when creating a PRODML data object.
|
inline |
Gets the default RESQML version used when creating a RESQML data object.
|
inline |
Gets the default WITSML version used when creating a WITSML data object.
|
inline |
Gets the gSOAP context.
|
inline |
Get the journal of the DataObject repository.
|
inline |
Gets the property kind mapper if it was given at repository construction time
nullptr
if no property kind mapper was given at repository construction time.
|
inline |
Gets the source objects of a particular data object
std::out_of_range | If the source objects have not been defined yet. |
dataObj | The data object. |
|
inline |
Gets the valueType
typed source objects
std::out_of_range | If the source objects have not been defined yet. |
valueType | The type of source objects we look for. |
dataObj | The data object. |
std::vector< common::AbstractObject * > common::DataObjectRepository::getSourceObjects | ( | common::AbstractObject const * | dataObj, |
size_t | depth, | ||
const std::vector< std::string > & | filteredDatatypes = std::vector< std::string >() ) const |
Get the source objects of a particular data object and potentially sources of sources, etc...
dataObj | The dataobject which we want to know the sources about. |
depth | How much sources of sources do we want? A depth of 0 means that we only want the dataobject itself. A depth of 1 means that we only want the direct sources. A depth of 2 means that we want the direct sources + the sources of the direct sources, etc... |
filteredDatatypes | The returned sources will be filtered based on this list of authorized datatypes. A qualified type "namespace.*" means a filter on the namespace. |
|
inline |
Get the direct target objects (by reference) of a particular data object.
|
inline |
Gets the valueType
typed target objects of a particular data object.
std::out_of_range | If the target objects have not been defined yet. |
valueType | The type of target objects we look for. |
dataObj | The data object. |
std::vector< common::AbstractObject * > common::DataObjectRepository::getTargetObjects | ( | common::AbstractObject const * | dataObj, |
size_t | depth, | ||
const std::vector< std::string > & | filteredDatatypes = std::vector< std::string >() ) const |
Get the target objects of a particular data object and potentially targets of targets, etc...
dataObj | The dataobject which we want to know the targets about. |
depth | How much targets of targets do we want? A depth of 0 means that we only want the dataobject itself. A depth of 1 means that we only want the direct targets. A depth of 2 means that we want the direct targets + the targets of the direct targets, etc... |
filteredDatatypes | The returned targets will be filtered based on this list of authorized datatypes. A qualified type "namespace.*" means a filter on the namespace. |
std::vector< std::string > common::DataObjectRepository::getUuids | ( | ) | const |
Gets all the data object uuids which are part of this repository
const std::vector< std::string > & common::DataObjectRepository::getWarnings | ( | ) | const |
Gets the repository warnings
DataObjectRepository * common::DataObjectRepository::newTransactionRepo | ( | ) |
Creates a transaction. The transaction is actually a child dataobject repository which will be merged into this master dataobject repository.
|
inlinevirtual |
Allow a specialization of a DataObjectRepository to provide a special behaviour when a dataobject is created
|
inlinevirtual |
Allow a specialization of a DataObjectRepository to provide a special behaviour when a dataobject is update
void common::DataObjectRepository::registerDataFeeder | ( | common::DataFeeder * | dataFeeder | ) |
Register a data feeder to allow partial objects resolution. It is your responsability to manage the memory of your data feeder. DataObject repository won't never free memory of a data feeder.
common::AbstractObject * common::DataObjectRepository::resolvePartial | ( | common::AbstractObject * | partialObj | ) |
Resolve a partial object thanks to a data feeder into this data repository. This method needs some registered data feeder in order to work.
|
inline |
Sets a default CRS for writing. It will be used in all writing methods if no explicit CRS is provided
[in] | crs | If non-null, the default CRS. |
|
inline |
Sets a default HDF5 file proxy for writing. It will be used in all writing methods if no explicit HDF5 file proxy is provided.
[in] | hdfProxy | If non-null, the HDF5 file proxy. |
|
inline |
Set the used standard when creating a new dataobject
void common::DataObjectRepository::setHdfProxyFactory | ( | common::HdfProxyFactory * | factory | ) |
Set the factory used to create HDF proxy and takes ownership of this HDF Proxy factory (don't delete it!)
[in] | factory | If non-null, the factory. |
void common::DataObjectRepository::updateAllRelationships | ( | ) |
Update all the relationships of the data objects contained in this repository