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

#include <single_predicates.h>

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

Public Member Functions

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::not_ancestor< T >

Returns
true when the pointer is not an ancestor.

Definition at line 140 of file single_predicates.h.

Member Function Documentation

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

Reimplemented from libMesh::Predicates::ancestor< T >.

Definition at line 145 of file single_predicates.h.

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

Reimplemented from libMesh::Predicates::ancestor< T >.

Definition at line 142 of file single_predicates.h.

References libMesh::Predicates::ancestor< T >::operator()().

142 { return !ancestor<T>::operator()(it); }
virtual bool operator()(const T &it) const libmesh_override

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