OCCT-Light 0.1
C ABI and C++ veneer for multi-language CAD workflows
Loading...
Searching...
No Matches
occtl::NodeIter::iterator Class Reference

Public Types

using iterator_category = std::input_iterator_tag
 
using value_type = NodeId
 
using difference_type = std::ptrdiff_t
 
using pointer = const NodeId *
 
using reference = const NodeId &
 

Public Member Functions

 iterator (::occtl_node_iter_t *theIter)
 
 iterator (const iterator &)=delete
 
iteratoroperator= (const iterator &)=delete
 
 iterator (iterator &&)=default
 
iteratoroperator= (iterator &&)=default
 
const NodeIdoperator* () const noexcept
 Returns a reference to the current NodeId.
 
const NodeIdoperator-> () const noexcept
 Returns a pointer to the current NodeId.
 
iteratoroperator++ ()
 Advances to the next node and returns the iterator.
 
void operator++ (int)
 Advances to the next node (postfix).
 
bool operator== (const iterator &theOther) const noexcept
 Returns true when both iterators are at the same position or both are done.
 
bool operator!= (const iterator &theOther) const noexcept
 Returns true when iterators differ.
 

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