MOAB: Mesh Oriented datABase  (version 5.2.1)
moab::MeshSet::dim_test Struct Reference

#include <MeshSet.hpp>

Public Member Functions

 dim_test (int dimension)
bool operator() (EntityHandle handle) const

Public Attributes

int mDim

Detailed Description

functor: test if handle is of dimension

Definition at line 292 of file MeshSet.hpp.


Constructor & Destructor Documentation

moab::MeshSet::dim_test::dim_test ( int  dimension) [inline]

Definition at line 294 of file MeshSet.hpp.

: mDim( dimension ) {}

Member Function Documentation

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

Definition at line 295 of file MeshSet.hpp.

References moab::MeshSet::DIM_FROM_HANDLE(), and mDim.

        {
            return DIM_FROM_HANDLE( handle ) == mDim;
        }

Member Data Documentation

Definition at line 299 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