Predicates::pid
Predicates::pid
Section: C Library Functions (3) Updated: Thu Apr 7 2011 Local index
Up
NAME
Predicates::pid -
SYNOPSIS
#include <single_predicates.h>
Inherits Predicates::predicate< T >.
Inherited by Predicates::not_pid< T >.
Public Member Functions
pid (const unsigned int p)
virtual ~pid ()
virtual bool operator() (const T &it) const
Protected Member Functions
virtual predicate< T > * clone () const
Protected Attributes
const unsigned int _pid
Friends
class abstract_multi_predicate< T >
Detailed Description
template<typename T> struct Predicates::pid< T >
Definition at line 152 of file single_predicates.h.
Constructor & Destructor Documentation
template<typename T> Predicates::pid< T >::pid (const unsigned intp) [inline]
Definition at line 155 of file single_predicates.h.
: _pid(p) {}
template<typename T> virtual Predicates::pid< T >::~pid () [inline, virtual]
Definition at line 156 of file single_predicates.h.
{}
Member Function Documentation
template<typename T> virtual predicate<T>* Predicates::pid< T >::clone () const [inline, protected, virtual]
Implements Predicates::predicate< T >.
Reimplemented in Predicates::not_pid< T >.
Definition at line 162 of file single_predicates.h.
{ return new pid<T>(*this); }
template<typename T> virtual bool Predicates::pid< T >::operator() (const T &it) const [inline, virtual]
Implements Predicates::predicate< T >.
Reimplemented in Predicates::not_pid< T >.
Definition at line 159 of file single_predicates.h.
References Predicates::pid< T >::_pid.
{ return (*it)->processor_id() == _pid; }
Friends And Related Function Documentation
template<typename T> friend class abstract_multi_predicate< T > [friend, inherited]
Definition at line 54 of file single_predicates.h.
Member Data Documentation
template<typename T> const unsigned int Predicates::pid< T >::_pid [protected]
Definition at line 163 of file single_predicates.h.
Referenced by Predicates::pid< T >::operator()().
Author
Generated automatically by Doxygen for libMesh from the source code.
Index
- NAME
-
- SYNOPSIS
-
- Public Member Functions
-
- Protected Member Functions
-
- Protected Attributes
-
- Friends
-
- Detailed Description
-
- template<typename T> struct Predicates::pid< T >
-
- Constructor & Destructor Documentation
-
- template<typename T> Predicates::pid< T >::pid (const unsigned intp) [inline]
-
- template<typename T> virtual Predicates::pid< T >::~pid () [inline, virtual]
-
- Member Function Documentation
-
- template<typename T> virtual predicate<T>* Predicates::pid< T >::clone () const [inline, protected, virtual]
-
- template<typename T> virtual bool Predicates::pid< T >::operator() (const T &it) const [inline, virtual]
-
- Friends And Related Function Documentation
-
- template<typename T> friend class abstract_multi_predicate< T > [friend, inherited]
-
- Member Data Documentation
-
- template<typename T> const unsigned int Predicates::pid< T >::_pid [protected]
-
- Author
-
This document was created by
man2html,
using the manual pages.
Time: 21:52:58 GMT, April 16, 2011