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 override
 

Protected Member Functions

virtual predicate< T > * clone () const override
 

Protected Attributes

const unsigned int _level
 

Detailed Description

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

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

Definition at line 380 of file single_predicates.h.

Constructor & Destructor Documentation

◆ not_level()

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

Definition at line 382 of file single_predicates.h.

382 : level<T>(l) {}

Member Function Documentation

◆ clone()

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

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

Definition at line 387 of file single_predicates.h.

387 { return new not_level<T>(*this); }

◆ operator()()

template<typename T>
virtual bool libMesh::Predicates::not_level< T >::operator() ( const T &  it) const
inlineoverridevirtual

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

Definition at line 384 of file single_predicates.h.

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

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

Member Data Documentation

◆ _level

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

Definition at line 370 of file single_predicates.h.

Referenced by libMesh::Predicates::level< T >::operator()().


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