00001
00002
00003
00004
00005
00006
00007
00008
00009 #ifndef LIBRARIES_NODE_H_
00010 #define LIBRARIES_NODE_H_
00011
00012 #include <string>
00013 #include <set>
00014 #include "quantities/Ports.h"
00015
00016
00017 namespace cosi
00018 {
00019
00020 namespace library {
00021
00037 class Node
00038 {
00039 public:
00040
00042 Node();
00044 virtual ~Node();
00046 void SetName( std::string pName ) ;
00048 std::string GetName( ) ;
00050 void SetType( std::string Type ) ;
00052 std::string GetType( ) ;
00053
00054 Ports GetPorts( ) ;
00055
00056 private:
00057 std::string mName ;
00058 std::string mType ;
00059 protected:
00060 Ports mPorts ;
00061 };
00062
00063 }
00064 }
00065
00066 #endif