HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_DataArray::directAttributeAdapter< BASE > Class Template Reference

#include <GA_DataArray.h>

+ Inheritance diagram for GA_DataArray::directAttributeAdapter< BASE >:

Static Public Member Functions

template<typename DESTTYPE , typename MYTYPE >
static DESTTYPE directGetterScalar (const GA_Attribute *atr, GA_Offset off, int comp)
 Direct access to compound objects. More...
 
template<typename SRCTYPE , typename MYTYPE >
static void directSetterScalar (GA_Attribute *atr, GA_Offset off, int comp, SRCTYPE val)
 
template<typename SRCTYPE , typename MYTYPE >
static void directAdderScalar (GA_Attribute *atr, GA_Offset off, int comp, SRCTYPE val)
 
template<typename DESTTYPE , typename MYTYPE >
static void directGetterVector (DESTTYPE &value, const GA_Attribute *atr, GA_Offset off)
 
template<typename SRCTYPE , typename MYTYPE >
static void directSetterVector (GA_Attribute *atr, GA_Offset off, const SRCTYPE &val)
 
template<typename SRCTYPE , typename MYTYPE >
static void directAdderVector (GA_Attribute *atr, GA_Offset off, const SRCTYPE &val)
 
template<typename DESTTYPE , typename MYTYPE >
static DESTTYPE directVector3GetterScalar (const GA_Attribute *atr, GA_Offset off, int comp)
 
template<typename SRCTYPE , typename MYTYPE >
static void directVector3SetterScalar (GA_Attribute *atr, GA_Offset off, int comp, SRCTYPE val)
 
template<typename SRCTYPE , typename MYTYPE >
static void directVector3AdderScalar (GA_Attribute *atr, GA_Offset off, int comp, SRCTYPE val)
 
template<typename DESTTYPE , typename MYTYPE >
static void directVector3GetterVector (DESTTYPE &value, const GA_Attribute *atr, GA_Offset off)
 
template<typename SRCTYPE , typename MYTYPE >
static void directVector3SetterVector (GA_Attribute *atr, GA_Offset off, const SRCTYPE &val)
 
template<typename SRCTYPE , typename MYTYPE >
static void directVector3AdderVector (GA_Attribute *atr, GA_Offset off, const SRCTYPE &val)
 
template<typename T , typename BASETYPE , typename MYTYPE >
static TdirectPageGetter (GA_Attribute *atr, T *marshall, GA_Offset off, int comp, bool &isconstant)
 
template<typename T , typename BASETYPE , typename MYTYPE >
static TdirectVector3PageGetter (GA_Attribute *atr, T *marshall, GA_Offset off, int comp, bool &isconstant)
 
template<typename T , typename BASETYPE , typename MYTYPE >
static TdirectPageGetterRO (const GA_Attribute *atr, T *marshall, GA_Offset off, int comp, bool &isconstant)
 
template<typename T , typename BASETYPE , typename MYTYPE >
static TdirectVector3PageGetterRO (const GA_Attribute *atr, T *marshall, GA_Offset off, int comp, bool &isconstant)
 
template<typename T , typename BASETYPE , typename MYTYPE >
static void directPageSetter (GA_Attribute *atr, const T *srcdata, GA_Offset off, int comp)
 
template<typename T , typename BASETYPE , typename MYTYPE >
static void directVector3PageSetter (GA_Attribute *atr, const T *srcdata, GA_Offset off, int comp)
 

Detailed Description

template<typename BASE>
class GA_DataArray::directAttributeAdapter< BASE >

Helper class for wrapping all direct access methods in a version that takes an attribute pointer. The provided base class must provide two static conversion methos: static const GA_DataArray const getData(const GA_Attribute *); static GA_DataArray const getData(GA_Attribute *);

Definition at line 363 of file GA_DataArray.h.

Member Function Documentation

template<typename BASE >
template<typename SRCTYPE , typename MYTYPE >
static void GA_DataArray::directAttributeAdapter< BASE >::directAdderScalar ( GA_Attribute atr,
GA_Offset  off,
int  comp,
SRCTYPE  val 
)
inlinestatic

Definition at line 382 of file GA_DataArray.h.

template<typename BASE >
template<typename SRCTYPE , typename MYTYPE >
static void GA_DataArray::directAttributeAdapter< BASE >::directAdderVector ( GA_Attribute atr,
GA_Offset  off,
const SRCTYPE &  val 
)
inlinestatic

Definition at line 403 of file GA_DataArray.h.

template<typename BASE >
template<typename DESTTYPE , typename MYTYPE >
static DESTTYPE GA_DataArray::directAttributeAdapter< BASE >::directGetterScalar ( const GA_Attribute atr,
GA_Offset  off,
int  comp 
)
inlinestatic

Direct access to compound objects.

Definition at line 368 of file GA_DataArray.h.

template<typename BASE >
template<typename DESTTYPE , typename MYTYPE >
static void GA_DataArray::directAttributeAdapter< BASE >::directGetterVector ( DESTTYPE &  value,
const GA_Attribute atr,
GA_Offset  off 
)
inlinestatic

Definition at line 389 of file GA_DataArray.h.

template<typename BASE >
template<typename T , typename BASETYPE , typename MYTYPE >
static T* GA_DataArray::directAttributeAdapter< BASE >::directPageGetter ( GA_Attribute atr,
T marshall,
GA_Offset  off,
int  comp,
bool &  isconstant 
)
inlinestatic

Definition at line 457 of file GA_DataArray.h.

template<typename BASE >
template<typename T , typename BASETYPE , typename MYTYPE >
static T* GA_DataArray::directAttributeAdapter< BASE >::directPageGetterRO ( const GA_Attribute atr,
T marshall,
GA_Offset  off,
int  comp,
bool &  isconstant 
)
inlinestatic

Definition at line 471 of file GA_DataArray.h.

template<typename BASE >
template<typename T , typename BASETYPE , typename MYTYPE >
static void GA_DataArray::directAttributeAdapter< BASE >::directPageSetter ( GA_Attribute atr,
const T srcdata,
GA_Offset  off,
int  comp 
)
inlinestatic

Definition at line 487 of file GA_DataArray.h.

template<typename BASE >
template<typename SRCTYPE , typename MYTYPE >
static void GA_DataArray::directAttributeAdapter< BASE >::directSetterScalar ( GA_Attribute atr,
GA_Offset  off,
int  comp,
SRCTYPE  val 
)
inlinestatic

Definition at line 375 of file GA_DataArray.h.

template<typename BASE >
template<typename SRCTYPE , typename MYTYPE >
static void GA_DataArray::directAttributeAdapter< BASE >::directSetterVector ( GA_Attribute atr,
GA_Offset  off,
const SRCTYPE &  val 
)
inlinestatic

Definition at line 396 of file GA_DataArray.h.

template<typename BASE >
template<typename SRCTYPE , typename MYTYPE >
static void GA_DataArray::directAttributeAdapter< BASE >::directVector3AdderScalar ( GA_Attribute atr,
GA_Offset  off,
int  comp,
SRCTYPE  val 
)
inlinestatic

Definition at line 426 of file GA_DataArray.h.

template<typename BASE >
template<typename SRCTYPE , typename MYTYPE >
static void GA_DataArray::directAttributeAdapter< BASE >::directVector3AdderVector ( GA_Attribute atr,
GA_Offset  off,
const SRCTYPE &  val 
)
inlinestatic

Definition at line 449 of file GA_DataArray.h.

template<typename BASE >
template<typename DESTTYPE , typename MYTYPE >
static DESTTYPE GA_DataArray::directAttributeAdapter< BASE >::directVector3GetterScalar ( const GA_Attribute atr,
GA_Offset  off,
int  comp 
)
inlinestatic

Definition at line 411 of file GA_DataArray.h.

template<typename BASE >
template<typename DESTTYPE , typename MYTYPE >
static void GA_DataArray::directAttributeAdapter< BASE >::directVector3GetterVector ( DESTTYPE &  value,
const GA_Attribute atr,
GA_Offset  off 
)
inlinestatic

Definition at line 434 of file GA_DataArray.h.

template<typename BASE >
template<typename T , typename BASETYPE , typename MYTYPE >
static T* GA_DataArray::directAttributeAdapter< BASE >::directVector3PageGetter ( GA_Attribute atr,
T marshall,
GA_Offset  off,
int  comp,
bool &  isconstant 
)
inlinestatic

Definition at line 464 of file GA_DataArray.h.

template<typename BASE >
template<typename T , typename BASETYPE , typename MYTYPE >
static T* GA_DataArray::directAttributeAdapter< BASE >::directVector3PageGetterRO ( const GA_Attribute atr,
T marshall,
GA_Offset  off,
int  comp,
bool &  isconstant 
)
inlinestatic

Definition at line 479 of file GA_DataArray.h.

template<typename BASE >
template<typename T , typename BASETYPE , typename MYTYPE >
static void GA_DataArray::directAttributeAdapter< BASE >::directVector3PageSetter ( GA_Attribute atr,
const T srcdata,
GA_Offset  off,
int  comp 
)
inlinestatic

Definition at line 494 of file GA_DataArray.h.

template<typename BASE >
template<typename SRCTYPE , typename MYTYPE >
static void GA_DataArray::directAttributeAdapter< BASE >::directVector3SetterScalar ( GA_Attribute atr,
GA_Offset  off,
int  comp,
SRCTYPE  val 
)
inlinestatic

Definition at line 418 of file GA_DataArray.h.

template<typename BASE >
template<typename SRCTYPE , typename MYTYPE >
static void GA_DataArray::directAttributeAdapter< BASE >::directVector3SetterVector ( GA_Attribute atr,
GA_Offset  off,
const SRCTYPE &  val 
)
inlinestatic

Definition at line 442 of file GA_DataArray.h.


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