BNode Class Reference


Detailed Description

This class is just a helper class for BNodes, it is not suggested to use it directly. It can be converted easily to node and vice versa. The usage of this class is limited to use just as template parameters for special map types. #include <lemon/concepts/bpugraph.h>

Inheritance diagram for BNode:

Inheritance graph
[legend]

List of all members.

Public Member Functions

 BNode ()
 Default constructor.
 BNode (const BNode &)
 BNode (const Node &)
 Construct the same node as BNode.
BNodeoperator= (const Node &)
 Assign node to B-node.
 BNode (Invalid)
 Invalid constructor & conversion.
bool operator== (BNode) const
 Equality operator.
bool operator!= (BNode) const
 Inequality operator.
bool operator< (BNode) const
 Artificial ordering operator.


Constructor & Destructor Documentation

BNode (  )  [inline]

Warning:
The default constructor sets the iterator to an undefined value.

BNode ( const BNode  )  [inline]

Copy constructor.

BNode ( const Node  )  [inline]

Construct the same node as BNode. It may throws assertion when the given node is from the ANode set.

BNode ( Invalid   )  [inline]

This constructor initializes the iterator to be invalid.

See also:
Invalid for more details.


Member Function Documentation

BNode& operator= ( const Node  )  [inline]

Besides the core graph item functionality each node should be convertible to the represented B-node if it is it possible.

bool operator== ( BNode   )  const [inline]

Two iterators are equal if and only if they point to the same object or both are invalid.

bool operator!= ( BNode   )  const [inline]

See also:
operator==(BNode n)

bool operator< ( BNode   )  const [inline]

To allow the use of graph descriptors as key type in std::map or similar associative container we require this.

Note:
This operator only have to define some strict ordering of the items; this order has nothing to do with the iteration ordering of the items.


Generated on Thu Jun 4 04:06:43 2009 for LEMON by  doxygen 1.5.9