HDK
|
Read-Write string handle. More...
#include <GA_Handle.h>
Public Types | |
typedef GA_ROHandleTHolder < HOLDER, INDEXTYPE, ATI > | Base |
Public Member Functions | |
GA_RWHandleTHolder () | |
GA_RWHandleTHolder (GA_Attribute *attrib) | |
GA_RWHandleTHolder (const GA_Detail *gdp, GA_AttributeOwner owner, const UT_StringRef &name, int minsize=1) | |
void | operator= (GA_Attribute *attrib) |
GA_Attribute * | getAttribute () const |
void | bumpDataId () const |
GA_DataId | getDataId () const |
SYS_FORCE_INLINE void | set (GA_Offset off, const HOLDER &str) const |
Store the str at the given offset. More... | |
SYS_FORCE_INLINE void | set (GA_Offset off, int comp, const HOLDER &str) const |
SYS_FORCE_INLINE void | set (GA_Offset off, INDEXTYPE idx) const |
Store the string indexed by the idx at the given offset. More... | |
SYS_FORCE_INLINE void | set (GA_Offset off, int comp, INDEXTYPE idx) const |
ATI * | operator-> () const |
![]() | |
GA_ROHandleTHolder () | |
GA_ROHandleTHolder (const GA_Attribute *attrib) | |
GA_ROHandleTHolder (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) |
void | bind (const GA_Attribute *attrib, int minsize=1) |
Bind the handle to the given attribute. More... | |
const GA_Attribute * | getAttribute () const |
Access to attribute. More... | |
int | getTupleSize () const |
Tuple size of the attribute. More... | |
GA_DataId | getDataId () const |
void | clear () |
Clear the handle. More... | |
SYS_FORCE_INLINE const HOLDER & | get (GA_Offset off, int comp=0) const |
Get the string at the given offset. More... | |
SYS_FORCE_INLINE INDEXTYPE | getIndex (GA_Offset off, int comp=0) const |
Get the string index at the given offset. More... | |
const ATI * | operator-> () const |
void | getIndexBlock (GA_Offset startoff, GA_Size nelements, INDEXTYPE *dest, int deststride=1, int component=0) const |
void | getIndexBlockFromIndices (GA_Index startidx, GA_Size nelements, INDEXTYPE *dest, int deststride=1, int component=0) const |
SYS_FORCE_INLINE bool | isValid () const |
SYS_FORCE_INLINE bool | isInvalid () const |
Protected Member Functions | |
ATI * | rwAttrib () const |
Additional Inherited Members | |
![]() | |
const ATI * | myAttrib |
Read-Write string handle.
Definition at line 951 of file GA_Handle.h.
typedef GA_ROHandleTHolder<HOLDER, INDEXTYPE, ATI> GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::Base |
Definition at line 954 of file GA_Handle.h.
|
inline |
Definition at line 960 of file GA_Handle.h.
|
inline |
Definition at line 964 of file GA_Handle.h.
|
inline |
Definition at line 968 of file GA_Handle.h.
|
inline |
Definition at line 980 of file GA_Handle.h.
|
inline |
Definition at line 978 of file GA_Handle.h.
|
inline |
Definition at line 986 of file GA_Handle.h.
|
inline |
Definition at line 1017 of file GA_Handle.h.
|
inline |
Definition at line 973 of file GA_Handle.h.
|
inlineprotected |
Definition at line 1022 of file GA_Handle.h.
|
inline |
Store the str
at the given offset.
Definition at line 994 of file GA_Handle.h.
|
inline |
Definition at line 998 of file GA_Handle.h.
|
inline |
Store the string indexed by the idx
at the given offset.
Definition at line 1006 of file GA_Handle.h.
|
inline |
Definition at line 1010 of file GA_Handle.h.