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

#include <single_predicates.h>

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

Public Member Functions

 level (const unsigned int l)
 
virtual ~level ()
 
virtual bool operator() (const T &it) const
 

Protected Member Functions

virtual predicate< T > * clone () const
 

Protected Attributes

const unsigned int _level
 

Detailed Description

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

Definition at line 212 of file single_predicates.h.

Constructor & Destructor Documentation

template<typename T>
libMesh::Predicates::level< T >::level ( const unsigned int  l)
inline

Definition at line 215 of file single_predicates.h.

215 : _level(l) {}
template<typename T>
virtual libMesh::Predicates::level< T >::~level ( )
inlinevirtual

Definition at line 216 of file single_predicates.h.

216 {}

Member Function Documentation

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

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

Reimplemented in libMesh::Predicates::not_level< T >.

Definition at line 221 of file single_predicates.h.

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

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

Reimplemented in libMesh::Predicates::not_level< T >.

Definition at line 218 of file single_predicates.h.

References libMesh::Predicates::level< T >::_level.

Referenced by libMesh::Predicates::not_level< T >::operator()().

218 { return (*it)->level() == _level; }

Member Data Documentation

template<typename T>
const unsigned int libMesh::Predicates::level< T >::_level
protected

Definition at line 222 of file single_predicates.h.

Referenced by libMesh::Predicates::level< T >::operator()().


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