Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
moab::MeshSet::hdl_iter Struct Reference

#include <MeshSet.hpp>

Classes

struct  iterator_category

Public Types

typedef EntityID difference_type
typedef EntityHandle value_type
typedef EntityHandlepointer
typedef EntityHandlereference

Public Member Functions

 hdl_iter (EntityHandle val)
hdl_iteroperator++ ()
hdl_iteroperator-- ()
hdl_iter operator++ (int)
hdl_iter operator-- (int)
hdl_iteroperator+= (size_t s)
hdl_iteroperator-= (size_t s)
EntityHandle operator* () const
bool operator== (hdl_iter other) const
bool operator!= (hdl_iter other) const
bool operator< (hdl_iter other) const
bool operator> (hdl_iter other) const
bool operator<= (hdl_iter other) const
bool operator>= (hdl_iter other) const

Public Attributes

EntityHandle h

Detailed Description

Iterate over range of handles. That is, given [first_handle,last_handle], step through all contained values.

Definition at line 316 of file MeshSet.hpp.


Member Typedef Documentation

Definition at line 382 of file MeshSet.hpp.

Definition at line 383 of file MeshSet.hpp.

Definition at line 381 of file MeshSet.hpp.


Constructor & Destructor Documentation

Definition at line 319 of file MeshSet.hpp.

Referenced by operator++(), and operator--().

: h( val ) {}

Member Function Documentation

bool moab::MeshSet::hdl_iter::operator!= ( hdl_iter  other) const [inline]

Definition at line 356 of file MeshSet.hpp.

References h.

        {
            return h != other.h;
        }
EntityHandle moab::MeshSet::hdl_iter::operator* ( ) const [inline]

Definition at line 348 of file MeshSet.hpp.

References h.

        {
            return h;
        }
hdl_iter& moab::MeshSet::hdl_iter::operator++ ( ) [inline]

Definition at line 320 of file MeshSet.hpp.

References h.

        {
            ++h;
            return *this;
        }
hdl_iter moab::MeshSet::hdl_iter::operator++ ( int  ) [inline]

Definition at line 330 of file MeshSet.hpp.

References h, and hdl_iter().

        {
            return hdl_iter( h++ );
        }
hdl_iter& moab::MeshSet::hdl_iter::operator+= ( size_t  s) [inline]

Definition at line 338 of file MeshSet.hpp.

References h.

        {
            h += s;
            return *this;
        }
hdl_iter& moab::MeshSet::hdl_iter::operator-- ( ) [inline]

Definition at line 325 of file MeshSet.hpp.

References h.

        {
            --h;
            return *this;
        }
hdl_iter moab::MeshSet::hdl_iter::operator-- ( int  ) [inline]

Definition at line 334 of file MeshSet.hpp.

References h, and hdl_iter().

        {
            return hdl_iter( h-- );
        }
hdl_iter& moab::MeshSet::hdl_iter::operator-= ( size_t  s) [inline]

Definition at line 343 of file MeshSet.hpp.

References h.

        {
            h -= s;
            return *this;
        }
bool moab::MeshSet::hdl_iter::operator< ( hdl_iter  other) const [inline]

Definition at line 360 of file MeshSet.hpp.

References h.

        {
            return h < other.h;
        }
bool moab::MeshSet::hdl_iter::operator<= ( hdl_iter  other) const [inline]

Definition at line 368 of file MeshSet.hpp.

References h.

        {
            return h <= other.h;
        }
bool moab::MeshSet::hdl_iter::operator== ( hdl_iter  other) const [inline]

Definition at line 352 of file MeshSet.hpp.

References h.

        {
            return h == other.h;
        }
bool moab::MeshSet::hdl_iter::operator> ( hdl_iter  other) const [inline]

Definition at line 364 of file MeshSet.hpp.

References h.

        {
            return h > other.h;
        }
bool moab::MeshSet::hdl_iter::operator>= ( hdl_iter  other) const [inline]

Definition at line 372 of file MeshSet.hpp.

References h.

        {
            return h >= other.h;
        }

Member Data Documentation

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