HDK
|
This class provides a way to manage a reference to an attribute permitting Write-Only access. More...
#include <GA_AttributeRef.h>
Public Member Functions | |
GA_WOAttributeRef (GA_Attribute *attrib=0) | |
GA_Attribute & | operator* () const |
Define the * operator to dereference the attribute. More... | |
GA_Attribute * | operator-> () const |
Define the -> operator to access the attribute. More... | |
GA_WOAttributeRef & | operator= (GA_Attribute *attrib) |
Assignment operator. More... | |
bool | operator== (const GA_WOAttributeRef &src) const |
Comparison operator. More... | |
bool | operator!= (const GA_WOAttributeRef &src) const |
Comparison operator. More... | |
bool | isValid () const |
Test to see if the attribute reference refers to a valid attribute. More... | |
bool | isInvalid () const |
Test to see if the attribute reference refers to a valid attribute. More... | |
void | clear () |
Method to clear the handle (so that it is no longer valid) More... | |
bool | setTypeInfo (GA_TypeInfo info) |
Set type information on the attribute. More... | |
bool | isFloat () const |
Determine the storage type of the underlying attribute. More... | |
bool | isInt () const |
bool | isString () const |
bool | isDict () const |
GA_StorageClass | getStorageClass () const |
int | getTupleSize () const |
void | setTupleSize (int size) |
GA_Attribute * | get () const |
operator GA_Attribute * () const | |
SYS_SAFE_BOOL | operator bool () const |
GA_Attribute * | getAttribute () const |
const GA_AIFCopyData * | getAIFCopyData () const |
const GA_AIFMath * | getAIFMath () const |
const GA_AIFInterp * | getAIFInterp () const |
const GA_AIFTuple * | getAIFTuple () const |
const GA_AIFStringTuple * | getAIFStringTuple () const |
const GA_AIFSharedDictTuple * | getAIFSharedDictTuple () const |
const GA_AIFSharedDictArray * | getAIFSharedDictArray () const |
const GA_AIFIndexPair * | getAIFIndexPair () const |
const GA_AIFNumericArray * | getAIFNumericArray () const |
const GA_AIFSharedStringArray * | getAIFSharedStringArray () const |
Friends | |
class | GA_ROAttributeRef |
This class provides a way to manage a reference to an attribute permitting Write-Only access.
Definition at line 37 of file GA_AttributeRef.h.
GA_WOAttributeRef::GA_WOAttributeRef | ( | GA_Attribute * | attrib = 0 | ) |
Default constructor. If an attribute is passed in, the ref will be valid. Otherwise, it will be invalid.
void GA_WOAttributeRef::clear | ( | ) |
Method to clear the handle (so that it is no longer valid)
|
inline |
Definition at line 130 of file GA_AttributeRef.h.
|
inline |
Definition at line 137 of file GA_AttributeRef.h.
|
inline |
Definition at line 169 of file GA_AttributeRef.h.
|
inline |
Definition at line 145 of file GA_AttributeRef.h.
|
inline |
Definition at line 141 of file GA_AttributeRef.h.
|
inline |
Definition at line 173 of file GA_AttributeRef.h.
|
inline |
Definition at line 163 of file GA_AttributeRef.h.
|
inline |
Definition at line 157 of file GA_AttributeRef.h.
|
inline |
Definition at line 179 of file GA_AttributeRef.h.
|
inline |
Definition at line 153 of file GA_AttributeRef.h.
|
inline |
Definition at line 149 of file GA_AttributeRef.h.
|
inline |
Definition at line 133 of file GA_AttributeRef.h.
|
inline |
Definition at line 102 of file GA_AttributeRef.h.
|
inline |
Tuple size of the attribute. Non-tuple types are treated as size one.
Definition at line 114 of file GA_AttributeRef.h.
|
inline |
Definition at line 97 of file GA_AttributeRef.h.
|
inline |
Determine the storage type of the underlying attribute.
Definition at line 86 of file GA_AttributeRef.h.
|
inline |
Definition at line 89 of file GA_AttributeRef.h.
|
inline |
Test to see if the attribute reference refers to a valid attribute.
Definition at line 74 of file GA_AttributeRef.h.
|
inline |
Definition at line 92 of file GA_AttributeRef.h.
|
inline |
Test to see if the attribute reference refers to a valid attribute.
Definition at line 68 of file GA_AttributeRef.h.
|
inline |
Definition at line 132 of file GA_AttributeRef.h.
|
inline |
Definition at line 131 of file GA_AttributeRef.h.
|
inline |
Comparison operator.
Definition at line 61 of file GA_AttributeRef.h.
|
inline |
Define the * operator to dereference the attribute.
Definition at line 45 of file GA_AttributeRef.h.
|
inline |
Define the -> operator to access the attribute.
Definition at line 48 of file GA_AttributeRef.h.
GA_WOAttributeRef& GA_WOAttributeRef::operator= | ( | GA_Attribute * | attrib | ) |
Assignment operator.
|
inline |
Comparison operator.
Definition at line 55 of file GA_AttributeRef.h.
Definition at line 123 of file GA_AttributeRef.h.
bool GA_WOAttributeRef::setTypeInfo | ( | GA_TypeInfo | info | ) |
Set type information on the attribute.
|
friend |
Definition at line 196 of file GA_AttributeRef.h.