|
| GA_RWBatchHandleTHolder () |
|
| GA_RWBatchHandleTHolder (GA_Attribute *attrib) |
|
| GA_RWBatchHandleTHolder (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) |
| Bind the handle to the given attribute. More...
|
|
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 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...
|
|
SYS_FORCE_INLINE void | set (GA_Offset off, const HOLDER &str) |
| Store the str at the given offset. More...
|
|
SYS_FORCE_INLINE void | set (const GA_Range &range, const HOLDER &str) |
|
SYS_FORCE_INLINE void | set (GA_Offset off, int comp, const HOLDER &str) |
|
SYS_FORCE_INLINE void | set (const GA_Range &range, int comp, const HOLDER &str) |
|
SYS_FORCE_INLINE void | set (GA_Offset off, INDEXTYPE idx) |
| Store the string indexed by the idx at the given offset. More...
|
|
SYS_FORCE_INLINE void | set (const GA_Range &range, INDEXTYPE idx) |
|
SYS_FORCE_INLINE void | set (GA_Offset off, int comp, INDEXTYPE idx) |
|
SYS_FORCE_INLINE void | set (const GA_Range &range, int comp, INDEXTYPE idx) |
|
SYS_FORCE_INLINE bool | hasChanges () const |
|
|
SYS_FORCE_INLINE bool | isValid () const |
|
SYS_FORCE_INLINE bool | isInvalid () const |
|
template<typename HOLDER, typename INDEXTYPE, typename ATI, typename DELAYEDWRITER>
class GA_RWBatchHandleTHolder< HOLDER, INDEXTYPE, ATI, DELAYEDWRITER >
Read-Write string handle Batches all reference counts until a flush() or its destructor. Because it tracks this locally, you MUST create a separate one per thread! (Even if this were made thread safe, that would defeat the purpose of this, which is to use thread-local reference counts to avoid write contention) NOTE: This bumps the data ID of any attribute it's bound to upon destruction.
Definition at line 1035 of file GA_Handle.h.