$extrastylesheet
#include <single_predicates.h>

Public Member Functions | |
| pid (const processor_id_type p) | |
| virtual | ~pid () |
| virtual bool | operator() (const T &it) const |
Protected Member Functions | |
| virtual predicate< T > * | clone () const |
Protected Attributes | |
| const processor_id_type | _pid |
Friends | |
| struct | abstract_multi_predicate< T > |
Definition at line 158 of file single_predicates.h.
| libMesh::Predicates::pid< T >::pid | ( | const processor_id_type | p | ) | [inline] |
Definition at line 161 of file single_predicates.h.
: _pid(p) {}
| virtual libMesh::Predicates::pid< T >::~pid | ( | ) | [inline, virtual] |
Definition at line 162 of file single_predicates.h.
{}
| virtual predicate<T>* libMesh::Predicates::pid< T >::clone | ( | ) | const [inline, protected, virtual] |
Implements libMesh::Predicates::predicate< T >.
Reimplemented in libMesh::Predicates::not_pid< T >.
Definition at line 168 of file single_predicates.h.
{ return new pid<T>(*this); }
| virtual bool libMesh::Predicates::pid< T >::operator() | ( | const T & | it | ) | const [inline, virtual] |
Implements libMesh::Predicates::predicate< T >.
Reimplemented in libMesh::Predicates::not_pid< T >.
Definition at line 165 of file single_predicates.h.
References libMesh::Predicates::pid< T >::_pid.
{ return (*it)->processor_id() == _pid; }
friend struct abstract_multi_predicate< T > [friend, inherited] |
Definition at line 60 of file single_predicates.h.
const processor_id_type libMesh::Predicates::pid< T >::_pid [protected] |
Definition at line 169 of file single_predicates.h.
Referenced by libMesh::Predicates::pid< T >::operator()().