mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3958 Refactoring: EclipseResultAddress can now be used with type and variable in addition to index (which is to be removed)
This commit is contained in:
@@ -41,13 +41,14 @@ public:
|
||||
|
||||
bool isValid() const
|
||||
{
|
||||
return (scalarResultIndex != -1);
|
||||
// Todo
|
||||
if (scalarResultIndex != -1) return true;
|
||||
if (!m_resultName.isEmpty()) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
bool operator< (const RigEclipseResultAddress& other ) const
|
||||
{
|
||||
// Todo
|
||||
if (scalarResultIndex != other.scalarResultIndex)
|
||||
{
|
||||
return (scalarResultIndex < other.scalarResultIndex);
|
||||
|
||||
Reference in New Issue
Block a user