Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
libMesh::Predicates::not_level< T > Struct Template Reference

#include <single_predicates.h>

Inheritance diagram for libMesh::Predicates::not_level< T >:

Public Member Functions

 not_level (unsigned int l)
virtual bool operator() (const T &it) const libmesh_override

Protected Member Functions

virtual predicate< T > * clone () const libmesh_override

Protected Attributes

const unsigned int _level

Detailed Description

template<typename T>
struct libMesh::Predicates::not_level< T >

true if the pointers level does not match the given level.

Definition at line 371 of file single_predicates.h.

Constructor & Destructor Documentation

template<typename T>
libMesh::Predicates::not_level< T >::not_level ( unsigned int  l)

Definition at line 373 of file single_predicates.h.

373 : level<T>(l) {}

Member Function Documentation

template<typename T>
virtual predicate<T>* libMesh::Predicates::not_level< T >::clone ( ) const

Reimplemented from libMesh::Predicates::level< T >.

Definition at line 378 of file single_predicates.h.

378 { return new not_level<T>(*this); }
template<typename T>
virtual bool libMesh::Predicates::not_level< T >::operator() ( const T &  it) const

Reimplemented from libMesh::Predicates::level< T >.

Definition at line 375 of file single_predicates.h.

References libMesh::Predicates::level< T >::operator()().

375 { return !level<T>::operator()(it); }
virtual bool operator()(const T &it) const libmesh_override

Member Data Documentation

template<typename T>
const unsigned int libMesh::Predicates::level< T >::_level

Definition at line 361 of file single_predicates.h.

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