Web Analytics Made Easy - Statcounter
Skip to content

Class SBCGraphArcCollection::iterator#

ClassList > SBCGraphArcCollection > iterator

Inherits the following classes: SBPointerList::iterator

Inherited by the following classes: SBCGraphNode::iterator

Public Functions#

Type Name
SB_SBCGRAPH_EXPORT SBCGraphArc * getGraphArc () const
Returns the graph arc associated with the iterator.
SB_SBCGRAPH_EXPORT SBCGraphNode * getGraphNode () const
Returns the graph node associated with the iterator.
SB_SBCGRAPH_EXPORT iterator ()
Constructs an empty iterator.
SB_SBCGRAPH_EXPORT iterator (SBCReferenceListLink * referenceListLink)
Constructs an iterator from a reference list link.
SB_SBCGRAPH_EXPORT iterator (const iterator & i)
Copy-constructs an iterator from another iterator.
virtual SB_SBCGRAPH_EXPORT ~iterator ()
Destroys the iterator.

Public Functions Documentation#

function getGraphArc#

Returns the graph arc associated with the iterator.

SB_SBCGRAPH_EXPORT SBCGraphArc * SBCGraphArcCollection::iterator::getGraphArc () const

Returns:

Pointer to the associated SBCGraphArc.


function getGraphNode#

Returns the graph node associated with the iterator.

SB_SBCGRAPH_EXPORT SBCGraphNode * SBCGraphArcCollection::iterator::getGraphNode () const

Returns:

Pointer to the associated SBCGraphNode.


function iterator [1/3]#

Constructs an empty iterator.

SB_SBCGRAPH_EXPORT SBCGraphArcCollection::iterator::iterator () 

Creates an iterator with a null reference list link.


function iterator [2/3]#

Constructs an iterator from a reference list link.

SB_SBCGRAPH_EXPORT SBCGraphArcCollection::iterator::iterator (
    SBCReferenceListLink * referenceListLink
) 

Parameters:

  • l Pointer to the reference list link to wrap.

function iterator [3/3]#

Copy-constructs an iterator from another iterator.

SB_SBCGRAPH_EXPORT SBCGraphArcCollection::iterator::iterator (
    const iterator & i
) 

Parameters:

  • i The iterator to copy.

function ~iterator#

Destroys the iterator.

virtual SB_SBCGRAPH_EXPORT SBCGraphArcCollection::iterator::~iterator ()