libMesh
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 >:
[legend]

Public Member Functions

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

Protected Member Functions

virtual std::unique_ptr< 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 371 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 373 of file single_predicates.h.

373 : level<T>(l) {}

Member Function Documentation

◆ clone()

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

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

Definition at line 378 of file single_predicates.h.

378 { return std::make_unique<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 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 override

Member Data Documentation

◆ _level

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

Definition at line 361 of file single_predicates.h.

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


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