bool variant_filter_iterator< MeshBase::Predicate , Node * , Node * & , Node * * >::equal (const variant_filter_iterator< MeshBase::Predicate, Node * > &other) const [inline, inherited]forwards on the the equal function defined for the IterBase pointer. Possibly also compare the end pointers, but this is usually not important and would require an additional dynamic_cast.
Definition at line 442 of file variant_filter_iterator.h.
Definition at line 450 of file variant_filter_iterator.h.
{
// Swap the data pointers
std::swap (lhs.data, rhs.data);
// Swap the end pointers
std::swap (lhs.end, rhs.end);
// Also swap the predicate objects.
std::swap (lhs.pred, rhs.pred);
}
Member Data Documentation
IterBase* variant_filter_iterator< MeshBase::Predicate , Node * , Node * & , Node * * >::data [inherited]Ideally this private member data should have protected access. However, if we want a const_iterator to be constructable from an non-const one, templated versions of the same class (not related by inheritance) will need to know about these private members. Thus, they have public access.
Polymorphic pointer to the object. Don't confuse with the data pointer located in the Iter!
Definition at line 310 of file variant_filter_iterator.h.
IterBase* variant_filter_iterator< MeshBase::Predicate , Node * , Node * & , Node * * >::end [inherited]Also have a polymorphic pointer to the end object, this prevents iterating past the end.
Definition at line 316 of file variant_filter_iterator.h.
PredBase* variant_filter_iterator< MeshBase::Predicate , Node * , Node * & , Node * * >::pred [inherited]The predicate object. Must have op() capable of operating on IterBase* pointers. Therefore it has to follow the same paradigm as IterBase.
Definition at line 323 of file variant_filter_iterator.h.
Author
Generated automatically by Doxygen for libMesh from the source code.