11 #ifndef __GA_AttributeProxy__
12 #define __GA_AttributeProxy__
41 {
return myAttribute; }
43 {
return myAttribute; }
48 {
return myAttribute != NULL; }
51 bool isLastReference()
const;
55 int64 getMemoryUsage(
bool inclusive)
const;
103 proxy->intrusive_ptr_add_ref();
Definition of a geometry attribute.
UT_IntrusivePtr< GA_AttributeProxy > GA_AttributeProxyHandle
SYS_FORCE_INLINE GA_Attribute * getAttribute()
UT_IntrusivePtr< const GA_AttributeProxy > GA_ConstAttributeProxyHandle
SYS_FORCE_INLINE const GA_Attribute * getAttribute() const
SYS_FORCE_INLINE void intrusive_ptr_release() const
This class holds a reference to an attribute. Such an indirection level allows an easy way to invalid...
SYS_FORCE_INLINE bool isValid() const
Returns true if the proxy is still pointing to a valid attribute.