OpenCMISS-Zinc C++ API Documentation
 All Classes Namespaces Files Functions Typedefs Enumerations Enumerator Pages
Public Member Functions | List of all members
OpenCMISS::Zinc::Elementiterator Class Reference

An iterator for looping through all the elements in a mesh. More...

#include <element.hpp>

Public Member Functions

 Elementiterator (cmzn_elementiterator_id element_iterator_id)
 
 Elementiterator (const Elementiterator &elementIterator)
 
Elementiteratoroperator= (const Elementiterator &elementIterator)
 
bool isValid () const
 
Element next ()
 

Detailed Description

An iterator for looping through all the elements in a mesh.

An iterator for looping through all the elements in a mesh.

Member Function Documentation

bool OpenCMISS::Zinc::Elementiterator::isValid ( ) const
inline

Check if this is a valid Elementiterator object.

Returns
Status True if object is valid, false otherwise.
Element OpenCMISS::Zinc::Elementiterator::next ( )
inline

Returns a handle to the next element in the container being iterated over then advances the iterator position. The caller is required to destroy the returned element handle.

Returns
Handle to next element, or NULL/invalid handle if none or failed.

The documentation for this class was generated from the following file: