HDK
|
Cache a given range for later traversal. More...
#include <GA_RTICachedRange.h>
Public Member Functions | |
GA_RTICachedRange (const GA_RangeTypeInterface &range_to_cache) | |
Iterate over the source range but in order. More... | |
GA_RTICachedRange (const GA_RTICachedRange &src) | |
~GA_RTICachedRange () override | |
virtual GA_RangeTypeInterface * | getRemainder (const GA_IteratorState &state, const GA_Offset current) const |
GA_RangeTypeInterface * | copy () const override |
bool | isSplittable () const override |
bool | isEmpty () const override |
GA_Size | getMaxEntries () const override |
GA_Size | getEntries () const override |
bool | split (GA_RangeTypeInterface *list[2]) const override |
bool | isEqual (const GA_RangeTypeInterface &src) const override |
void | iterateCopy (GA_IteratorState &dest, const GA_IteratorState &src) const override |
bool | isOrdered () const override |
bool | areTraversalDeletionsSafe () const override |
GA_Size | getPageCount () const override |
bool | getPageElementRange (GA_Range &, GA_Size, GA_Size) const override |
GA_Offset | getFirstOffsetInPage (GA_Size) const override |
const GA_OffsetList & | getOffsetList () const |
bool | isFullList () const |
GA_Size | getStart () const |
GA_Size | getEnd () const |
Public Member Functions inherited from GA_RTISingle | |
GA_RTISingle (const GA_IndexMap &list) | |
GA_RTISingle (const GA_RTISingle &other) | |
~GA_RTISingle () override | |
void | iterateRewind (GA_IteratorState &state, GA_Offset &start, GA_Offset &end) const override |
void | iterateNext (GA_IteratorState &state, GA_Offset &start, GA_Offset &end) const override |
Public Member Functions inherited from GA_RangeTypeInterface | |
GA_RangeTypeInterface (const GA_IndexMap &list) | |
GA_RangeTypeInterface (const GA_RangeTypeInterface &other) | |
virtual | ~GA_RangeTypeInterface () |
GA_AttributeOwner | getOwner () const |
Query type of element. More... | |
bool | is_divisible () const |
Convenience method to test whether the range is divisible. More... | |
bool | splitIntoRanges (GA_Range &r1, GA_Range &r2) const |
Split into two existing ranges. More... | |
virtual bool | canContainDuplicates () const |
virtual const GA_RangeMemberQuery * | allocMemberQuery () const |
const GA_IndexMap & | getIndexMap () const |
Accessor for the index map. More... | |
bool | operator== (const GA_RangeTypeInterface &src) const |
virtual void | iterateCreate (GA_IteratorState &state) const |
virtual void | iterateDestroy (GA_IteratorState &state) const |
void | incref () const |
void | decref () const |
Additional Inherited Members | |
Static Public Member Functions inherited from GA_RangeTypeInterface | |
static void * | operator new (size_t size, void *p) |
static void * | operator new (size_t size) |
static void | operator delete (void *p, size_t size) |
Protected Member Functions inherited from GA_RangeTypeInterface | |
bool | getPageElementRangeNonSplittable () const |
Method which can be called for getPageElementRange() More... | |
GA_Offset | getFirstOffsetInPageNonSplittable () const |
Method which can be called for getFirstOffsetInPage() More... | |
GA_Size | computeEntries () const |
This method creates an iterator and counts the entries. More... | |
Cache a given range for later traversal.
Definition at line 28 of file GA_RTICachedRange.h.
GA_RTICachedRange::GA_RTICachedRange | ( | const GA_RangeTypeInterface & | range_to_cache | ) |
Iterate over the source range but in order.
GA_RTICachedRange::GA_RTICachedRange | ( | const GA_RTICachedRange & | src | ) |
|
override |
|
inlineoverridevirtual |
RangeTypeInterface implementation
Reimplemented from GA_RangeTypeInterface.
Definition at line 52 of file GA_RTICachedRange.h.
|
overridevirtual |
RangeTypeInterface implementation
Implements GA_RangeTypeInterface.
|
inline |
Accessors for offset list.
Definition at line 71 of file GA_RTICachedRange.h.
|
overridevirtual |
RangeTypeInterface implementation
Implements GA_RangeTypeInterface.
RangeTypeInterface implementation
Implements GA_RangeTypeInterface.
Definition at line 60 of file GA_RTICachedRange.h.
|
overridevirtual |
RangeTypeInterface implementation
Implements GA_RangeTypeInterface.
|
inline |
Accessors for offset list.
Definition at line 66 of file GA_RTICachedRange.h.
|
inlineoverridevirtual |
RangeTypeInterface implementation
Implements GA_RangeTypeInterface.
Definition at line 55 of file GA_RTICachedRange.h.
|
inlineoverridevirtual |
RangeTypeInterface implementation
Implements GA_RangeTypeInterface.
Definition at line 57 of file GA_RTICachedRange.h.
|
virtual |
Get a GA_RangeTypeInterface representing the remainder of the range after iterating over part of it, as specified by state and current. NOTE: The caller is responsible for deleting the returned GA_RangeTypeInterface!
|
inline |
Accessors for offset list.
Definition at line 69 of file GA_RTICachedRange.h.
|
overridevirtual |
RangeTypeInterface implementation
Implements GA_RangeTypeInterface.
|
overridevirtual |
RangeTypeInterface implementation
Implements GA_RangeTypeInterface.
|
inline |
Accessors for offset list.
Definition at line 67 of file GA_RTICachedRange.h.
|
inlineoverridevirtual |
RangeTypeInterface implementation
Reimplemented from GA_RangeTypeInterface.
Definition at line 51 of file GA_RTICachedRange.h.
|
inlineoverridevirtual |
RangeTypeInterface implementation
Implements GA_RangeTypeInterface.
Definition at line 42 of file GA_RTICachedRange.h.
|
overridevirtual |
RangeTypeInterface implementation
Implements GA_RangeTypeInterface.
|
overridevirtual |
RangeTypeInterface implementation
Implements GA_RangeTypeInterface.