MOAB: Mesh Oriented datABase  (version 5.3.0)
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 270 of file MeshSet.hpp.


Constructor & Destructor Documentation

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

Definition at line 272 of file MeshSet.hpp.

: mType( type ) {}

Member Function Documentation

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

Definition at line 273 of file MeshSet.hpp.

References mType, and moab::TYPE_FROM_HANDLE().

        {
            return TYPE_FROM_HANDLE( handle ) == mType;
        }

Member Data Documentation

Definition at line 277 of file MeshSet.hpp.

Referenced by operator()().

List of all members.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines