Public Member Functions | Friends
ESBTL::Selected_atom_iterator< Model, Subset_functor, is_const > Class Template Reference

#include <selected_atom_iterator.h>

List of all members.

Public Member Functions

 Selected_atom_iterator (Base_iterator it, const Subset_functor &functor)
 Selected_atom_iterator (Base_iterator it)

Friends

class boost::iterator_core_access

Detailed Description

template<class Model, class Subset_functor, bool is_const>
class ESBTL::Selected_atom_iterator< Model, Subset_functor, is_const >

Class defining an iterator over atoms of a model, restricted to a certain type defined by a function object.

Template Parameters:
Modelis the type of the model used.
Subset_functoris a function following the concept of Atom selection.
is_constindicates the constness of the iterator.

If you do not need to pass a state to your functor, you might want to use boost::filter_iterator instead.


Constructor & Destructor Documentation

template<class Model, class Subset_functor, bool is_const>
ESBTL::Selected_atom_iterator< Model, Subset_functor, is_const >::Selected_atom_iterator ( Base_iterator  it,
const Subset_functor &  functor 
) [inline]

Constructor.

Parameters:
itis the iterator indicating the starting point for the iterator.
functoris the functor used to select atoms.
template<class Model, class Subset_functor, bool is_const>
ESBTL::Selected_atom_iterator< Model, Subset_functor, is_const >::Selected_atom_iterator ( Base_iterator  it) [inline]

Friends And Related Function Documentation

template<class Model, class Subset_functor, bool is_const>
friend class boost::iterator_core_access [friend]

The documentation for this class was generated from the following file: