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

#include <single_predicates.h>

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

Public Member Functions

virtual ~active ()
 
virtual bool operator() (const T &it) const libmesh_override
 

Protected Member Functions

virtual predicate< T > * clone () const libmesh_override
 

Detailed Description

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

Returns
true if the pointer is active.

Definition at line 101 of file single_predicates.h.

Constructor & Destructor Documentation

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

Definition at line 103 of file single_predicates.h.

103 {}

Member Function Documentation

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

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

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

Definition at line 107 of file single_predicates.h.

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

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

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

Definition at line 104 of file single_predicates.h.

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

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

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