Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
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 303 of file MeshSet.hpp.


Constructor & Destructor Documentation

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

Definition at line 305 of file MeshSet.hpp.

: mDim( dimension ) {}

Member Function Documentation

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

Definition at line 306 of file MeshSet.hpp.

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

        {
            return DIM_FROM_HANDLE( handle ) == mDim;
        }

Member Data Documentation

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