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;
71 inline void intrusive_ptr_add_ref()
const { incref(); }
103 proxy->intrusive_ptr_add_ref();
Definition of a geometry attribute.
UT_IntrusivePtr< GA_AttributeProxy > GA_AttributeProxyHandle
UT_IntrusivePtr< const GA_AttributeProxy > GA_ConstAttributeProxyHandle
bool isValid() const
Returns true if the proxy is still pointing to a valid attribute.
This class holds a reference to an attribute. Such an indirection level allows an easy way to invalid...
GA_Attribute * getAttribute()
void intrusive_ptr_release() const
const GA_Attribute * getAttribute() const