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

Predicates::elem_type

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

NAME

Predicates::elem_type -  

SYNOPSIS


#include <single_predicates.h>

Inherits Predicates::predicate< 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
 

Friends


class abstract_multi_predicate< T >
 

Detailed Description

 

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

Definition at line 186 of file single_predicates.h.  

Constructor & Destructor Documentation

 

template<typename T> Predicates::elem_type< T >::elem_type (const ElemTypet) [inline]

Definition at line 189 of file single_predicates.h.

: _elem_type(t) {}
 

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

Definition at line 190 of file single_predicates.h.

{}
 

Member Function Documentation

 

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

Implements Predicates::predicate< T >.

Definition at line 195 of file single_predicates.h.

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

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

Implements Predicates::predicate< T >.

Definition at line 192 of file single_predicates.h.

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

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

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 ElemType Predicates::elem_type< T >::_elem_type [protected]

Definition at line 196 of file single_predicates.h.

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

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