|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Comments:
Handle for a single node in a graph.
Variables:
- GraphNodeDatC * Node;
-
Methods:
- GraphNodeHC()
-
Default constructor.
- GraphNodeHC(const GraphNodeHC<NodeT,EdgeT> & Oth)
-
Copy constructor.
- GraphNodeHC(const GraphNodeIterC<NodeT,EdgeT> & Oth)
-
Construct from a node iter.
- GraphNodeHC(GraphNodeDatC<NodeT,EdgeT> & Rep)
-
Construct form a node rep.
- BooleanT IsValid() const
-
Is a valid handle ?
- const GraphNodeHC<NodeT,EdgeT> & operator=(const GraphNodeHC<NodeT,EdgeT> & Oth)
-
Assigment.
- const GraphNodeHC<NodeT,EdgeT> & operator=(const GraphNodeIterC<NodeT,EdgeT> & Oth)
-
Assignment.
- BooleanT operator==(const GraphNodeHC<NodeT,EdgeT> & Oth) const
-
Comparison.
- BooleanT operator!=(const GraphNodeHC<NodeT,EdgeT> & Oth) const
-
Comparison.
- NodeT & Data(void)
-
Access data.
- const NodeT & Data(void) const
-
Access data.
- GraphAdjIterC<NodeT,EdgeT> In()
-
Returns the iterator that is set to the first item of the list
of the graph adjacencies in which this node is the target node.
- GraphAdjIterC<NodeT,EdgeT> Out()
-
Returns the iterator that is set to the first item of the list
of the graph adjacencies in which this node is the source node.
- void Invalidate()
-
Invalidate handle, IsValid() will return false after this
call until the handle is assigmed to another node.
- void Del()
-
Unlinks edge from the graph and deletes it. The iterator
will point to the previous edge in the graph edge list.
- GraphNodeRepC & NodeRep() const
-
Returns the node.
- GraphNodeDatC<NodeT,EdgeT> & NodeRef()
-
Returns the node.
protected:
- GraphNodeHC(const GraphNodeC & ANode)
-
Construct from a base node iterator.
- UIntT Hash() const
-
Get hash value for node.
|
Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001
|