mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1440 Add const to date access functions
This commit is contained in:
parent
6cd0f0ebd2
commit
07e1acac15
@ -1840,7 +1840,7 @@ std::vector< RigFemResultAddress> RigFemPartResultsCollection::getResAddrToCompo
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<std::string> RigFemPartResultsCollection::stepNames()
|
||||
std::vector<std::string> RigFemPartResultsCollection::stepNames() const
|
||||
{
|
||||
CVF_ASSERT(m_readerInterface.notNull());
|
||||
return m_readerInterface->stepNames();
|
||||
|
@ -51,7 +51,7 @@ public:
|
||||
double parameterFrictionAngleRad() const { return m_frictionAngleRad; }
|
||||
|
||||
std::map<std::string, std::vector<std::string> > scalarFieldAndComponentNames(RigFemResultPosEnum resPos);
|
||||
std::vector<std::string> stepNames();
|
||||
std::vector<std::string> stepNames() const;
|
||||
bool assertResultsLoaded(const RigFemResultAddress& resVarAddr);
|
||||
void deleteResult(const RigFemResultAddress& resVarAddr);
|
||||
|
||||
|
@ -44,8 +44,8 @@ public:
|
||||
virtual bool openFile(const std::string& fileName, std::string* errorMessage) = 0;
|
||||
|
||||
virtual bool readFemParts(RigFemPartCollection* geoMechCase) = 0;
|
||||
virtual std::vector<std::string> stepNames() = 0;
|
||||
virtual std::vector<double> frameTimes(int stepIndex) = 0;
|
||||
virtual std::vector<std::string> stepNames() const = 0;
|
||||
virtual std::vector<double> frameTimes(int stepIndex) const = 0;
|
||||
|
||||
virtual std::vector<std::string> elementSetNames(int partIndex) = 0;
|
||||
virtual std::vector<size_t> elementSet(int partIndex, int setIndex) = 0;
|
||||
|
@ -422,7 +422,7 @@ bool RifOdbReader::readFemParts(RigFemPartCollection* femParts)
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<std::string> RifOdbReader::stepNames()
|
||||
std::vector<std::string> RifOdbReader::stepNames() const
|
||||
{
|
||||
CVF_ASSERT(m_odb != NULL);
|
||||
|
||||
@ -442,7 +442,7 @@ std::vector<std::string> RifOdbReader::stepNames()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::vector<double> RifOdbReader::frameTimes(int stepIndex)
|
||||
std::vector<double> RifOdbReader::frameTimes(int stepIndex) const
|
||||
{
|
||||
CVF_ASSERT(m_odb != NULL);
|
||||
|
||||
|
@ -44,8 +44,8 @@ public:
|
||||
virtual bool openFile(const std::string& fileName, std::string* errorMessage);
|
||||
|
||||
virtual bool readFemParts(RigFemPartCollection* geoMechCase);
|
||||
virtual std::vector<std::string> stepNames();
|
||||
virtual std::vector<double> frameTimes(int stepIndex);
|
||||
virtual std::vector<std::string> stepNames() const override;
|
||||
virtual std::vector<double> frameTimes(int stepIndex) const override;
|
||||
|
||||
virtual std::vector<std::string> elementSetNames(int partIndex);
|
||||
virtual std::vector<size_t> elementSet(int partIndex, int setIndex);
|
||||
|
Loading…
Reference in New Issue
Block a user