abLEMON 1.9.0-101-gccb8629
A maintained fork of LEMON
Loading...
Searching...
No Matches
IterableBoolMap< GR , K >::FalseIt Class Reference

Iterator for the keys mapped to false. More...

#include <lemon/maps.h>

Public Member Functions

 FalseIt (const IterableBoolMap &map)
 Creates an iterator.
 FalseIt (Invalid)
 Invalid constructor & conversion.
FalseIt & operator++ ()
 Increment operator.

Detailed Description

template< typename GR , typename K >
class lemon::IterableBoolMap< GR , K >::FalseIt

Iterator for the keys mapped to false. It works like a graph item iterator, it can be converted to the key type of the map, incremented with ++ operator, and if the iterator leaves the last valid key, it will be equal to INVALID.

Constructor & Destructor Documentation

◆ FalseIt() [1/2]

template< typename GR , typename K >
FalseIt ( const IterableBoolMap & map)
inlineexplicit

Creates an iterator. It iterates on the keys mapped to false.

Parameters
mapThe IterableBoolMap.

◆ FalseIt() [2/2]

template< typename GR , typename K >
FalseIt ( Invalid )
inline

This constructor initializes the iterator to be invalid.

See also
Invalid for more details.

Member Function Documentation

◆ operator++()

template< typename GR , typename K >
FalseIt & operator++ ( )
inline

Increment operator.