mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
LocalGrid. Move implementation to cpp file
This commit is contained in:
parent
822645e264
commit
3edfd1dca6
@ -32,3 +32,35 @@ RigLocalGrid::RigLocalGrid(RigMainGrid* mainGrid):
|
|||||||
RigLocalGrid::~RigLocalGrid()
|
RigLocalGrid::~RigLocalGrid()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
RigGridBase * RigLocalGrid::parentGrid() const
|
||||||
|
{
|
||||||
|
return m_parentGrid;
|
||||||
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
void RigLocalGrid::setParentGrid(RigGridBase * parentGrid)
|
||||||
|
{
|
||||||
|
m_parentGrid = parentGrid;
|
||||||
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
size_t RigLocalGrid::positionInParentGrid() const
|
||||||
|
{
|
||||||
|
return m_positionInParentGrid;
|
||||||
|
}
|
||||||
|
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
///
|
||||||
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
void RigLocalGrid::setPositionInParentGrid(size_t positionInParentGrid)
|
||||||
|
{
|
||||||
|
m_positionInParentGrid = positionInParentGrid;
|
||||||
|
}
|
||||||
|
@ -25,11 +25,11 @@ public:
|
|||||||
explicit RigLocalGrid(RigMainGrid* mainGrid);
|
explicit RigLocalGrid(RigMainGrid* mainGrid);
|
||||||
~RigLocalGrid() override;
|
~RigLocalGrid() override;
|
||||||
|
|
||||||
RigGridBase * parentGrid() const { return m_parentGrid; }
|
RigGridBase * parentGrid() const;
|
||||||
void setParentGrid(RigGridBase * parentGrid) { m_parentGrid = parentGrid; }
|
void setParentGrid(RigGridBase * parentGrid);
|
||||||
|
|
||||||
size_t positionInParentGrid() const { return m_positionInParentGrid; }
|
size_t positionInParentGrid() const;
|
||||||
void setPositionInParentGrid(size_t positionInParentGrid) { m_positionInParentGrid = positionInParentGrid; }
|
void setPositionInParentGrid(size_t positionInParentGrid);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
RigGridBase * m_parentGrid;
|
RigGridBase * m_parentGrid;
|
||||||
|
Loading…
Reference in New Issue
Block a user