vermont/src/core/Node.h
limmer 78ba659249 copied branch vermont-dynamic-config@r2113 to trunk
git-svn-id: file:///Users/braun/svn/vermont/trunk/vermont@2115 aef3b71b-58ee-0310-9ba9-8811b9f0742f
2009-06-23 17:09:49 +00:00

39 lines
500 B
C++

//
// C++ Interface: node
//
// Description:
//
//
// Author: Peter Baumann <siprbaum@users.berlios.de>, (C) 2007
//
// Copyright: See COPYING file that comes with this distribution
//
//
#ifndef NODE_H
#define NODE_H
/**
@author Peter Baumann <siprbaum@users.berlios.de>
*/
class Graph;
class Node {
friend class Graph;
public:
Node(Graph *g, unsigned int id);
~Node();
unsigned int getID();
protected:
void setID(unsigned int);
private:
Graph *graph;
unsigned int id;
};
#endif