All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions
GraphItemIt< GR, Item > Class Template Reference

Detailed Description

template<typename GR, typename Item>
class lemon::concepts::GraphItemIt< GR, Item >

This class describes the concept of NodeIt, ArcIt and EdgeIt subtypes of digraph and graph types.

#include <lemon/concepts/graph_components.h>

List of all members.

Public Member Functions

 GraphItemIt ()
 Default constructor.
 GraphItemIt (const GraphItemIt &it)
 GraphItemIt (const GR &)
 GraphItemIt (Invalid)
 Constructor for conversion from INVALID.
GraphItemItoperator= (const GraphItemIt &)
 Assignment operator.
GraphItemItoperator++ ()
 Increment the iterator.
bool operator== (const GraphItemIt &) const
 Equality operator.
bool operator!= (const GraphItemIt &) const
 Inequality operator.

Constructor & Destructor Documentation

GraphItemIt ( ) [inline]

Default constructor.

Warning:
The default constructor is not required to set the iterator to some well-defined value. So you should consider it as uninitialized.
GraphItemIt ( const GraphItemIt< GR, Item > &  it) [inline]

Copy constructor.

GraphItemIt ( const GR &  ) [inline, explicit]

Constructor that sets the iterator to the first item.

GraphItemIt ( Invalid  ) [inline]

Constructor for conversion from INVALID. It initializes the iterator to be invalid.

See also:
Invalid for more details.

Member Function Documentation

GraphItemIt& operator= ( const GraphItemIt< GR, Item > &  ) [inline]

Assignment operator for the iterator.

GraphItemIt& operator++ ( ) [inline]

This operator increments the iterator, i.e. assigns it to the next item.

bool operator== ( const GraphItemIt< GR, Item > &  ) const [inline]

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

bool operator!= ( const GraphItemIt< GR, Item > &  ) const [inline]

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

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines