59  template<
typename TA, 
int item>
 
   78  template<
typename TA,
int from, 
int end>
 
   86    static bool contains(
const Type& item);
 
   98    typedef typename S::Type Type;
 
  100    static bool contains(
const Type& item)
 
  102      return !S::contains(item);
 
  109  template<
class TI1, 
class TI2, 
typename TA=
typename TI1::Type>
 
  113    static bool contains(
const TA& item);
 
  116  template<
typename TA>
 
  122  template<
typename TA>
 
  128  template<
typename TA,
int i>
 
  134  template<
typename TA,
int i>
 
  135  inline std::ostream& operator<<(std::ostream& os, 
const EnumItem<TA,i>&)
 
  140  template<
typename TA, 
int from, 
int to>
 
  141  inline bool EnumRange<TA,from,to>::contains(
const Type& item)
 
  143    return from<=item && item<=to;
 
  146  template<
typename TA, 
int from, 
int to>
 
  147  inline std::ostream& operator<<(std::ostream& os, 
const EnumRange<TA,from,to>&)
 
  149    return os<<
"["<<from<<
" - "<<to<<
"]";
 
  152  template<
class TI1, 
class TI2, 
typename TA>
 
  153  inline bool Combine<TI1,TI2,TA>::contains(
const TA& item)
 
  155    return TI1::contains(item) ||
 
  159  template<
class TI1, 
class TI2>
 
  160  inline Combine<TI1,TI2,typename TI1::Type> combine([[maybe_unused]] 
const TI1& set1,
 
  161                                                     [[maybe_unused]] 
const TI2& set2)
 
  163    return Combine<TI1,TI2,typename TI1::Type>();
 
  166  template<
class TI1, 
class TI2, 
class T>
 
  167  inline std::ostream& operator<<(std::ostream& os, 
const Combine<TI1,TI2,T>&)
 
  169    return os << TI1()<<
" "<<TI2();
 
A set containing everything.
Definition: enumset.hh:44
 
TA Type
The POD type the set holds.
Definition: enumset.hh:49
 
A set combining two other sets.
Definition: enumset.hh:111
 
An empty set.
Definition: enumset.hh:27
 
TA Type
The POD type the set holds.
Definition: enumset.hh:32
 
A set consisting only of one item.
Definition: enumset.hh:61
 
TA Type
The type the set holds.
Definition: enumset.hh:66
 
A set representing a range including the borders.
Definition: enumset.hh:80
 
TA Type
The type the set holds.
Definition: enumset.hh:85
 
The negation of a set. An item is contained in the set if and only if it is not contained in the nega...
Definition: enumset.hh:96
 
static bool contains(const Type &attribute)
Always returns true.
Definition: enumset.hh:123
 
static bool contains(const Type &attribute)
Always returns false.
Definition: enumset.hh:117
 
static bool contains(const Type &attribute)
Tests whether an item is in the set.
Definition: enumset.hh:129
 
Dune namespace.
Definition: alignedallocator.hh:13