Class SBCGraphArcCollection#
ClassList > SBCGraphArcCollection
This class describes a collection of graph arcs. More...
#include <SBCGraphArcCollection.hpp>
Inherits the following classes: SBPointerList< SBCGraphNode, SBCGraphArc >
Classes#
| Type | Name |
|---|---|
| class | iterator |
| class | reverse_iterator |
Public Functions#
| Type | Name |
|---|---|
| SBCGraphArcCollection (SBCGraphNode * graphNode) Constructs a graph arc collection owned by the specified graph node. |
|
| iterator | begin () Returns a begin iterator to arcs. |
| iterator | end () Returns an end iterator to arcs. |
| SBCGraphNode * | getGraphNodeOwner () const Returns the graph node which owns the graph arc collection. |
| reverse_iterator | rbegin () Returns a reverse begin iterator to arcs. |
| reverse_iterator | rend () Returns a reverse end iterator to arcs. |
| virtual | ~SBCGraphArcCollection () Destroys the graph arc collection. |
Protected Attributes#
| Type | Name |
|---|---|
| SBCGraphNode * | graphNodeOwner The graph node which owns the graph arc collection. |
Detailed Description#
Short name: SBGraphArcCollection
Public Functions Documentation#
function SBCGraphArcCollection#
Constructs a graph arc collection owned by the specified graph node.
Parameters:
gPointer to the graph node that will own this collection.
function begin#
Returns a begin iterator to arcs.
Returns an iterator to the first graph arc in the collection.
Returns:
Iterator pointing to the first arc.
function end#
Returns an end iterator to arcs.
Returns an iterator to the end of the collection (past-the-last arc).
Returns:
End iterator.
function getGraphNodeOwner#
Returns the graph node which owns the graph arc collection.
Returns the graph node that owns this collection.
Returns:
Pointer to the owning SBCGraphNode.
function rbegin#
Returns a reverse begin iterator to arcs.
Returns a reverse iterator to the last graph arc in the collection.
Returns:
Reverse iterator pointing to the last arc.
function rend#
Returns a reverse end iterator to arcs.
Returns a reverse iterator to the element before the first (past-the-beginning).
Returns:
Reverse end iterator.
function ~SBCGraphArcCollection#
Destroys the graph arc collection.
Protected Attributes Documentation#
variable graphNodeOwner#
The graph node which owns the graph arc collection.