libMesh::Predicates::subdomain< T > Struct Template Reference
#include <single_predicates.h>
Inheritance diagram for libMesh::Predicates::subdomain< T >:

Public Member Functions | |
| subdomain (const subdomain_id_type sid) | |
| virtual | ~subdomain () |
| virtual bool | operator() (const T &it) const |
Protected Member Functions | |
| virtual predicate< T > * | clone () const |
Protected Attributes | |
| const subdomain_id_type | _subdomain |
Friends | |
| struct | abstract_multi_predicate< T > |
Detailed Description
template<typename T>
struct libMesh::Predicates::subdomain< T >
Definition at line 280 of file single_predicates.h.
Constructor & Destructor Documentation
template<typename T>
| libMesh::Predicates::subdomain< T >::subdomain | ( | const subdomain_id_type | sid | ) | [inline] |
Definition at line 283 of file single_predicates.h.
00283 : _subdomain(sid) {}
template<typename T>
| virtual libMesh::Predicates::subdomain< T >::~subdomain | ( | ) | [inline, virtual] |
Definition at line 284 of file single_predicates.h.
Member Function Documentation
template<typename T>
| virtual predicate<T>* libMesh::Predicates::subdomain< T >::clone | ( | ) | const [inline, protected, virtual] |
Implements libMesh::Predicates::predicate< T >.
Definition at line 290 of file single_predicates.h.
template<typename T>
| virtual bool libMesh::Predicates::subdomain< T >::operator() | ( | const T & | it | ) | const [inline, virtual] |
Implements libMesh::Predicates::predicate< T >.
Definition at line 287 of file single_predicates.h.
References libMesh::Predicates::subdomain< T >::_subdomain.
00287 { return (*it)->subdomain_id() == _subdomain; }
Friends And Related Function Documentation
template<typename T>
friend struct abstract_multi_predicate< T > [friend, inherited] |
Definition at line 60 of file single_predicates.h.
Member Data Documentation
template<typename T>
const subdomain_id_type libMesh::Predicates::subdomain< T >::_subdomain [protected] |
Definition at line 291 of file single_predicates.h.
Referenced by libMesh::Predicates::subdomain< T >::operator()().
The documentation for this struct was generated from the following file:
Site Created By: libMesh Developers
Last modified: February 05 2013 19:55:49 UTC
Hosted By: