diff options
author | Josh Blum | 2012-09-03 00:05:21 -0700 |
---|---|---|
committer | Josh Blum | 2012-09-03 00:05:21 -0700 |
commit | a85ae6b4f8b60a19ff7fa9b69a963d12fdb491cb (patch) | |
tree | 4d44ecad3b7493e2e88f1c8f7e1fa5753769d7fc /lib/element.cpp | |
parent | 31a786ff101ef66cf9a344df0efc3cb01db59da5 (diff) | |
download | sandhi-a85ae6b4f8b60a19ff7fa9b69a963d12fdb491cb.tar.gz sandhi-a85ae6b4f8b60a19ff7fa9b69a963d12fdb491cb.tar.bz2 sandhi-a85ae6b4f8b60a19ff7fa9b69a963d12fdb491cb.zip |
top and hier block brought into python
Diffstat (limited to 'lib/element.cpp')
-rw-r--r-- | lib/element.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/element.cpp b/lib/element.cpp index addc04d..861a2dc 100644 --- a/lib/element.cpp +++ b/lib/element.cpp @@ -46,6 +46,11 @@ ElementImpl::~ElementImpl(void) if (this->topology) this->hier_block_cleanup(); } +const Element &Element::get_base(void) const +{ + return *this; +} + long Element::unique_id(void) const { return (*this)->unique_id; |