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

#include <single_predicates.h>

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

List of all members.

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

Friends

struct abstract_multi_predicate< T >

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.

00215 : _level(l) {}

template<typename T>
virtual libMesh::Predicates::level< T >::~level (  )  [inline, virtual]

Definition at line 216 of file single_predicates.h.

00216 {}


Member Function Documentation

template<typename T>
virtual predicate<T>* libMesh::Predicates::level< T >::clone (  )  const [inline, protected, virtual]

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

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

Definition at line 221 of file single_predicates.h.

00221 { return new level<T>(*this); }

template<typename T>
virtual bool libMesh::Predicates::level< T >::operator() ( const T &  it  )  const [inline, virtual]

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.

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


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 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 05 2013 19:55:49 UTC

Hosted By:
SourceForge.net Logo