mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 07:30:20 -05:00
Release 2025.09.0
This commit is contained in:
1 parent
c33402f5ea
commit
917136fec8
1053 files changed
+61952
-11833
No files matched your search
@@ -33,9 +33,10 @@ CAF_PDM_OBJECT_METHOD_SOURCE_INIT( RimWellPathGeometryDef, RimcRimWellPathGeomet
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimcRimWellPathGeometryDef_appendNewWellTarget::RimcRimWellPathGeometryDef_appendNewWellTarget( caf::PdmObjectHandle* self )
|
||||
: caf::PdmObjectMethod( self )
|
||||
: caf::PdmObjectCreationMethod( self )
|
||||
{
|
||||
CAF_PDM_InitObject( "Create and Add New Well Target", "", "", "Create and Add New Well Target" );
|
||||
|
||||
CAF_PDM_InitScriptableFieldNoDefault( &m_coordinate, "Coordinate", "", "", "", "Coordinate" );
|
||||
CAF_PDM_InitScriptableField( &m_isAbsolute, "Absolute", false, "", "", "", "Relative or Absolute Coordinate" );
|
||||
|
||||
@@ -48,7 +49,7 @@ RimcRimWellPathGeometryDef_appendNewWellTarget::RimcRimWellPathGeometryDef_appen
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::PdmObjectHandle* RimcRimWellPathGeometryDef_appendNewWellTarget::execute()
|
||||
std::expected<caf::PdmObjectHandle*, QString> RimcRimWellPathGeometryDef_appendNewWellTarget::execute()
|
||||
{
|
||||
auto geoDef = self<RimWellPathGeometryDef>();
|
||||
|
||||
@@ -84,15 +85,7 @@ caf::PdmObjectHandle* RimcRimWellPathGeometryDef_appendNewWellTarget::execute()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimcRimWellPathGeometryDef_appendNewWellTarget::resultIsPersistent() const
|
||||
QString RimcRimWellPathGeometryDef_appendNewWellTarget::classKeywordReturnedType() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::unique_ptr<caf::PdmObjectHandle> RimcRimWellPathGeometryDef_appendNewWellTarget::defaultResult() const
|
||||
{
|
||||
return std::unique_ptr<caf::PdmObjectHandle>( new RimWellPathTarget );
|
||||
return RimWellPathTarget::classKeywordStatic();
|
||||
}
|
||||
Reference in new issue
Block a user