Skip to content

OpenAnalysis::Iterator

The Iterator abstract base class defines the basic properties of an iterator.

Synopsis

Declared in <src/midend/programAnalysis/OpenAnalysis/Utils/Iterator.h>

class Iterator;

Member Functions

Name

Description

Iterator [constructor]

Default constructor

~Iterator [destructor] [virtual]

Destructor

operator++ [virtual]

Increment operators

operator bool [virtual]

Conversion to bool

Derived Classes

Name

Description

BFSIterator

The BFSiterator calls the virtual function create_BFS_links the first time it is called, or if the graph has been changed since the last call.

BiDirNodesIterator

The bi‐directional node iterator iterates over all the nodes in the graph in no particular order ‐‐ except that the Forward direction is guaranteed to be opposite of the Reverse direction.

DFSIterator

The DFSiterator calls the virtual function create_DFS_links the first time it is called, or if the graph has been changed since the last call.

DefBlocksIterator

EdgesIterator

The edge iterator iterates over all the edges in the graph in no particular order.

IncomingEdgesIterator

Iterator to enumerate all the incoming edges into a node.

NodeLabelListIterator

NodeListIterator

NodeStatementsIterator

NodesIterator

The node iterator iterates over all the nodes in the graph in no particular order.

NonLocalsIterator

OutgoingEdgesIterator

Iterator to enumerate all the outgoing edges from a node.

SinkNodesIterator

Iterator to enumerate all the sink nodes.

SourceNodesIterator

Iterator to enumerate all the source nodes.

Created with MrDocs