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


Member Typedef Documentation

Definition at line 371 of file MeshSet.hpp.

Definition at line 372 of file MeshSet.hpp.

Definition at line 370 of file MeshSet.hpp.


Constructor & Destructor Documentation

Definition at line 308 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 345 of file MeshSet.hpp.

References h.

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

Definition at line 337 of file MeshSet.hpp.

References h.

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

Definition at line 309 of file MeshSet.hpp.

References h.

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

Definition at line 319 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 327 of file MeshSet.hpp.

References h.

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

Definition at line 314 of file MeshSet.hpp.

References h.

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

Definition at line 323 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 332 of file MeshSet.hpp.

References h.

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

Definition at line 349 of file MeshSet.hpp.

References h.

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

Definition at line 357 of file MeshSet.hpp.

References h.

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

Definition at line 341 of file MeshSet.hpp.

References h.

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

Definition at line 353 of file MeshSet.hpp.

References h.

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

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