mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-30 17:10:19 -05:00
#12593 Simplify object methods exposed to Python
This commit is contained in:
1 parent
b99a213ae7
commit
309c4af07e
63 files changed
+357
-1050
No files matched your search
@@ -29,7 +29,7 @@
|
||||
//==================================================================================================
|
||||
///
|
||||
//==================================================================================================
|
||||
class RimcRegularSurface_setPropertyFromKey : public caf::PdmObjectMethod
|
||||
class RimcRegularSurface_setPropertyFromKey : public caf::PdmVoidObjectMethod
|
||||
{
|
||||
CAF_PDM_HEADER_INIT;
|
||||
|
||||
@@ -37,9 +37,6 @@ public:
|
||||
RimcRegularSurface_setPropertyFromKey( caf::PdmObjectHandle* self );
|
||||
|
||||
std::expected<caf::PdmObjectHandle*, QString> execute() override;
|
||||
bool resultIsPersistent() const override;
|
||||
std::unique_ptr<PdmObjectHandle> defaultResult() const override;
|
||||
bool isNullptrValidResult() const override;
|
||||
|
||||
private:
|
||||
caf::PdmField<QString> m_name;
|
||||
@@ -49,7 +46,7 @@ private:
|
||||
//==================================================================================================
|
||||
///
|
||||
//==================================================================================================
|
||||
class RimcRegularSurface_setPropertyAsDepth : public caf::PdmObjectMethod
|
||||
class RimcRegularSurface_setPropertyAsDepth : public caf::PdmVoidObjectMethod
|
||||
{
|
||||
CAF_PDM_HEADER_INIT;
|
||||
|
||||
@@ -57,9 +54,6 @@ public:
|
||||
RimcRegularSurface_setPropertyAsDepth( caf::PdmObjectHandle* self );
|
||||
|
||||
std::expected<caf::PdmObjectHandle*, QString> execute() override;
|
||||
bool resultIsPersistent() const override;
|
||||
std::unique_ptr<PdmObjectHandle> defaultResult() const override;
|
||||
bool isNullptrValidResult() const override;
|
||||
|
||||
private:
|
||||
caf::PdmField<QString> m_name;
|
||||
|
||||
Reference in new issue
Block a user