Mesh Oriented datABase  (version 5.5.0)
An array-based unstructured mesh library
moab::MeshSet::type_test Struct Reference

#include <MeshSet.hpp>

+ Collaboration diagram for moab::MeshSet::type_test:

Public Member Functions

 type_test (EntityType type)
 
bool operator() (EntityHandle handle)
 

Public Attributes

EntityType mType
 

Detailed Description

functor: test if handle is of type

Definition at line 281 of file MeshSet.hpp.

Constructor & Destructor Documentation

◆ type_test()

moab::MeshSet::type_test::type_test ( EntityType  type)
inline

Definition at line 283 of file MeshSet.hpp.

283 : mType( type ) {}

Member Function Documentation

◆ operator()()

bool moab::MeshSet::type_test::operator() ( EntityHandle  handle)
inline

Definition at line 284 of file MeshSet.hpp.

285  {
286  return TYPE_FROM_HANDLE( handle ) == mType;
287  }

References mType, and moab::TYPE_FROM_HANDLE().

Member Data Documentation

◆ mType

EntityType moab::MeshSet::type_test::mType

Definition at line 288 of file MeshSet.hpp.

Referenced by operator()().


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