TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/host/NodeListArg.cpp
Go to the documentation of this file.
00001 #include "NodeListArg.hpp"
00002 #include "INode.hpp"
00003 
00004 #include <boost/foreach.hpp>
00005 
00006 namespace tuttle {
00007 namespace host {
00008 
00009 NodeListArg::NodeListArg( const std::list<INode*>& nodes )
00010 {
00011         BOOST_FOREACH( INode * n, nodes )
00012         {
00013                 _nodes.push_back( n->getName() );
00014         }
00015 }
00016 
00017 NodeListArg::NodeListArg( const INode& node )
00018 {
00019         _nodes.push_back( node.getName() );
00020 }
00021 
00022 }
00023 }