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

#include <single_predicates.h>

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

Public Member Functions

 not_pid (processor_id_type p)
virtual bool operator() (const T &it) const libmesh_override

Protected Member Functions

virtual predicate< T > * clone () const libmesh_override

Protected Attributes

const processor_id_type _pid

Detailed Description

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

true if the pointer's processor id does not match p.

Definition at line 292 of file single_predicates.h.

Constructor & Destructor Documentation

template<typename T>
libMesh::Predicates::not_pid< T >::not_pid ( processor_id_type  p)

Definition at line 294 of file single_predicates.h.

294 : pid<T>(p) {}

Member Function Documentation

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

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

Definition at line 299 of file single_predicates.h.

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

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

Definition at line 296 of file single_predicates.h.

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

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

Member Data Documentation

template<typename T>
const processor_id_type libMesh::Predicates::pid< T >::_pid

Definition at line 190 of file single_predicates.h.

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