Web Analytics Made Easy - Statcounter
Skip to content

Class SBCGraphArcCollection#

ClassList > SBCGraphArcCollection

This class describes a collection of graph arcs. More...

  • #include "SBCGraphArcCollection.hpp"

Inherits the following classes: SBCReferencePointerList

Classes#

Type Name
class iterator
class reverse_iterator

Public Types inherited from SBCReferencePointerList#

See SBCReferencePointerList

Type Name
typedef ReferenceTargetType TargetType

Public Functions#

Type Name
SBCGraphArcCollection (SBCGraphNode * graphNode)
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 ()

Public Functions inherited from SBCReferencePointerList#

See SBCReferencePointerList

Type Name
SBCReferencePointerList ()
Builds a SAMSON pointer list.
SBCReferencePointerList (const SBCReferencePointerList & pointerList)
Copy constructor.
iterator begin ()
Returns an iterator that points to the beginning of the pointer list.
const_iterator begin () const
Returns a const iterator that points to the beginning of the pointer list.
iterator end ()
Returns an iterator that points to the end of the pointer list.
const_iterator end () const
Returns a const iterator that points to the end of the pointer list.
iterator erase (iterator position)
iterator erase (iterator first, iterator last)
iterator find (ReferenceTargetType * referenceTarget)
const_iterator find (ReferenceTargetType * referenceTarget) const
ReferenceTargetType * first () const
ReferenceTargetType * last () const
reverse_iterator rbegin ()
Returns a reverse iterator that points to the reverse beginning of the pointer list.
const_reverse_iterator rbegin () const
Returns a const reverse iterator that points to the reverse beginning of the pointer list.
reverse_iterator rend ()
Returns a reverse iterator that points to the reverse end of the pointer list.
const_reverse_iterator rend () const
Returns a const reverse iterator that points to the reverse end of the pointer list.
virtual ~SBCReferencePointerList ()
Destructor.

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#

SBCGraphArcCollection::SBCGraphArcCollection (
    SBCGraphNode * graphNode
) 

function begin#

Returns a begin iterator to arcs.

iterator SBCGraphArcCollection::begin () 


function end#

Returns an end iterator to arcs.

iterator SBCGraphArcCollection::end () 


function getGraphNodeOwner#

Returns the graph node which owns the graph arc collection.

SBCGraphNode * SBCGraphArcCollection::getGraphNodeOwner () const


function rbegin#

Returns a reverse begin iterator to arcs.

reverse_iterator SBCGraphArcCollection::rbegin () 


function rend#

Returns a reverse end iterator to arcs.

reverse_iterator SBCGraphArcCollection::rend () 


function ~SBCGraphArcCollection#

virtual SBCGraphArcCollection::~SBCGraphArcCollection () 

Protected Attributes Documentation#

variable graphNodeOwner#

The graph node which owns the graph arc collection.

SBCGraphNode* SBCGraphArcCollection::graphNodeOwner;