Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50093 - sandbox/dataflow-rewrite/boost/dataflow/blueprint
From: stipe_at_[hidden]
Date: 2008-12-03 14:19:04


Author: srajko
Date: 2008-12-03 14:19:04 EST (Wed, 03 Dec 2008)
New Revision: 50093
URL: http://svn.boost.org/trac/boost/changeset/50093

Log:
added entity member functions to with-context versions of framework_entity
Text files modified:
   sandbox/dataflow-rewrite/boost/dataflow/blueprint/framework_entity_adapter.hpp | 8 ++++++++
   1 files changed, 8 insertions(+), 0 deletions(-)

Modified: sandbox/dataflow-rewrite/boost/dataflow/blueprint/framework_entity_adapter.hpp
==============================================================================
--- sandbox/dataflow-rewrite/boost/dataflow/blueprint/framework_entity_adapter.hpp (original)
+++ sandbox/dataflow-rewrite/boost/dataflow/blueprint/framework_entity_adapter.hpp 2008-12-03 14:19:04 EST (Wed, 03 Dec 2008)
@@ -76,6 +76,14 @@
         : Base(fo, typeid(m_entity))
         , m_entity(t)
     {}
+ entity_type &entity()
+ {
+ return m_entity;
+ }
+ const entity_type &entity() const
+ {
+ return m_entity;
+ }
 private:
     virtual void *get_ptr()
     {


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk