ORDERED_NODE_ITER Module Reference

#include <ip_graph_trav.h>

Collaboration diagram for ORDERED_NODE_ITER:

Collaboration graph
[legend]

Public Member Functions

 ORDERED_NODE_ITER (GRAPH *gr, TRAVERSAL_ORDER o, MEM_POOL *mm)
 ~ORDERED_NODE_ITER (void)
void operator++ ()
NODE_INDEX Current () const
BOOL Is_Empty () const
void Reset ()
void Print (FILE *)
void Compute_Node_Level (NODE_INDEX)

Private Member Functions

void Walk (NODE_INDEX r, mUINT8 *visit)
void BuildVector (TRAVERSAL_ORDER)
void MarkRecursive (mUINT8 visit[], NODE_INDEX r)
void Build_Level_Order ()

Private Attributes

GRAPHg
INT cur_v
VVECTORv
TRAVERSAL_ORDER order
MEM_POOLm

Detailed Description

Definition at line 157 of file ip_graph_trav.h.


Constructor & Destructor Documentation

ORDERED_NODE_ITER::ORDERED_NODE_ITER ( GRAPH gr,
TRAVERSAL_ORDER  o,
MEM_POOL mm 
) [inline]

Definition at line 173 of file ip_graph_trav.h.

References BuildVector(), cur_v, g, m, and order.

ORDERED_NODE_ITER::~ORDERED_NODE_ITER ( void   )  [inline]

Definition at line 181 of file ip_graph_trav.h.

References CXX_DELETE, Malloc_Mem_Pool, and v.


Member Function/Subroutine Documentation

void ORDERED_NODE_ITER::Walk ( NODE_INDEX  r,
mUINT8 visit 
) [private]

Referenced by BuildVector().

void ORDERED_NODE_ITER::BuildVector ( TRAVERSAL_ORDER  order  )  [private]

void ORDERED_NODE_ITER::MarkRecursive ( mUINT8  visit[],
NODE_INDEX  r 
) [private]

void ORDERED_NODE_ITER::Build_Level_Order (  )  [private]

void ORDERED_NODE_ITER::operator++ ( void   )  [inline]

Definition at line 186 of file ip_graph_trav.h.

References cur_v.

NODE_INDEX ORDERED_NODE_ITER::Current ( void   )  const [inline]

Definition at line 187 of file ip_graph_trav.h.

References cur_v, and v.

Referenced by IPA_NODE_ITER::Current().

BOOL ORDERED_NODE_ITER::Is_Empty ( void   )  const [inline]

Definition at line 188 of file ip_graph_trav.h.

References VVECTOR::Cnt(), cur_v, and v.

Referenced by IPA_NODE_ITER::Is_Empty().

void ORDERED_NODE_ITER::Reset (  )  [inline]

Definition at line 189 of file ip_graph_trav.h.

References cur_v.

Referenced by IPA_NODE_ITER::First().

void ORDERED_NODE_ITER::Print ( FILE fp  ) 

Definition at line 98 of file ip_graph_trav.cxx.

References VVECTOR::Cnt(), fprintf(), i, INT, order, POSTORDER, PREORDER, and v.

Referenced by IPA_NODE_ITER::Print().

void ORDERED_NODE_ITER::Compute_Node_Level ( NODE_INDEX  r  ) 


Field Documentation

Definition at line 161 of file ip_graph_trav.h.

Referenced by Current(), Is_Empty(), operator++(), ORDERED_NODE_ITER(), and Reset().

Definition at line 163 of file ip_graph_trav.h.

Referenced by ORDERED_NODE_ITER(), and Print().

Definition at line 164 of file ip_graph_trav.h.

Referenced by ORDERED_NODE_ITER().


The documentation for this module was generated from the following files:

Generated on Wed Apr 8 16:59:10 2009 for Open64 by  doxygen 1.5.6