mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5101 clang-format: Allow short functions on a single line
Use AllowShortFunctionsOnASingleLine: InlineOnly
This commit is contained in:
@@ -736,7 +736,9 @@ void RimFlowCharacteristicsPlot::onLoadDataAndUpdate()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
/// TODO: implement properly
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimFlowCharacteristicsPlot::assignIdIfNecessary() {}
|
||||
void RimFlowCharacteristicsPlot::assignIdIfNecessary()
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
||||
@@ -79,7 +79,9 @@ RimFlowDiagSolution::RimFlowDiagSolution( void )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimFlowDiagSolution::~RimFlowDiagSolution( void ) {}
|
||||
RimFlowDiagSolution::~RimFlowDiagSolution( void )
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
||||
@@ -152,7 +152,9 @@ QWidget* RimTofAccumulatedPhaseFractionsPlot::viewWidget()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimTofAccumulatedPhaseFractionsPlot::zoomAll() {}
|
||||
void RimTofAccumulatedPhaseFractionsPlot::zoomAll()
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -205,7 +207,9 @@ QString RimTofAccumulatedPhaseFractionsPlot::description() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
/// TODO: Implement properly
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimTofAccumulatedPhaseFractionsPlot::assignIdIfNecessary() {}
|
||||
void RimTofAccumulatedPhaseFractionsPlot::assignIdIfNecessary()
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
||||
@@ -80,13 +80,10 @@ protected:
|
||||
QImage snapshotWindowContent() override;
|
||||
|
||||
// Overridden PDM methods
|
||||
caf::PdmFieldHandle* userDescriptionField() override
|
||||
{
|
||||
return &m_userName;
|
||||
}
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||
const QVariant& oldValue,
|
||||
const QVariant& newValue ) override;
|
||||
caf::PdmFieldHandle* userDescriptionField() override { return &m_userName; }
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||
const QVariant& oldValue,
|
||||
const QVariant& newValue ) override;
|
||||
|
||||
private:
|
||||
caf::PdmField<bool> m_showPlotTitle;
|
||||
|
||||
@@ -99,7 +99,9 @@ QWidget* RimTotalWellAllocationPlot::viewWidget()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimTotalWellAllocationPlot::zoomAll() {}
|
||||
void RimTotalWellAllocationPlot::zoomAll()
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
@@ -119,7 +121,9 @@ void RimTotalWellAllocationPlot::fieldChangedByUi( const caf::PdmFieldHandle* ch
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
/// TODO: Implement properly
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimTotalWellAllocationPlot::assignIdIfNecessary() {}
|
||||
void RimTotalWellAllocationPlot::assignIdIfNecessary()
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
||||
@@ -76,13 +76,10 @@ protected:
|
||||
QImage snapshotWindowContent() override;
|
||||
|
||||
// Overridden PDM methods
|
||||
caf::PdmFieldHandle* userDescriptionField() override
|
||||
{
|
||||
return &m_userName;
|
||||
}
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||
const QVariant& oldValue,
|
||||
const QVariant& newValue ) override;
|
||||
caf::PdmFieldHandle* userDescriptionField() override { return &m_userName; }
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||
const QVariant& oldValue,
|
||||
const QVariant& newValue ) override;
|
||||
|
||||
private:
|
||||
void assignIdIfNecessary() final;
|
||||
|
||||
@@ -608,7 +608,9 @@ QString RimWellAllocationPlot::wellStatusTextForTimeStep( const QString&
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
/// TODO: Implement properly
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellAllocationPlot::assignIdIfNecessary() {}
|
||||
void RimWellAllocationPlot::assignIdIfNecessary()
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
||||
@@ -90,13 +90,10 @@ public:
|
||||
|
||||
protected:
|
||||
// Overridden PDM methods
|
||||
caf::PdmFieldHandle* userDescriptionField() override
|
||||
{
|
||||
return &m_userName;
|
||||
}
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||
const QVariant& oldValue,
|
||||
const QVariant& newValue ) override;
|
||||
caf::PdmFieldHandle* userDescriptionField() override { return &m_userName; }
|
||||
void fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||
const QVariant& oldValue,
|
||||
const QVariant& newValue ) override;
|
||||
|
||||
std::set<QString> findSortedWellNames();
|
||||
|
||||
|
||||
@@ -33,7 +33,9 @@ RimWellAllocationPlotLegend::RimWellAllocationPlotLegend()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellAllocationPlotLegend::~RimWellAllocationPlotLegend() {}
|
||||
RimWellAllocationPlotLegend::~RimWellAllocationPlotLegend()
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
||||
@@ -33,10 +33,7 @@ public:
|
||||
RimWellAllocationPlotLegend();
|
||||
~RimWellAllocationPlotLegend() override;
|
||||
|
||||
bool isShowingLegend()
|
||||
{
|
||||
return m_showLegend();
|
||||
}
|
||||
bool isShowingLegend() { return m_showLegend(); }
|
||||
|
||||
protected:
|
||||
caf::PdmFieldHandle* objectToggleField() override;
|
||||
|
||||
@@ -82,7 +82,9 @@ RimWellDistributionPlot::RimWellDistributionPlot( RiaDefines::PhaseType phase )
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellDistributionPlot::~RimWellDistributionPlot() {}
|
||||
RimWellDistributionPlot::~RimWellDistributionPlot()
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
||||
@@ -158,7 +158,9 @@ QImage RimWellDistributionPlotCollection::snapshotWindowContent()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellDistributionPlotCollection::zoomAll() {}
|
||||
void RimWellDistributionPlotCollection::zoomAll()
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
||||
@@ -54,7 +54,9 @@ RimWellFlowRateCurve::RimWellFlowRateCurve()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellFlowRateCurve::~RimWellFlowRateCurve() {}
|
||||
RimWellFlowRateCurve::~RimWellFlowRateCurve()
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
||||
@@ -282,18 +282,9 @@ public:
|
||||
RigResultPointCalculator() {}
|
||||
virtual ~RigResultPointCalculator() {}
|
||||
|
||||
const std::vector<cvf::Vec3d>& pipeBranchCLCoords()
|
||||
{
|
||||
return m_pipeBranchCLCoords;
|
||||
}
|
||||
const std::vector<RigWellResultPoint>& pipeBranchWellResultPoints()
|
||||
{
|
||||
return m_pipeBranchWellResultPoints;
|
||||
}
|
||||
const std::vector<double>& pipeBranchMeasuredDepths()
|
||||
{
|
||||
return m_pipeBranchMeasuredDepths;
|
||||
}
|
||||
const std::vector<cvf::Vec3d>& pipeBranchCLCoords() { return m_pipeBranchCLCoords; }
|
||||
const std::vector<RigWellResultPoint>& pipeBranchWellResultPoints() { return m_pipeBranchWellResultPoints; }
|
||||
const std::vector<double>& pipeBranchMeasuredDepths() { return m_pipeBranchMeasuredDepths; }
|
||||
|
||||
protected:
|
||||
RigEclipseWellLogExtractor* findWellLogExtractor( const QString& wellPathName, RimEclipseResultCase* eclCase )
|
||||
|
||||
@@ -68,7 +68,9 @@ RimWellRftEnsembleCurveSet::RimWellRftEnsembleCurveSet()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimWellRftEnsembleCurveSet::~RimWellRftEnsembleCurveSet() {}
|
||||
RimWellRftEnsembleCurveSet::~RimWellRftEnsembleCurveSet()
|
||||
{
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user