HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI > Class Template Reference

Read-Write string handle. More...

#include <GA_Handle.h>

+ Inheritance diagram for GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >:

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_AttributegetAttribute () 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
 
- Public Member Functions inherited from GA_ROHandleTHolder< HOLDER, INDEXTYPE, ATI >
 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_AttributegetAttribute () 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

- Protected Attributes inherited from GA_ROHandleTHolder< HOLDER, INDEXTYPE, ATI >
const ATI * myAttrib
 

Detailed Description

template<typename HOLDER, typename INDEXTYPE, typename ATI>
class GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >

Read-Write string handle.

Definition at line 865 of file GA_Handle.h.

Member Typedef Documentation

template<typename HOLDER, typename INDEXTYPE, typename ATI>
typedef GA_ROHandleTHolder<HOLDER, INDEXTYPE, ATI> GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::Base

Definition at line 868 of file GA_Handle.h.

Constructor & Destructor Documentation

template<typename HOLDER, typename INDEXTYPE, typename ATI>
GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::GA_RWHandleTHolder ( )
inline

Definition at line 874 of file GA_Handle.h.

template<typename HOLDER, typename INDEXTYPE, typename ATI>
GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::GA_RWHandleTHolder ( GA_Attribute attrib)
inline

Definition at line 878 of file GA_Handle.h.

template<typename HOLDER, typename INDEXTYPE, typename ATI>
GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::GA_RWHandleTHolder ( const GA_Detail gdp,
GA_AttributeOwner  owner,
const UT_StringRef name,
int  minsize = 1 
)
inline

Definition at line 882 of file GA_Handle.h.

Member Function Documentation

template<typename HOLDER, typename INDEXTYPE, typename ATI>
void GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::bumpDataId ( ) const
inline

Definition at line 894 of file GA_Handle.h.

template<typename HOLDER, typename INDEXTYPE, typename ATI>
GA_Attribute* GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::getAttribute ( ) const
inline

Definition at line 892 of file GA_Handle.h.

template<typename HOLDER, typename INDEXTYPE, typename ATI>
GA_DataId GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::getDataId ( ) const
inline

Definition at line 900 of file GA_Handle.h.

template<typename HOLDER, typename INDEXTYPE, typename ATI>
ATI* GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::operator-> ( ) const
inline

Definition at line 931 of file GA_Handle.h.

template<typename HOLDER, typename INDEXTYPE, typename ATI>
void GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::operator= ( GA_Attribute attrib)
inline

Definition at line 887 of file GA_Handle.h.

template<typename HOLDER, typename INDEXTYPE, typename ATI>
ATI* GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::rwAttrib ( ) const
inlineprotected

Definition at line 936 of file GA_Handle.h.

template<typename HOLDER, typename INDEXTYPE, typename ATI>
SYS_FORCE_INLINE void GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::set ( GA_Offset  off,
const HOLDER &  str 
) const
inline

Store the str at the given offset.

Definition at line 908 of file GA_Handle.h.

template<typename HOLDER, typename INDEXTYPE, typename ATI>
SYS_FORCE_INLINE void GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::set ( GA_Offset  off,
int  comp,
const HOLDER &  str 
) const
inline

Definition at line 912 of file GA_Handle.h.

template<typename HOLDER, typename INDEXTYPE, typename ATI>
SYS_FORCE_INLINE void GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::set ( GA_Offset  off,
INDEXTYPE  idx 
) const
inline

Store the string indexed by the idx at the given offset.

Definition at line 920 of file GA_Handle.h.

template<typename HOLDER, typename INDEXTYPE, typename ATI>
SYS_FORCE_INLINE void GA_RWHandleTHolder< HOLDER, INDEXTYPE, ATI >::set ( GA_Offset  off,
int  comp,
INDEXTYPE  idx 
) const
inline

Definition at line 924 of file GA_Handle.h.


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