Implement BasicLayer.getTop() & getBottom(), need them in real mode.
This commit is contained in:
Jean-Paul Chaput 2020-11-11 13:43:26 +01:00
parent 266409acc4
commit 61b9817421
2 changed files with 10 additions and 0 deletions

View File

@ -209,6 +209,14 @@ namespace Hurricane {
{ return BasicLayer_BasicLayers(this); }
const Layer* BasicLayer::getTop () const
{ return this; }
const Layer* BasicLayer::getBottom () const
{ return this; }
void BasicLayer::_postCreate ()
{
Mask basicLayersMask = 0;

View File

@ -95,6 +95,8 @@ namespace Hurricane {
inline unsigned getGds2Datatype () const;
virtual BasicLayers getBasicLayers () const;
virtual BasicLayer* getBlockageLayer () const;
virtual const Layer* getTop () const;
virtual const Layer* getBottom () const;
inline const Name& getRealName () const;
// Updators
inline void setBlockageLayer ( BasicLayer* layer);