HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_RTIIndex Class Reference

#include <GA_RTIIndex.h>

+ Inheritance diagram for GA_RTIIndex:

Public Member Functions

 GA_RTIIndex (GA_IndexMap &list)
 Iterate over the entire range of elements (in order) More...
 
 GA_RTIIndex (const GA_IndexMap &list)
 
 GA_RTIIndex (GA_IndexMap &list, GA_Index singleton)
 Specify a single element by index. More...
 
 GA_RTIIndex (const GA_IndexMap &list, GA_Index singleton)
 
 GA_RTIIndex (GA_IndexMap &list, GA_Index start, GA_Index end, GA_Size step=1)
 
 GA_RTIIndex (const GA_IndexMap &list, GA_Index start, GA_Index end, GA_Size step=1)
 
 GA_RTIIndex (const GA_RTIIndex &src)
 Copy constructor. More...
 
 ~GA_RTIIndex () override
 Destructor. More...
 
GA_RangeTypeInterfacecopy () 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
 
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
 
bool isOrdered () const override
 
bool areTraversalDeletionsSafe () const override
 
bool canContainDuplicates () const override
 
GA_Size getPageCount () const override
 
bool getPageElementRange (GA_Range &, GA_Size, GA_Size) const override
 
GA_Offset getFirstOffsetInPage (GA_Size) const override
 
- 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 const GA_RangeMemberQueryallocMemberQuery () const
 
const GA_IndexMapgetIndexMap () 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 voidoperator new (size_t size, void *p)
 
static voidoperator 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...
 

Detailed Description

Definition at line 27 of file GA_RTIIndex.h.

Constructor & Destructor Documentation

GA_RTIIndex::GA_RTIIndex ( GA_IndexMap list)

Iterate over the entire range of elements (in order)

GA_RTIIndex::GA_RTIIndex ( const GA_IndexMap list)
GA_RTIIndex::GA_RTIIndex ( GA_IndexMap list,
GA_Index  singleton 
)

Specify a single element by index.

GA_RTIIndex::GA_RTIIndex ( const GA_IndexMap list,
GA_Index  singleton 
)
GA_RTIIndex::GA_RTIIndex ( GA_IndexMap list,
GA_Index  start,
GA_Index  end,
GA_Size  step = 1 
)

Iterate over a range of elements, passing a negative step will iterate backward over the range (in this case end should be < start).

GA_RTIIndex::GA_RTIIndex ( const GA_IndexMap list,
GA_Index  start,
GA_Index  end,
GA_Size  step = 1 
)
GA_RTIIndex::GA_RTIIndex ( const GA_RTIIndex src)

Copy constructor.

GA_RTIIndex::~GA_RTIIndex ( )
override

Destructor.

Member Function Documentation

bool GA_RTIIndex::areTraversalDeletionsSafe ( ) const
inlineoverridevirtual

RangeTypeInterface implementation

Reimplemented from GA_RangeTypeInterface.

Definition at line 67 of file GA_RTIIndex.h.

bool GA_RTIIndex::canContainDuplicates ( ) const
inlineoverridevirtual

RangeTypeInterface implementation

Reimplemented from GA_RangeTypeInterface.

Definition at line 68 of file GA_RTIIndex.h.

GA_RangeTypeInterface* GA_RTIIndex::copy ( ) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

GA_Size GA_RTIIndex::getEntries ( ) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

GA_Offset GA_RTIIndex::getFirstOffsetInPage ( GA_Size  ) const
inlineoverridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 72 of file GA_RTIIndex.h.

GA_Size GA_RTIIndex::getMaxEntries ( ) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

GA_Size GA_RTIIndex::getPageCount ( ) const
inlineoverridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 69 of file GA_RTIIndex.h.

bool GA_RTIIndex::getPageElementRange ( GA_Range ,
GA_Size  ,
GA_Size   
) const
inlineoverridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 70 of file GA_RTIIndex.h.

bool GA_RTIIndex::isEmpty ( ) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

bool GA_RTIIndex::isEqual ( const GA_RangeTypeInterface src) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

bool GA_RTIIndex::isOrdered ( ) const
overridevirtual

RangeTypeInterface implementation

Reimplemented from GA_RangeTypeInterface.

bool GA_RTIIndex::isSplittable ( ) const
inlineoverridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 54 of file GA_RTIIndex.h.

void GA_RTIIndex::iterateCopy ( GA_IteratorState dest,
const GA_IteratorState src 
) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

void GA_RTIIndex::iterateNext ( GA_IteratorState state,
GA_Offset start,
GA_Offset end 
) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

void GA_RTIIndex::iterateRewind ( GA_IteratorState state,
GA_Offset start,
GA_Offset end 
) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

bool GA_RTIIndex::split ( GA_RangeTypeInterface list[2]) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.


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