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

#include <single_predicates.h>

Inheritance diagram for libMesh::Predicates::not_active< T >:
[legend]

Public Member Functions

virtual bool operator() (const T &it) const override
 

Protected Member Functions

virtual predicate< T > * clone () const override
 

Detailed Description

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

Returns
true when the pointer is inactive.

Definition at line 123 of file single_predicates.h.

Member Function Documentation

◆ clone()

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

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

Definition at line 128 of file single_predicates.h.

128 { return new not_active<T>(*this); }

◆ operator()()

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

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

Definition at line 125 of file single_predicates.h.

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

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

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