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

Define a range based on a specific offset list. More...

#include <GA_RTIOffsetList.h>

+ Inheritance diagram for GA_RTIOffsetList:

Public Member Functions

 GA_RTIOffsetList (const GA_IndexMap &list, const GA_OffsetList &offsets, GA_Size start=0, GA_Size end=-1)
 
 GA_RTIOffsetList (const GA_RTIOffsetList &src)
 
virtual ~GA_RTIOffsetList ()
 
const GA_OffsetListgetOffsetList () const
 Accessor for offset list. More...
 
virtual void iterateRewind (GA_IteratorState &state, GA_Offset &start, GA_Offset &end) const
 
virtual void iterateNext (GA_IteratorState &state, GA_Offset &start, GA_Offset &end) const
 
virtual GA_RangeTypeInterfacecopy () const
 
virtual bool isSplittable () const
 
virtual bool isEmpty () const
 
virtual GA_Size getMaxEntries () const
 
virtual GA_Size getEntries () const
 
virtual bool split (GA_RangeTypeInterface *list[2]) const
 
virtual bool isEqual (const GA_RangeTypeInterface &src) const
 
virtual void iterateCopy (GA_IteratorState &dest, const GA_IteratorState &src) const
 
virtual bool areTraversalDeletionsSafe () const
 
virtual GA_Size getPageCount () const
 
virtual bool getPageElementRange (GA_Range &, GA_Size, GA_Size) const
 
virtual GA_Offset getFirstOffsetInPage (GA_Size) const
 
- Public Member Functions inherited from GA_RTISingle
 GA_RTISingle (const GA_IndexMap &list)
 
 GA_RTISingle (const GA_RTISingle &other)
 
virtual ~GA_RTISingle ()
 
- 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 isOrdered () const
 Query if the RTI is ordered according to the index. More...
 
virtual bool canContainDuplicates () const
 
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

Define a range based on a specific offset list.

Definition at line 27 of file GA_RTIOffsetList.h.

Constructor & Destructor Documentation

GA_RTIOffsetList::GA_RTIOffsetList ( const GA_IndexMap list,
const GA_OffsetList offsets,
GA_Size  start = 0,
GA_Size  end = -1 
)
GA_RTIOffsetList::GA_RTIOffsetList ( const GA_RTIOffsetList src)
virtual GA_RTIOffsetList::~GA_RTIOffsetList ( )
virtual

Member Function Documentation

virtual bool GA_RTIOffsetList::areTraversalDeletionsSafe ( ) const
inlinevirtual

RangeTypeInterface implementation

Reimplemented from GA_RangeTypeInterface.

Definition at line 51 of file GA_RTIOffsetList.h.

virtual GA_RangeTypeInterface* GA_RTIOffsetList::copy ( ) const
virtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

virtual GA_Size GA_RTIOffsetList::getEntries ( ) const
virtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

virtual GA_Offset GA_RTIOffsetList::getFirstOffsetInPage ( GA_Size  ) const
inlinevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 55 of file GA_RTIOffsetList.h.

virtual GA_Size GA_RTIOffsetList::getMaxEntries ( ) const
virtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

const GA_OffsetList& GA_RTIOffsetList::getOffsetList ( ) const
inline

Accessor for offset list.

Definition at line 60 of file GA_RTIOffsetList.h.

virtual GA_Size GA_RTIOffsetList::getPageCount ( ) const
inlinevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 52 of file GA_RTIOffsetList.h.

virtual bool GA_RTIOffsetList::getPageElementRange ( GA_Range ,
GA_Size  ,
GA_Size   
) const
inlinevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 53 of file GA_RTIOffsetList.h.

virtual bool GA_RTIOffsetList::isEmpty ( ) const
virtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

virtual bool GA_RTIOffsetList::isEqual ( const GA_RangeTypeInterface src) const
virtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

virtual bool GA_RTIOffsetList::isSplittable ( ) const
virtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

virtual void GA_RTIOffsetList::iterateCopy ( GA_IteratorState dest,
const GA_IteratorState src 
) const
virtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

virtual void GA_RTIOffsetList::iterateNext ( GA_IteratorState state,
GA_Offset start,
GA_Offset end 
) const
virtual

Choose the next contiguous range. If the iteration is complete, start should be set to a value greater than end.

Reimplemented from GA_RTISingle.

virtual void GA_RTIOffsetList::iterateRewind ( GA_IteratorState state,
GA_Offset start,
GA_Offset end 
) const
virtual

Rewind the iterator (i.e. reset the iterator state). The start/offset should be initialized so that they define the first contiguous "block" for iteration. If the range is empty, start should be greater than end

Reimplemented from GA_RTISingle.

virtual bool GA_RTIOffsetList::split ( GA_RangeTypeInterface list[2]) const
virtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.


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