This template class describes a generic graph node.
Iterators | |
T | value |
SBCGraphNodeTemplate (T &v) | |
virtual | ~SBCGraphNodeTemplate () |
virtual void | setValue (T &value) |
T | getValue () const |
T & | getReference () |
T const & | getConstReference () const |
static T const & | getValue (SBCGraphArc *container) |
Additional Inherited Members | |
![]() | |
SBCGraphNode () | |
Builds a graph node with no connections. | |
virtual | ~SBCGraphNode () |
Deletes the graph node. If the node has predecessors or successors, any reference to this node there are automatically removed. | |
SBCReferenceListLink * | addSuccessor (SBCGraphNode *graphNode) |
Adds a successor to the graph node. More... | |
SBCReferenceListLink * | addPredecessor (SBCGraphNode *graphNode) |
Adds a predecessor to the graph node. More... | |
void | removeSuccessor (SBCGraphNode *graphNode) |
Removes a successor to the graph node. More... | |
void | removePredecessor (SBCGraphNode *graphNode) |
Removes a predecessor to the graph node. More... | |
void | removeSuccessor (SBCReferenceListLink *referenceListLink) |
Removes a successor to the graph node (constant time) More... | |
void | removePredecessor (SBCReferenceListLink *referenceListLink) |
Removes a predecessor to the graph node (constant time) More... | |
void | removeAllSuccessors () |
Removes all successors to the graph node. More... | |
void | removeAllPredecessors () |
Removes all predecessors to the graph node. More... | |
unsigned int | getNumberOfSuccessors () const |
Returns the number of successors. | |
unsigned int | getNumberOfPredecessors () const |
Returns the number of predecessors. | |
SBCGraphArc * | getArcToSuccessor (SBCGraphNode *graphNode) const |
Returns the arc to the successor graphNode (0 if not found) | |
SBCGraphArc * | getArcFromPredecessor (SBCGraphNode *graphNode) const |
Returns the arc from the predecessor graphNode (0 if not found) | |
iterator | beginSuccessors () |
Returns a begin iterator to successors. | |
iterator | endSuccessors () |
Returns an end iterator to successors. | |
reverse_iterator | rbeginSuccessors () |
Returns a reverse begin iterator to successors. | |
reverse_iterator | rendSuccessors () |
Returns a reverse end iterator to successors. | |
iterator | beginPredecessors () |
Returns a begin iterator to predecessors. | |
iterator | endPredecessors () |
Returns an end iterator to predecessors. | |
reverse_iterator | rbeginPredecessors () |
Returns a reverse begin iterator to predecessors. | |
reverse_iterator | rendPredecessors () |
Returns a reverse end iterator to predecessors. | |
void | printConnections () const |
Prints the list of connections of the nodes. More... | |
![]() | |
SBCReferenceTarget () | |
virtual | ~SBCReferenceTarget () |
unsigned int | getMemoryFootprint () const |
void | printReferencesToOwners () const |
![]() | |
void | removeAllReferenceOwners () |
SBCReferenceTarget (SBCReferenceTargetData *dataPointer) | |
![]() | |
SBCGraphArcCollection * | predecessors |
The list of predecessors. | |
SBCGraphArcCollection * | successors |
The list of predecessors. | |
![]() | |
SBCReferenceTargetData * | dataPointer |