Advertisement
Guest User

Node.h

a guest
Apr 15th, 2014
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.44 KB | None | 0 0
  1. #pragma once
  2.  
  3. #include "liste.h"
  4. #include "Edge.h"
  5.  
  6. namespace prk
  7. {
  8.     class Node
  9.     {
  10.     public:
  11.         Node();
  12.         ~Node();
  13.         void setKex(std::string);
  14.         void setPositionX(int);
  15.         void setPositionY(int);
  16.         void setNewEdge(prk::Edge*);
  17.         std::string getKey();
  18.         int getPositionX();
  19.         int getPositionY();
  20.         Liste<prk::Edge*> getEdges();
  21.     private:
  22.         std::string node_key;
  23.         int position_x;
  24.         int position_y;
  25.         Liste<prk::Edge *> edges;
  26.     };
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement