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

#include <single_predicates.h>

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

Public Member Functions

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

Returns
true if the underlying pointer is NULL.

Definition at line 75 of file single_predicates.h.

Constructor & Destructor Documentation

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

Definition at line 77 of file single_predicates.h.

77 {}

Member Function Documentation

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

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

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

Definition at line 81 of file single_predicates.h.

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

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

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

Definition at line 78 of file single_predicates.h.

References libmesh_nullptr.

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

78 { return *it == libmesh_nullptr; }
const class libmesh_nullptr_t libmesh_nullptr

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