cxx_graph.h File Reference

#include "defs.h"
#include "cxx_graph.i"
#include "graph_template.h"
Include dependency graph for cxx_graph.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  VERTEX16
class  EDGE16

Defines

#define cxx_graph_INCLUDED   "cxx_graph.h"

Define Documentation

#define cxx_graph_INCLUDED   "cxx_graph.h"

Revision history:

21-OCT-94 dkchen - Original Version 10-NOV-94 dkchen - Make DIRECTED_GRAPH16 a template class and move it to graph_template.h.

Description:

This interface describes vertex and edge classes used in a directed graph class. See "graph_template.h" for details on the directed graph class, DIRECTED_GRAPH16, which assumes the edges and vertices to be derived classes from EDGE16 and VERTEX16 described here.

Exported Types and Functions:

VERTEX16

Type of a vertex in the graph.

VERTEX16()

Construct a vertex and initialize it.

~VERTEX16()

Destruct a vertex.

VERTEX16& operator=(const VERTEX16& v)

Vertex assignment operation. In/out edges are copied.

EINDEX16 Get_In_Edge() const EINDEX16 Get_Out_Edge() const

Get the first in/out edge of this vertex.

EDGE16

Type of an edge in the graph.

EDGE16()

Construc an edge and initialize it.

~EDGE16()

Destruct an edge.

EDGE16& operator=(const EDGE16& e)

Edge assignment operation. Source and sink vertices are copied.

VINDEX16 Get_Source() const VINDEX16 Get_Sink() const

Get the source/sink vertex of this edge.

Definition at line 103 of file cxx_graph.h.


Generated on Tue Nov 17 05:57:36 2009 for Open64 (mfef90, whirl2f, and IR tools) by  doxygen 1.6.1