summaryrefslogtreecommitdiff
path: root/lib/element_impl.hpp
diff options
context:
space:
mode:
authorJosh Blum2013-06-01 22:46:29 -0700
committerJosh Blum2013-06-01 22:46:29 -0700
commitd15ca88acfbd71c5d4f8ab3dabe0f4fbde205985 (patch)
treee0ba8437cf65503fa05197e774024da4f9b54230 /lib/element_impl.hpp
parent40af24eb55d2d43f51d7ada30566d5203f0fef8c (diff)
downloadsandhi-d15ca88acfbd71c5d4f8ab3dabe0f4fbde205985.tar.gz
sandhi-d15ca88acfbd71c5d4f8ab3dabe0f4fbde205985.tar.bz2
sandhi-d15ca88acfbd71c5d4f8ab3dabe0f4fbde205985.zip
gras: created uid API - replaces name and unique_id
Diffstat (limited to 'lib/element_impl.hpp')
-rw-r--r--lib/element_impl.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/element_impl.hpp b/lib/element_impl.hpp
index 89097b4..477b478 100644
--- a/lib/element_impl.hpp
+++ b/lib/element_impl.hpp
@@ -25,10 +25,11 @@ struct ElementImpl
void hier_block_cleanup(void);
void block_cleanup(void);
- //common element properties
+ //element identification
std::string name;
- long unique_id;
- std::string id;
+ std::string repr;
+ boost::shared_ptr<std::string> uid;
+
boost::shared_ptr<WeakContainer> weak_self;
//top block stuff