Detailed Description
template<typename _Graph, typename _Item = typename _Graph::Arc, typename _Base = typename _Graph::Node, char _selector = '0'>
class lemon::concepts::GraphIncIt< _Graph, _Item, _Base, _selector >
- Note:
- Because InArcIt and OutArcIt may not inherit from the same base class, the _selector is a additional template parameter. For InArcIt you should instantiate it with character 'i' and for OutArcIt with 'o'.
#include <lemon/concepts/graph_components.h>
List of all members.
Constructor & Destructor Documentation
- Warning:
- The default constructor sets the iterator to an undefined value.
GraphIncIt |
( |
const _Graph & |
, |
|
|
const _Base & |
|
|
) |
| [inline, explicit] |
Sets the iterator to the first arc incoming into or outgoing from the node.
This constructor initializes the item to be invalid.
- See also:
- Invalid for more details.
Member Function Documentation
The iterators are assignable.
Assign the iterator to the next item.
bool operator== |
( |
const GraphIncIt< _Graph, _Item, _Base, _selector > & |
| ) |
const [inline] |
Two iterators are equal if and only if they point to the same object or both are invalid.
bool operator!= |
( |
const GraphIncIt< _Graph, _Item, _Base, _selector > & |
| ) |
const [inline] |
- See also:
- operator==(Node n)
The documentation for this class was generated from the following file: