mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Merge pull request #7960 from OPM/geomech_WIA4
GeoMech: Well Integrity Analysis
This commit is contained in:
@@ -66,3 +66,26 @@ QString RimStringParameter::stringValue() const
|
||||
{
|
||||
return m_value();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimStringParameter::jsonValue() const
|
||||
{
|
||||
return QString( "\"%1\"" ).arg( stringValue() );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimGenericParameter* RimStringParameter::duplicate() const
|
||||
{
|
||||
RimStringParameter* retval = new RimStringParameter();
|
||||
retval->setName( name() );
|
||||
retval->setValue( stringValue() );
|
||||
retval->setDescription( description() );
|
||||
retval->setLabel( label() );
|
||||
retval->setAdvanced( isAdvanced() );
|
||||
|
||||
return retval;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user