libMesh
Public Member Functions | Protected Member Functions | List of all members
libMesh::Predicates::ancestor< T > Struct Template Reference

#include <single_predicates.h>

Inheritance diagram for libMesh::Predicates::ancestor< T >:
[legend]

Public Member Functions

virtual ~ancestor ()
 
virtual bool operator() (const T &it) const libmesh_override
 

Protected Member Functions

virtual predicate< T > * clone () const libmesh_override
 

Detailed Description

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

Returns
true if the pointer is an ancestor.

Definition at line 127 of file single_predicates.h.

Constructor & Destructor Documentation

template<typename T>
virtual libMesh::Predicates::ancestor< T >::~ancestor ( )
virtual

Definition at line 129 of file single_predicates.h.

129 {}

Member Function Documentation

template<typename T>
virtual predicate<T>* libMesh::Predicates::ancestor< T >::clone ( ) const
protectedvirtual

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

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

Definition at line 133 of file single_predicates.h.

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

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

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

Definition at line 130 of file single_predicates.h.

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

130 { return (*it)->ancestor(); }

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