libMesh
Classes | Functions
variant_filter_iterator.h File Reference

Go to the source code of this file.

Classes

class  variant_filter_iterator< Predicate, Type, ReferenceType, PointerType, ConstType, ConstReferenceType, ConstPointerType >
 Original Authors: Corwin Joy * Michael Gradman cjoy@.nosp@m.hous.nosp@m.ton.r.nosp@m.r.co.nosp@m.m * Micha.nosp@m.el.G.nosp@m.radma.nosp@m.n@ca.nosp@m.minus.nosp@m..com Caminus, Suite 1150, Two Allen Center, 1200 Smith Street, Houston, TX 77002 This class is an extension of variant_bidirectional_iterator to a filter_iterator similar to boost's. More...
 
struct  variant_filter_iterator< Predicate, Type, ReferenceType, PointerType, ConstType, ConstReferenceType, ConstPointerType >::IterBase
 Abstract base class for the iterator type. More...
 
struct  variant_filter_iterator< Predicate, Type, ReferenceType, PointerType, ConstType, ConstReferenceType, ConstPointerType >::PredBase
 Abstract base class for the predicate. More...
 
struct  variant_filter_iterator< Predicate, Type, ReferenceType, PointerType, ConstType, ConstReferenceType, ConstPointerType >::Iter< IterType >
 The actual iterator object is held as a template parameter here. More...
 
struct  variant_filter_iterator< Predicate, Type, ReferenceType, PointerType, ConstType, ConstReferenceType, ConstPointerType >::Pred< IterType, PredType >
 The actual predicate is held as a template parameter here. More...
 

Functions

template<class Predicate , class Type , class ReferenceType , class PointerType , class OtherConstType , class OtherConstReferenceType , class OtherConstPointerType >
bool operator== (const variant_filter_iterator< Predicate, Type, ReferenceType, PointerType, OtherConstType, OtherConstReferenceType, OtherConstPointerType > &x, const variant_filter_iterator< Predicate, Type, ReferenceType, PointerType, OtherConstType, OtherConstReferenceType, OtherConstPointerType > &y)
 
template<class Predicate , class Type , class ReferenceType , class PointerType , class OtherConstType , class OtherConstReferenceType , class OtherConstPointerType >
bool operator!= (const variant_filter_iterator< Predicate, Type, ReferenceType, PointerType, OtherConstType, OtherConstReferenceType, OtherConstPointerType > &x, const variant_filter_iterator< Predicate, Type, ReferenceType, PointerType, OtherConstType, OtherConstReferenceType, OtherConstPointerType > &y)
 

Function Documentation

◆ operator!=()

template<class Predicate , class Type , class ReferenceType , class PointerType , class OtherConstType , class OtherConstReferenceType , class OtherConstPointerType >
bool operator!= ( const variant_filter_iterator< Predicate, Type, ReferenceType, PointerType, OtherConstType, OtherConstReferenceType, OtherConstPointerType > &  x,
const variant_filter_iterator< Predicate, Type, ReferenceType, PointerType, OtherConstType, OtherConstReferenceType, OtherConstPointerType > &  y 
)
inline

Definition at line 484 of file variant_filter_iterator.h.

488 {
489  return !(x == y);
490 }

◆ operator==()

template<class Predicate , class Type , class ReferenceType , class PointerType , class OtherConstType , class OtherConstReferenceType , class OtherConstPointerType >
bool operator== ( const variant_filter_iterator< Predicate, Type, ReferenceType, PointerType, OtherConstType, OtherConstReferenceType, OtherConstPointerType > &  x,
const variant_filter_iterator< Predicate, Type, ReferenceType, PointerType, OtherConstType, OtherConstReferenceType, OtherConstPointerType > &  y 
)
inline

Definition at line 470 of file variant_filter_iterator.h.

474 {
475  return x.equal(y);
476 }
bool equal(const variant_filter_iterator &other) const
Forwards to the equal() function defined for the IterBase pointer.