HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE > Class Template Reference

#include <GA_DataArrayPageTableImpl.h>

+ Inheritance diagram for GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >:

Classes

struct  ga_DataArrayPagePtr
 

Public Member Functions

 ga_DataArrayPageTableImpl (T def)
 
SYS_FORCE_INLINE GA_PageOff countInLast () const
 
SYS_FORCE_INLINE GA_PageOffcountInLast ()
 
SYS_FORCE_INLINE GA_PageOff capacityInLast () const
 
SYS_FORCE_INLINE GA_PageOffcapacityInLast ()
 
SYS_FORCE_INLINE TB get (GA_Offset offset) const
 
SYS_FORCE_INLINE void set (GA_Offset offset, TB v)
 
SYS_FORCE_INLINE TB get (GA_PageNum pageid, GA_PageOff offset) const
 
SYS_FORCE_INLINE void set (GA_PageNum pageid, GA_PageOff offset, TB v)
 
SYS_FORCE_INLINE void add (GA_PageNum pageid, GA_PageOff offset, TB v)
 
SYS_FORCE_INLINEgetVector (GA_Offset offset) const
 
SYS_FORCE_INLINE void setVector (GA_Offset offset, const T &v)
 
SYS_FORCE_INLINEgetVector (GA_PageNum pageid, GA_PageOff offset) const
 
SYS_FORCE_INLINE void setVector (GA_PageNum pageid, GA_PageOff offset, const T &v)
 
SYS_FORCE_INLINE void addVector (GA_Offset offset, T v)
 
SYS_FORCE_INLINE void addVector (GA_PageNum pageid, GA_PageOff offset, T v)
 
ga_DataArrayPage< T > * createConstantPage (T value, GA_PageOff startdef=GA_PageOff(GA_PAGE_SIZE), GA_PageOff capacity=GA_PageOff(GA_PAGE_SIZE)) const
 
T * forceHardenToData (GA_PageNum pageid, GA_PageOff capacity=GA_PageOff(GA_PAGE_SIZE))
 
SYS_FORCE_INLINE T * hardenToData (GA_PageNum pageid)
 
SYS_FORCE_INLINE T * softenToData (GA_PageNum pageid)
 
void setConstant (GA_Offset start_offset, GA_Offset end_offset, T value)
 

Protected Attributes

UT_Array< ga_DataArrayPagePtrmyPages
 
UT_Array< GA_PageOffmyCountInLast
 
UT_Array< GA_PageOffmyCapacityInLast
 
myDefault
 

Detailed Description

template<typename T, typename TB, int SLICE, int VECTORSIZE>
class GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >

Definition at line 135 of file GA_DataArrayPageTableImpl.h.

Constructor & Destructor Documentation

template<typename T , typename TB , int SLICE, int VECTORSIZE>
GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::ga_DataArrayPageTableImpl ( def)
inline

Definition at line 187 of file GA_DataArrayPageTableImpl.h.

Member Function Documentation

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE void GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::add ( GA_PageNum  pageid,
GA_PageOff  offset,
TB  v 
)
inline

Definition at line 294 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE void GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::addVector ( GA_Offset  offset,
v 
)
inline

Definition at line 412 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE void GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::addVector ( GA_PageNum  pageid,
GA_PageOff  offset,
v 
)
inline

Definition at line 417 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE GA_PageOff GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::capacityInLast ( ) const
inline

Definition at line 206 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE GA_PageOff& GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::capacityInLast ( )
inline

Definition at line 209 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE GA_PageOff GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::countInLast ( ) const
inline

Definition at line 200 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE GA_PageOff& GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::countInLast ( )
inline

Definition at line 203 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
ga_DataArrayPage<T>* GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::createConstantPage ( value,
GA_PageOff  startdef = GA_PageOff(GA_PAGE_SIZE),
GA_PageOff  capacity = GA_PageOff(GA_PAGE_SIZE) 
) const
inline

Definition at line 451 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
T* GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::forceHardenToData ( GA_PageNum  pageid,
GA_PageOff  capacity = GA_PageOff(GA_PAGE_SIZE) 
)
inline

Definition at line 482 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE TB GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::get ( GA_Offset  offset) const
inline

Definition at line 212 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE TB GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::get ( GA_PageNum  pageid,
GA_PageOff  offset 
) const
inline

Definition at line 222 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE T GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::getVector ( GA_Offset  offset) const
inline

Definition at line 328 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE T GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::getVector ( GA_PageNum  pageid,
GA_PageOff  offset 
) const
inline

Definition at line 338 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE T* GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::hardenToData ( GA_PageNum  pageid)
inline

Definition at line 549 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE void GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::set ( GA_Offset  offset,
TB  v 
)
inline

Definition at line 217 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE void GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::set ( GA_PageNum  pageid,
GA_PageOff  offset,
TB  v 
)
inline

Definition at line 234 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
void GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::setConstant ( GA_Offset  start_offset,
GA_Offset  end_offset,
value 
)
inline

Definition at line 579 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE void GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::setVector ( GA_Offset  offset,
const T &  v 
)
inline

Definition at line 333 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE void GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::setVector ( GA_PageNum  pageid,
GA_PageOff  offset,
const T &  v 
)
inline

Definition at line 354 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
SYS_FORCE_INLINE T* GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::softenToData ( GA_PageNum  pageid)
inline

Definition at line 564 of file GA_DataArrayPageTableImpl.h.

Member Data Documentation

template<typename T , typename TB , int SLICE, int VECTORSIZE>
UT_Array<GA_PageOff> GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::myCapacityInLast
mutableprotected

Definition at line 181 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
UT_Array<GA_PageOff> GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::myCountInLast
mutableprotected

Definition at line 179 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
T GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::myDefault
protected

Definition at line 183 of file GA_DataArrayPageTableImpl.h.

template<typename T , typename TB , int SLICE, int VECTORSIZE>
UT_Array<ga_DataArrayPagePtr> GA_Private::ga_DataArrayPageTableImpl< T, TB, SLICE, VECTORSIZE >::myPages
mutableprotected

Definition at line 172 of file GA_DataArrayPageTableImpl.h.


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