TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/host/graph/UVertex.hpp
Go to the documentation of this file.
00001 #ifndef _TUTTLE_HOST_VERTEX_HPP_
00002 #define _TUTTLE_HOST_VERTEX_HPP_
00003 
00004 #include "IVertex.hpp"
00005 
00006 #include <tuttle/host/INode.hpp>
00007 
00008 #include <string>
00009 #include <iostream>
00010 
00011 namespace tuttle {
00012 namespace host {
00013 namespace graph {
00014 
00015 /**
00016  * @brief Vertex of the user graph.
00017  */
00018 class UVertex : public IVertex
00019 {
00020 public:
00021         typedef std::string Key;
00022 public:
00023         UVertex()
00024         {}
00025         
00026         UVertex( const std::string& name, INode& processNode );
00027 
00028         ~UVertex() {}
00029 
00030         Key getKey() const { return getName(); }
00031         
00032         friend std::ostream& operator<<( std::ostream& os, const UVertex& v );
00033 };
00034 
00035 }
00036 }
00037 }
00038 
00039 #endif
00040