HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VEX_RefObject Class Referenceabstract

#include <VEX_RefObject.h>

+ Inheritance diagram for VEX_RefObject:

Public Member Functions

 VEX_RefObject ()
 
virtual ~VEX_RefObject ()
 
virtual const char * className () const =0
 
int getRefCount ()
 
virtual bool isEqual (const VEX_RefObject &rhs) const =0
 
virtual void dump (UT_WorkBuffer &buf, int indent=0) const =0
 
void dump () const
 
virtual void flatten (UT_Array< VEX_RefObject * > &objs, UT_Array< UT_Vector3 * > &vectors, UT_Array< float * > &floats)=0
 
virtual VEX_AssemblePtr getMethod (const char *name, UT_SharedPtr< VEX_SymbolTable< VEX_32 >> &args)
 
virtual VEX_AssemblePtr getMethod (const char *name, UT_SharedPtr< VEX_SymbolTable< VEX_64 >> &args)
 
- Public Member Functions inherited from UT_IntrusiveRefCounter< VEX_RefObject >
SYS_FORCE_INLINE UT_IntrusiveRefCounter () noexcept
 Default constructor: Sets counter to 0. More...
 
SYS_FORCE_INLINE UT_IntrusiveRefCounter (const UT_IntrusiveRefCounter &) noexcept
 Copy constructor: Sets counter to 0. More...
 
UT_IntrusiveRefCounteroperator= (const UT_IntrusiveRefCounter &) noexcept
 Assignment operator: Does not modify counter. More...
 
SYS_FORCE_INLINE uint32 use_count () const noexcept
 Return current counter. More...
 
SYS_FORCE_INLINE bool conditionalAddRef () noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from UT_IntrusiveRefCounter< VEX_RefObject >
SYS_FORCE_INLINE ~UT_IntrusiveRefCounter ()
 Destructor: Only derived classes can destruct this. More...
 

Detailed Description

Definition at line 44 of file VEX_RefObject.h.

Constructor & Destructor Documentation

VEX_RefObject::VEX_RefObject ( )
virtual VEX_RefObject::~VEX_RefObject ( )
virtual

Member Function Documentation

virtual const char* VEX_RefObject::className ( ) const
pure virtual
virtual void VEX_RefObject::dump ( UT_WorkBuffer buf,
int  indent = 0 
) const
pure virtual
void VEX_RefObject::dump ( ) const
virtual void VEX_RefObject::flatten ( UT_Array< VEX_RefObject * > &  objs,
UT_Array< UT_Vector3 * > &  vectors,
UT_Array< float * > &  floats 
)
pure virtual

Flatten parameter values into per-type arrays. If you've already called duplicate(), the result of flatten() will produce data arrays that match by index with the original object. Traversal is preorder.

virtual VEX_AssemblePtr VEX_RefObject::getMethod ( const char *  name,
UT_SharedPtr< VEX_SymbolTable< VEX_32 >> &  args 
)
virtual

Find a method by name, and return the shader and arguments associated with it. If the method does not exist, return 0. The method must set args.

virtual VEX_AssemblePtr VEX_RefObject::getMethod ( const char *  name,
UT_SharedPtr< VEX_SymbolTable< VEX_64 >> &  args 
)
virtual
int VEX_RefObject::getRefCount ( )
inline

Definition at line 55 of file VEX_RefObject.h.

virtual bool VEX_RefObject::isEqual ( const VEX_RefObject rhs) const
pure virtual

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