11 #ifndef __GA_Iterator__
12 #define __GA_Iterator__
41 bool isValid()
const {
return myRange.isValid(); }
48 {
return !(*
this ==
src); }
54 return myRange.getOwner();
80 return myRange.getRTI()->getIndexMap().indexFromOffset(myCurrent);
93 bool atEnd()
const {
return myCurrent >= myEnd; }
98 if (myCurrent == myEnd)
101 myRange.iterateNext(myState, myCurrent, myEnd);
144 return !iter.
atEnd();
149 return !iter.
atEnd();
GA_Offset operator*() const
Iteration over a range of elements.
bool isValid() const
Test to see whether the iterator is valid.
GA_AttributeOwner getOwner() const
Query the element type that is being iterated over.
GA_Offset getOffset() const
bool operator!=(const GA_Iterator &src) const
A range of elements in an index-map.
GA_Index getIndex() const
bool operator!=(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Inequality operator, does exact floating point comparisons.
GA_Iterator & operator++()
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
LeafData & operator=(const LeafData &)=delete
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.