summaryrefslogtreecommitdiff
path: root/include/gras/element.hpp
diff options
context:
space:
mode:
authorJosh Blum2013-09-09 00:01:07 -0700
committerJosh Blum2013-09-09 00:01:07 -0700
commitf9c0d4c2e39aa28cc501ceb6479afc32f7849b11 (patch)
tree63a6677b3d4051c8a7776515ec733f6d475d1a15 /include/gras/element.hpp
parent7c4911c28c28305ed4d1aab9b5ea82f96b49f404 (diff)
downloadsandhi-f9c0d4c2e39aa28cc501ceb6479afc32f7849b11.tar.gz
sandhi-f9c0d4c2e39aa28cc501ceb6479afc32f7849b11.tar.bz2
sandhi-f9c0d4c2e39aa28cc501ceb6479afc32f7849b11.zip
gras: work on global config that works on hier
Diffstat (limited to 'include/gras/element.hpp')
-rw-r--r--include/gras/element.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/gras/element.hpp b/include/gras/element.hpp
index df47bef..ce5d658 100644
--- a/include/gras/element.hpp
+++ b/include/gras/element.hpp
@@ -10,6 +10,7 @@
#include <gras/gras.hpp>
#include <gras/callable.hpp>
+#include <gras/block_config.hpp>
#include <gras/weak_container.hpp>
#include <boost/shared_ptr.hpp>
@@ -66,6 +67,16 @@ struct GRAS_API Element : Callable, boost::shared_ptr<ElementImpl>
std::string to_string(void) const;
/*******************************************************************
+ * config interface
+ ******************************************************************/
+
+ //! Get the global block config settings
+ const GlobalBlockConfig &global_config(void) const;
+
+ //! Get the global block config settings
+ GlobalBlockConfig &global_config(void);
+
+ /*******************************************************************
* identification interface
******************************************************************/