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

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

#include <GA_RTIPageList.h>

+ Inheritance diagram for GA_RTIPageList:

Public Member Functions

 GA_RTIPageList (GA_IndexMap &list, const UT_SharedPtr< const UT_IntArray > &pages, GA_Offset start=GA_Offset(0), GA_Offset end=GA_INVALID_OFFSET)
 
 GA_RTIPageList (const GA_IndexMap &list, const UT_SharedPtr< const UT_IntArray > &pages, GA_Offset start=GA_Offset(0), GA_Offset end=GA_INVALID_OFFSET)
 
 GA_RTIPageList (const GA_RTIPageList &src)
 
 ~GA_RTIPageList () override
 
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 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
 
- 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 29 of file GA_RTIPageList.h.

Constructor & Destructor Documentation

GA_RTIPageList::GA_RTIPageList ( GA_IndexMap list,
const UT_SharedPtr< const UT_IntArray > &  pages,
GA_Offset  start = GA_Offset(0),
GA_Offset  end = GA_INVALID_OFFSET 
)
GA_RTIPageList::GA_RTIPageList ( const GA_IndexMap list,
const UT_SharedPtr< const UT_IntArray > &  pages,
GA_Offset  start = GA_Offset(0),
GA_Offset  end = GA_INVALID_OFFSET 
)
GA_RTIPageList::GA_RTIPageList ( const GA_RTIPageList src)
GA_RTIPageList::~GA_RTIPageList ( )
override

Member Function Documentation

bool GA_RTIPageList::areTraversalDeletionsSafe ( ) const
inlineoverridevirtual

RangeTypeInterface implementation

Reimplemented from GA_RangeTypeInterface.

Definition at line 58 of file GA_RTIPageList.h.

GA_RangeTypeInterface* GA_RTIPageList::copy ( ) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

GA_Size GA_RTIPageList::getEntries ( ) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

GA_Offset GA_RTIPageList::getFirstOffsetInPage ( GA_Size  ) const
inlineoverridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 62 of file GA_RTIPageList.h.

GA_Size GA_RTIPageList::getMaxEntries ( ) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

GA_Size GA_RTIPageList::getPageCount ( ) const
inlineoverridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 59 of file GA_RTIPageList.h.

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

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 60 of file GA_RTIPageList.h.

bool GA_RTIPageList::isEmpty ( ) const
overridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

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

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

bool GA_RTIPageList::isSplittable ( ) const
inlineoverridevirtual

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

Definition at line 46 of file GA_RTIPageList.h.

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

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

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

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

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

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.

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

RangeTypeInterface implementation

Implements GA_RangeTypeInterface.


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