All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
List of all members | Public Member Functions
ExtendFindEnum< IM >::ClassIt Class Reference

Detailed Description

template<typename IM>
class lemon::ExtendFindEnum< IM >::ClassIt

ClassIt is a lemon style iterator for the components. It iterates on the ids of classes.

#include <lemon/unionfind.h>

Public Member Functions

 ClassIt (const ExtendFindEnum &ufe)
 Constructor of the iterator.
 
 ClassIt (Invalid)
 Constructor to get invalid iterator.
 
ClassItoperator++ ()
 Increment operator.
 
 operator int () const
 Conversion operator.
 
bool operator== (const ClassIt &i)
 Equality operator.
 
bool operator!= (const ClassIt &i)
 Inequality operator.
 

Constructor & Destructor Documentation

ClassIt ( const ExtendFindEnum ufe)
inline

Constructor of the iterator

ClassIt ( Invalid  )
inline

Constructor to get invalid iterator

Member Function Documentation

ClassIt& operator++ ( )
inline

It steps to the next representant item.

operator int ( ) const
inline

It converts the iterator to the current class id.

bool operator== ( const ClassIt i)
inline

Equality operator

bool operator!= ( const ClassIt i)
inline

Inequality operator