This template class describes a generic graph node.
|
void | printConnections () const |
| Prints the list of connections of the nodes.
|
|
| 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.
|
|
SBCReferenceListLink * | addPredecessor (SBCGraphNode *graphNode) |
| Adds a predecessor to the graph node.
|
|
void | removeSuccessor (SBCGraphNode *graphNode) |
| Removes a successor to the graph node.
|
|
void | removePredecessor (SBCGraphNode *graphNode) |
| Removes a predecessor to the graph node.
|
|
void | removeSuccessor (SBCReferenceListLink *referenceListLink) |
| Removes a successor to the graph node (constant time)
|
|
void | removePredecessor (SBCReferenceListLink *referenceListLink) |
| Removes a predecessor to the graph node (constant time)
|
|
void | removeAllSuccessors () |
| Removes all successors to the graph node.
|
|
void | removeAllPredecessors () |
| Removes all predecessors to the graph node.
|
|
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.
|
|
unsigned int | getMemoryFootprint () const |
|
void | printReferencesToOwners () const |
|
| SBCReferenceTarget () |
|
virtual | ~SBCReferenceTarget () |
|
void | removeAllReferenceOwners () |
|
| SBCReferenceTarget (SBCReferenceTargetData *dataPointer) |
|
SBCGraphArcCollection * | predecessors |
| The list of predecessors.
|
|
SBCGraphArcCollection * | successors |
| The list of successors.
|
|
SBCReferenceTargetData * | dataPointer |
|