67 {
return myRange->isEmpty(); }
124 bool complement=
false);
129 bool complement=
false);
222 setRange(src.myRange);
229 myRange =
src.myRange;
230 src.myRange =
nullptr;
241 bool isValid()
const {
return myRange != NULL; }
247 bool isEmpty()
const {
return myRange->isEmpty(); }
260 getRTI()->areTraversalDeletionsSafe();
267 {
return myRange->canContainDuplicates(); }
281 { myRange->iterateCreate(state); }
283 { myRange->iterateDestroy(state); }
286 { myRange->iterateRewind(state, start, end); }
289 { myRange->iterateNext(state, start, end); }
292 { myRange->iterateCopy(dest, src); }
A class to manage an ordered array which has fixed offset handles.
Iteration over a range of elements.
*get result *(waiting if necessary)*A common idiom is to fire a bunch of sub tasks at the and then *wait for them to all complete We provide a helper class
GA_Iterator const_iterator
bool isValid() const
Check whether range is valid (i.e. has an implementation)
bool areTraversalDeletionsSafe() const
Abstract base class for a range membership query object.
exint GA_Size
Defines the bit width for index and offset types in GA.
A range of elements in an index-map.
bool operator==(const BaseDimensions< T > &a, const BaseDimensions< Y > &b)
bool canContainDuplicates() const
GA_Size getMaxEntries() const
Get an upper bound on the range.
const GA_RangeTypeInterface * getRTI() const
Accessor for RTI.
GA_Size GA_Index
Define the strictness of GA_Offset/GA_Index.
Abstract implementation of a range.
bool isEmpty() const
Check whether the range is empty.
bool empty() const
Determine whether a range is empty.
const GA_Range & operator=(const GA_Range &src)
const GA_Range & operator=(GA_Range &&src) noexcept
GA_Size getEntries() const
Get an accurate count of the entries in the range.
Container class for all geometry.
void adopt(GA_RangeTypeInterface *r)
GA_AttributeOwner getOwner() const
Query type of element.
PcpNodeRef_ChildrenIterator begin(const PcpNodeRef::child_const_range &r)
Support for range-based for loops for PcpNodeRef children ranges.