*/
const unsigned int subdomain_id;
};
-};
+}
/**
FilteredIterator (Predicate p)
:
predicate (new PredicateTemplate<Predicate>(p))
-{};
+{}
{
Assert ((state() != IteratorState::valid) || (*predicate) (*this),
ExcInvalidElement(bi));
-};
+}
:
BaseIterator (static_cast<BaseIterator>(fi)),
predicate (fi.predicate->clone ())
-{};
+{}
{
delete predicate;
predicate = 0;
-};
+}
ExcInvalidElement(fi));
BaseIterator::operator = (fi);
return *this;
-};
+}
ExcInvalidElement(bi));
BaseIterator::operator = (bi);
return *this;
-};
+}
BaseIterator::operator++ ();
return *this;
-};
+}
BaseIterator::operator-- ();
return *this;
-};
+}
return (static_cast<const BaseIterator &>(*this)
==
static_cast<const BaseIterator &>(fi));
-};
+}
return (static_cast<const BaseIterator &>(*this)
!=
static_cast<const BaseIterator &>(fi));
-};
+}
return (static_cast<const BaseIterator &>(*this)
<
static_cast<const BaseIterator &>(fi));
-};
+}
operator == (const BaseIterator &bi) const
{
return (static_cast<const BaseIterator &>(*this) == bi);
-};
+}
operator != (const BaseIterator &bi) const
{
return (static_cast<const BaseIterator &>(*this) != bi);
-};
+}
operator < (const BaseIterator &bi) const
{
return (static_cast<const BaseIterator &>(*this) < bi);
-};
+}
template <typename BaseIterator>
while ((state() == IteratorState::valid) &&
!(*predicate) (*this));
return *this;
-};
+}
while ((state() == IteratorState::valid) &&
!(*predicate) (*this));
return old_state;
-};
+}
while ((state() == IteratorState::valid) &&
!(*predicate) (*this));
return *this;
-};
+}
while ((state() == IteratorState::valid) &&
!(*predicate) (*this));
return old_state;
-};
+}
PredicateTemplate (const Predicate &predicate)
:
predicate (predicate)
-{};
+{}
operator () (const BaseIterator &bi) const
{
return predicate(bi);
-};
+}
clone () const
{
return new PredicateTemplate (predicate);
-};
+}
Active::operator () (const Iterator &i) const
{
return (i->active());
- };
+ }
// ---------------- IteratorFilters::UserFlagSet ---------
UserFlagSet::operator () (const Iterator &i) const
{
return (i->user_flag_set());
- };
+ }
// ---------------- IteratorFilters::UserFlagNotSet ---------
UserFlagNotSet::operator () (const Iterator &i) const
{
return (! i->user_flag_set());
- };
+ }
// ---------------- IteratorFilters::LevelEqualTo ---------
LevelEqualTo::LevelEqualTo (const unsigned int level)
:
level (level)
- {};
+ {}
LevelEqualTo::operator () (const Iterator &i) const
{
return (static_cast<unsigned int>(i->level()) == level);
- };
+ }
SubdomainEqualTo::SubdomainEqualTo (const unsigned int subdomain_id)
:
subdomain_id (subdomain_id)
- {};
+ {}
SubdomainEqualTo::operator () (const Iterator &i) const
{
return (static_cast<unsigned int>(i->subdomain_id()) == subdomain_id);
- };
-};
+ }
+}
/*------------------------- filtered_iterator.h ------------------------*/