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

#include <single_predicates.h>

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

Public Member Functions

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::not_null< T >

true if the pointer is not NULL.

Definition at line 88 of file single_predicates.h.

Member Function Documentation

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

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

Definition at line 93 of file single_predicates.h.

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

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

Definition at line 90 of file single_predicates.h.

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

90 { return !is_null<T>::operator()(it); }
virtual bool operator()(const T &it) const libmesh_override

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