HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
GA_RWHandleT< T, typename ENABLE_ARRAY(T)> Class Template Reference

Read-Write handle for array attribute data. More...

#include <GA_Handle.h>

+ Inheritance diagram for GA_RWHandleT< T, typename ENABLE_ARRAY(T)>:

Public Types

typedef GA_ROHandleT< TBase
 
- Public Types inherited from GA_ROHandleT< T, ENABLE_ARRAY(T)>
typedef void(* GAprobeAttribGetter )(T &result, const GA_Attribute *atr, GA_Offset)
 
typedef T::value_type BASETYPE
 

Public Member Functions

 GA_RWHandleT ()
 
 GA_RWHandleT (GA_Attribute *attrib)
 
 GA_RWHandleT (GA_Detail *gdp, GA_AttributeOwner owner, const UT_StringRef &name, int minsize=1)
 
void operator= (GA_Attribute *attrib)
 
void bind (GA_Detail *gdp, GA_AttributeOwner owner, const UT_StringRef &name, int minsize=1)
 
void bind (GA_Attribute *attrib, int minsize=1)
 
GA_AttributegetAttribute () const
 
void bumpDataId () const
 
SYS_FORCE_INLINE void set (GA_Offset off, const T &value) const
 
GA_Attributeoperator-> () const
 
- Public Member Functions inherited from GA_ROHandleT< T, ENABLE_ARRAY(T)>
 GA_ROHandleT ()
 
 GA_ROHandleT (const GA_Attribute *attrib)
 
 GA_ROHandleT (const GA_Detail *gdp, GA_AttributeOwner owner, const UT_StringRef &name, int minsize=1)
 
void operator= (const GA_Attribute *attrib)
 
void bind (const GA_Detail *gdp, GA_AttributeOwner owner, const UT_StringRef &name, int minsize=1)
 
SYS_FORCE_INLINE void bind (const GA_Attribute *attrib, int minsize=1)
 
void bind (const GA_ATINumeric *attrib, int minsize=1)
 
const GA_AttributegetAttribute () const
 
bool isRational () const
 
void clear ()
 
SYS_FORCE_INLINE bool isValid () const
 
SYS_FORCE_INLINE bool isInvalid () const
 
SYS_FORCE_INLINE T get (GA_Offset off, int comp=0) const
 
void getBlock (GA_Offset startoff, GA_Size nelements, T *dest, int deststride=1, int component=0) const
 
void getBlockFromIndices (GA_Index startidx, GA_Size nelements, T *dest, int deststride=1, int component=0) const
 
SYS_FORCE_INLINE T operator() (GA_Offset off) const
 
SYS_FORCE_INLINE bool isPageConstant (GA_PageNum pagenum) const
 
bool operator== (const GA_ROHandleT< T > &handle) const
 
bool operator!= (const GA_ROHandleT< T > &handle) const
 
const GA_ATINumericoperator-> () const
 

Additional Inherited Members

- Static Public Attributes inherited from GA_ROHandleT< T, ENABLE_ARRAY(T)>
static const exint theTupleSize
 
- Protected Attributes inherited from GA_ROHandleT< T, ENABLE_ARRAY(T)>
GA_ATINumericmyAttrib
 
GA_PageArray< BASETYPE,
theTupleSize > * 
myExactMatch
 
GA_PageArray< typename
UT_StorageNum< BASETYPE >
::SecondGuess, theTupleSize > * 
myAlmostMatch
 

Detailed Description

template<typename T>
class GA_RWHandleT< T, typename ENABLE_ARRAY(T)>

Read-Write handle for array attribute data.

Definition at line 1216 of file GA_Handle.h.

Member Typedef Documentation

template<typename T >
typedef GA_ROHandleT<T> GA_RWHandleT< T, typename ENABLE_ARRAY(T)>::Base

Definition at line 1220 of file GA_Handle.h.

Constructor & Destructor Documentation

template<typename T >
GA_RWHandleT< T, typename ENABLE_ARRAY(T)>::GA_RWHandleT ( )
inline

Definition at line 1226 of file GA_Handle.h.

template<typename T >
GA_RWHandleT< T, typename ENABLE_ARRAY(T)>::GA_RWHandleT ( GA_Attribute attrib)
inline

Definition at line 1230 of file GA_Handle.h.

template<typename T >
GA_RWHandleT< T, typename ENABLE_ARRAY(T)>::GA_RWHandleT ( GA_Detail gdp,
GA_AttributeOwner  owner,
const UT_StringRef name,
int  minsize = 1 
)

Member Function Documentation

template<typename T >
void GA_RWHandleT< T, typename ENABLE_ARRAY(T)>::bind ( GA_Detail gdp,
GA_AttributeOwner  owner,
const UT_StringRef name,
int  minsize = 1 
)
template<typename T >
void GA_RWHandleT< T, typename ENABLE_ARRAY(T)>::bind ( GA_Attribute attrib,
int  minsize = 1 
)
inline

Definition at line 1242 of file GA_Handle.h.

template<typename T >
void GA_RWHandleT< T, typename ENABLE_ARRAY(T)>::bumpDataId ( ) const
inline

Definition at line 1249 of file GA_Handle.h.

template<typename T >
GA_Attribute* GA_RWHandleT< T, typename ENABLE_ARRAY(T)>::getAttribute ( ) const
inline

Definition at line 1247 of file GA_Handle.h.

template<typename T >
GA_Attribute* GA_RWHandleT< T, typename ENABLE_ARRAY(T)>::operator-> ( ) const
inline

Definition at line 1262 of file GA_Handle.h.

template<typename T >
void GA_RWHandleT< T, typename ENABLE_ARRAY(T)>::operator= ( GA_Attribute attrib)
inline

Definition at line 1236 of file GA_Handle.h.

template<typename T >
SYS_FORCE_INLINE void GA_RWHandleT< T, typename ENABLE_ARRAY(T)>::set ( GA_Offset  off,
const T value 
) const
inline

Definition at line 1255 of file GA_Handle.h.


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