summaryrefslogtreecommitdiff
path: root/src/expr/attribute_internals.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2013-11-14 11:56:34 -0500
committerTim King <taking@cs.nyu.edu>2013-11-21 10:43:44 -0500
commit91424455840a7365a328cbcc3d02ec453fe9d0ea (patch)
treee8072eb0c7dda81feafb1c5f9a4ca2f0fcbc0399 /src/expr/attribute_internals.h
parentbd8e9319aab69db90692f72bc52288329879eefc (diff)
Adding the changes needed to delete rewriter attributes. This includes being able to list attributes. Additionally, added debugging hooks to node manager and attribute manager.
Diffstat (limited to 'src/expr/attribute_internals.h')
-rw-r--r--src/expr/attribute_internals.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/expr/attribute_internals.h b/src/expr/attribute_internals.h
index a0086440b..fa6459481 100644
--- a/src/expr/attribute_internals.h
+++ b/src/expr/attribute_internals.h
@@ -357,6 +357,15 @@ public:
super::clear();
}
+ /** Is the hash table empty? */
+ bool empty() const {
+ return super::empty();
+ }
+
+ /** This is currently very misleading! */
+ size_t size() const {
+ return super::size();
+ }
};/* class AttrHash<bool> */
/**
@@ -558,6 +567,16 @@ public:
super::clear();
}
+ /** Is the hash table empty? */
+ bool empty() const {
+ return super::empty();
+ }
+
+ /** This is currently very misleading! */
+ size_t size() const {
+ return super::size();
+ }
+
};/* class CDAttrHash<bool> */
}/* CVC4::expr::attr namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback