HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GA_RWGenericHandle< T, T_OWNER > Class Template Reference

#include <GA_GenericHandle.h>

+ Inheritance diagram for GA_RWGenericHandle< T, T_OWNER >:

Public Types

typedef GA_ROGenericHandle< T,
T_OWNER > 
Base
 

Public Member Functions

 GA_RWGenericHandle (GA_Attribute *attr, int component=0)
 
void setValue (GA_Offset off, const T &val) const
 
- Public Member Functions inherited from GA_ROGenericHandle< T, T_OWNER >
 GA_ROGenericHandle (const GA_Attribute *attr, int component=0, bool forceisp=false)
 
const GA_AttributegetAttribute () const
 
bool isRational () const
 
T getValue (GA_Offset off) const
 
T getHomogeneous (GA_Offset off) const
 
bool isForcedP () const
 

Additional Inherited Members

- Protected Attributes inherited from GA_ROGenericHandle< T, T_OWNER >
GA_RWHandleT< TmyHandle
 
int myComponent
 
bool myConst
 
bool myIsRational
 
bool myIsForcedP
 

Detailed Description

template<typename T, GA_AttributeOwner T_OWNER>
class GA_RWGenericHandle< T, T_OWNER >

Read-Write access to generic attribute data

Like GA_ROGenericHandle, but also provides a method to write to the attribute. The offsets passed to set value must match the T_OWNER template parameter.

Definition at line 177 of file GA_GenericHandle.h.

Member Typedef Documentation

template<typename T, GA_AttributeOwner T_OWNER>
typedef GA_ROGenericHandle<T, T_OWNER> GA_RWGenericHandle< T, T_OWNER >::Base

Definition at line 181 of file GA_GenericHandle.h.

Constructor & Destructor Documentation

template<typename T, GA_AttributeOwner T_OWNER>
GA_RWGenericHandle< T, T_OWNER >::GA_RWGenericHandle ( GA_Attribute attr,
int  component = 0 
)
inline

Definition at line 183 of file GA_GenericHandle.h.

Member Function Documentation

template<typename T, GA_AttributeOwner T_OWNER>
void GA_RWGenericHandle< T, T_OWNER >::setValue ( GA_Offset  off,
const T val 
) const
inline

Definition at line 189 of file GA_GenericHandle.h.


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