libMesh::Predicates::elem_type< T > Struct Template Reference

#include <single_predicates.h>

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

Public Member Functions

 elem_type (const ElemType t)
 
virtual ~elem_type ()
 
virtual bool operator() (const T &it) const
 

Protected Member Functions

virtual predicate< T > * clone () const
 

Protected Attributes

const ElemType _elem_type
 

Detailed Description

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

Definition at line 192 of file single_predicates.h.

Constructor & Destructor Documentation

template<typename T>
libMesh::Predicates::elem_type< T >::elem_type ( const ElemType  t)
inline

Definition at line 195 of file single_predicates.h.

195 : _elem_type(t) {}
template<typename T>
virtual libMesh::Predicates::elem_type< T >::~elem_type ( )
inlinevirtual

Definition at line 196 of file single_predicates.h.

196 {}

Member Function Documentation

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

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

Definition at line 201 of file single_predicates.h.

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

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

Definition at line 198 of file single_predicates.h.

References libMesh::Predicates::elem_type< T >::_elem_type.

198 { return (*it)->type() == _elem_type; }

Member Data Documentation

template<typename T>
const ElemType libMesh::Predicates::elem_type< T >::_elem_type
protected

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

Site Created By: libMesh Developers
Last modified: February 07 2014 16:58:02 UTC

Hosted By:
SourceForge.net Logo