Poster of Linux kernelThe best gift for a Linux geek
Predicates::level

Predicates::level

Section: C Library Functions (3) Updated: Thu Apr 7 2011
Local index Up
 

NAME

Predicates::level -  

SYNOPSIS


#include <single_predicates.h>

Inherits Predicates::predicate< T >.

Inherited by Predicates::not_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
 

Friends


class abstract_multi_predicate< T >
 

Detailed Description

 

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

Definition at line 206 of file single_predicates.h.  

Constructor & Destructor Documentation

 

template<typename T> Predicates::level< T >::level (const unsigned intl) [inline]

Definition at line 209 of file single_predicates.h.

: _level(l) {}
 

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

Definition at line 210 of file single_predicates.h.

{}
 

Member Function Documentation

 

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

Implements Predicates::predicate< T >.

Reimplemented in Predicates::not_level< T >.

Definition at line 215 of file single_predicates.h.

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

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

Implements Predicates::predicate< T >.

Reimplemented in Predicates::not_level< T >.

Definition at line 212 of file single_predicates.h.

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

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

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::level< T >::_level [protected]

Definition at line 216 of file single_predicates.h.

Referenced by Predicates::level< 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::level< T >
Constructor & Destructor Documentation
template<typename T> Predicates::level< T >::level (const unsigned intl) [inline]
template<typename T> virtual Predicates::level< T >::~level () [inline, virtual]
Member Function Documentation
template<typename T> virtual predicate<T>* Predicates::level< T >::clone () const [inline, protected, virtual]
template<typename T> virtual bool Predicates::level< 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::level< T >::_level [protected]
Author

This document was created by man2html, using the manual pages.
Time: 21:52:58 GMT, April 16, 2011