MOAB: Mesh Oriented datABase  (version 5.5.0)
iBase_EntityArrIterator_Private::IsType Class Reference

#include <MBIter.hpp>

+ Collaboration diagram for iBase_EntityArrIterator_Private::IsType:

Public Member Functions

 IsType (EntityType t)
 
bool operator() (EntityHandle h)
 

Private Attributes

EntityType type
 

Detailed Description

Definition at line 44 of file MBIter.hpp.

Constructor & Destructor Documentation

◆ IsType()

iBase_EntityArrIterator_Private::IsType::IsType ( EntityType  t)
inline

Definition at line 50 of file MBIter.hpp.

50 : type( t ) {}

Member Function Documentation

◆ operator()()

bool iBase_EntityArrIterator_Private::IsType::operator() ( EntityHandle  h)
inline

Definition at line 51 of file MBIter.hpp.

52  {
53  return TYPE_FROM_HANDLE( h ) == type;
54  }

References type, and moab::TYPE_FROM_HANDLE().

Member Data Documentation

◆ type

EntityType iBase_EntityArrIterator_Private::IsType::type
private

Definition at line 47 of file MBIter.hpp.

Referenced by operator()().


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