HDK
|
#include <GA_IndexMap.h>
Public Member Functions | |
Marker (const GA_IndexMap &indexmap) | |
GA_Range | getRange () const |
GA_Offset | getBegin () const |
Returns the lower-bound on the beginning of the range. More... | |
GA_Offset | getEnd () const |
Returns the upper-bound on the end of the range. More... | |
This is a helpful class for getting the range of elements created after such a Marker is declared. For example,
GA_IndexMap::Marker marker(gdp->getPointMap()); ... // Some code that creates points for (GA_Iterator it(marker.getRange()); !it.atEnd(); ++it) ... // Do something to each created point
NOTE: The code doing the creating can't delete elements from the index map before adding any new elements.
Definition at line 210 of file GA_IndexMap.h.
|
inline |
Definition at line 213 of file GA_IndexMap.h.
|
inline |
Returns the lower-bound on the beginning of the range.
Definition at line 228 of file GA_IndexMap.h.
|
inline |
Returns the upper-bound on the end of the range.
Definition at line 230 of file GA_IndexMap.h.
|
inline |
Returns a GA_Range of (non-temporary) elements added after the creation of this Marker, so long as no elements that were already in the GA_IndexMap were deleted before adding any new elements. All non-temporary elements between getBegin() and getEnd() are in the range.
Definition at line 224 of file GA_IndexMap.h.