#8420 Janitor: Remove empty parameters in initialization macros

This commit is contained in:
Magne Sjaastad
2022-01-07 08:31:52 +01:00
committed by GitHub
parent 7db24e9353
commit 3c35244809
255 changed files with 443 additions and 1088 deletions

View File

@@ -29,7 +29,7 @@ CAF_PDM_SOURCE_INIT( RimWellMeasurement, "WellMeasurement" );
//--------------------------------------------------------------------------------------------------
RimWellMeasurement::RimWellMeasurement()
{
CAF_PDM_InitObject( "RimWellMeasurement", ":/WellMeasurement16x16.png", "", "" );
CAF_PDM_InitObject( "RimWellMeasurement", ":/WellMeasurement16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_wellName, "WellName", "Well Name" );
CAF_PDM_InitField( &m_MD, "Depth", -1.0, "MD" );

View File

@@ -37,7 +37,7 @@ CAF_PDM_SOURCE_INIT( RimWellMeasurementCollection, "WellMeasurements" );
//--------------------------------------------------------------------------------------------------
RimWellMeasurementCollection::RimWellMeasurementCollection()
{
CAF_PDM_InitObject( "Well Measurements", ":/WellMeasurement16x16.png", "", "" );
CAF_PDM_InitObject( "Well Measurements", ":/WellMeasurement16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_measurements, "Measurements", "Well Measurements" );
m_measurements.uiCapability()->setUiEditorTypeName( caf::PdmUiTableViewEditor::uiEditorTypeName() );

View File

@@ -50,7 +50,7 @@ CAF_PDM_SOURCE_INIT( RimWellMeasurementCurve, "WellMeasurementCurve" );
//--------------------------------------------------------------------------------------------------
RimWellMeasurementCurve::RimWellMeasurementCurve()
{
CAF_PDM_InitObject( "Well Measurement Curve", RimWellLogCurve::wellLogCurveIconName(), "", "" );
CAF_PDM_InitObject( "Well Measurement Curve", RimWellLogCurve::wellLogCurveIconName() );
CAF_PDM_InitFieldNoDefault( &m_wellPath, "CurveWellPath", "Well Path" );
m_wellPath.uiCapability()->setUiTreeChildrenHidden( true );

View File

@@ -29,7 +29,7 @@ CAF_PDM_SOURCE_INIT( RimWellMeasurementFilePath, "WellMeasurementFilePath" );
//--------------------------------------------------------------------------------------------------
RimWellMeasurementFilePath::RimWellMeasurementFilePath()
{
CAF_PDM_InitObject( "RimWellMeasurementFilePath", ":/WellMeasurement16x16.png", "", "" );
CAF_PDM_InitObject( "RimWellMeasurementFilePath", ":/WellMeasurement16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_userDescription, "UserDecription", "Name" );
CAF_PDM_InitFieldNoDefault( &m_filePath, "FilePath", "File Path" );

View File

@@ -48,7 +48,7 @@ CAF_PDM_SOURCE_INIT( RimWellMeasurementInView, "WellMeasurementInView" );
//--------------------------------------------------------------------------------------------------
RimWellMeasurementInView::RimWellMeasurementInView()
{
CAF_PDM_InitObject( "Well Measurement", ":/WellMeasurement16x16.png", "", "" );
CAF_PDM_InitObject( "Well Measurement", ":/WellMeasurement16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_measurementKind, "MeasurementKind", "Measurement Kind" );
m_measurementKind.uiCapability()->setUiHidden( true );

View File

@@ -43,7 +43,7 @@ CAF_PDM_SOURCE_INIT( RimWellMeasurementInViewCollection, "WellMeasurementsInView
//--------------------------------------------------------------------------------------------------
RimWellMeasurementInViewCollection::RimWellMeasurementInViewCollection()
{
CAF_PDM_InitObject( "Well Measurements", ":/WellMeasurement16x16.png", "", "" );
CAF_PDM_InitObject( "Well Measurements", ":/WellMeasurement16x16.png" );
CAF_PDM_InitFieldNoDefault( &m_measurementsInView, "MeasurementKinds", "Measurement Kinds" );
m_measurementsInView.uiCapability()->setUiTreeHidden( true );