Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
node_data.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file node_data.h
1 /* This software is distributed under the GNU Lesser General Public License */
2 //==========================================================================
3 //
4 // node_data.h - Internal header: DO NO USE IT DIRECTLY !!!
5 //
6 //==========================================================================
7 // $Id: node_data.h,v 1.7 2000/01/05 16:32:38 raitner Exp $
8 
9 #ifndef GTL_NODE_DATA_H
10 #define GTL_NODE_DATA_H
11 
12 #include <GTL/GTL.h>
13 #include <GTL/node.h>
14 #include <GTL/edge.h>
15 
16 #include <list>
17 
19 
20 class graph;
21 
26 {
27 public:
28  int id; // internal numbering
29  graph *owner; // graph containing this node
30  list<node>::iterator pos; // position in the list of all nodes
31  list<edge> edges[2]; // edges incident to this node
32  // edges[0] = in_edges, edges[1] = out_edges
33  bool hidden;
34 };
35 
37 
38 #endif // GTL_NODE_DATA_H
39 
40 //--------------------------------------------------------------------------
41 // end of file
42 //--------------------------------------------------------------------------