OpenCMISS-Zinc C++ API Documentation
Public Member Functions | List of all members
OpenCMISS::Zinc::Nodeiterator Class Reference

An iterator for looping through all the nodes in a nodeset. More...

#include <node.hpp>

Public Member Functions

 Nodeiterator (cmzn_nodeiterator_id node_iterator_id)
 
 Nodeiterator (const Nodeiterator &nodeIterator)
 
Nodeiteratoroperator= (const Nodeiterator &nodeIterator)
 
bool isValid () const
 
Node next ()
 

Detailed Description

An iterator for looping through all the nodes in a nodeset.

An iterator for looping through all the nodes in a nodeset.

Member Function Documentation

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

Check if this is a valid Nodeiterator object.

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

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

Returns
Handle to the next node, or NULL/invalid handle if none remaining or failed.

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