libMesh::Predicates::active< T > Struct Template Reference

#include <single_predicates.h>

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

Public Member Functions

virtual ~active ()
 
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::active< T >

Returns
true if the pointer is active.

Definition at line 110 of file single_predicates.h.

Constructor & Destructor Documentation

◆ ~active()

template<typename T>
virtual libMesh::Predicates::active< T >::~active ( )
inlinevirtual

Definition at line 112 of file single_predicates.h.

112 {}

Member Function Documentation

◆ clone()

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

Implements libMesh::Predicates::predicate< T >.

Reimplemented in libMesh::Predicates::not_active< T >.

Definition at line 116 of file single_predicates.h.

116 { return new active<T>(*this); }

◆ operator()()

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

Implements libMesh::Predicates::predicate< T >.

Reimplemented in libMesh::Predicates::not_active< T >.

Definition at line 113 of file single_predicates.h.

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

113 { return (*it)->active(); }

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