#3512 System : Remove unused functions

This commit is contained in:
Magne Sjaastad
2018-10-18 15:14:25 +02:00
parent 5e25db97da
commit 766fea603e
54 changed files with 47 additions and 669 deletions

View File

@@ -413,14 +413,6 @@ QString RiaDefines::wellPathSFGResultName()
return "SFG";
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
QString RiaDefines::wellPathCasingShoeSizeChannelName()
{
return "CASING_SIZE";
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -106,9 +106,6 @@ namespace RiaDefines
QString wellPathFGResultName();
QString wellPathSFGResultName();
// Well path casing shoe size
QString wellPathCasingShoeSizeChannelName();
// List of well path derived results
std::vector<QString> wellPathAngleResultNames();
std::vector<QString> wellPathStabilityResultNames();

View File

@@ -236,14 +236,6 @@ QDateTime RiaQDateTimeTools::createUtcDateTime(const QDateTime& dt)
return qdt;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RiaQDateTimeTools::equalTo(const QDateTime& dt1, const QDateTime& dt2)
{
return dt1.secsTo(dt2) == 0;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -253,15 +245,6 @@ bool RiaQDateTimeTools::lessThan(const QDateTime& dt1, const QDateTime& dt2)
return dt1.secsTo(dt2) > 0;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RiaQDateTimeTools::lessThanOrEqualTo(const QDateTime& dt1, const QDateTime& dt2)
{
// dt1 <= dt2
return dt1.secsTo(dt2) >= 0;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -89,9 +89,7 @@ public:
static QDateTime createUtcDateTime(const QDate& date, const QTime& time);
static QDateTime createUtcDateTime(const QDateTime& dt);
static bool equalTo(const QDateTime& dt1, const QDateTime& dt2);
static bool lessThan(const QDateTime& dt1, const QDateTime& dt2);
static bool lessThanOrEqualTo(const QDateTime& dt1, const QDateTime& dt2);
static const DateTimeSpan timeSpan(DateTimePeriod period);
static QDateTime truncateTime(const QDateTime& dt, DateTimePeriod period);

View File

@@ -76,14 +76,6 @@ std::vector<double>& RiaTimeHistoryCurveMerger::interpolatedCurveValuesForAllTim
return m_interpolatedValuesForAllCurves[curveIdx];
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
int RiaTimeHistoryCurveMerger::interploatedCurveCount() const
{
return static_cast<int>(m_interpolatedValuesForAllCurves.size());
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------

View File

@@ -40,7 +40,6 @@ public:
RiaCurveDataTools::CurveIntervals validIntervalsForAllTimeSteps() const;
const std::vector<time_t>& allTimeSteps() const;
const std::vector<double>& interpolatedCurveValuesForAllTimeSteps(size_t curveIdx) const;
int interploatedCurveCount() const;
// Non-const access is not required by any clients, but the expression parser has no available const interface
// for specifying a data source for an expression variable. Allow non-const access to avoid copy of the contained