|
| GA_AIFBlindData () |
|
virtual | ~GA_AIFBlindData () |
|
virtual bool | setDataSize (GA_Attribute *attrib, GA_Size size_in_bytes, const void *default_value=NULL) const =0 |
|
virtual bool | setDataAlignment (GA_Attribute *attrib, GA_Size alignment_bytes) const =0 |
|
virtual const void * | getReadData (const GA_Attribute *attrib, GA_Offset offset) const =0 |
| Get a read pointer to the data for a given element. More...
|
|
virtual void * | getWriteData (GA_Attribute *attrib, GA_Offset offset) const =0 |
| Get a write pointer to the data for a given element. More...
|
|
template<typename T > |
const T & | getValue (const GA_Attribute *atr, GA_Offset off) const |
| Convenience function to access value as a read-only object. More...
|
|
template<typename T > |
T & | getWriteValue (GA_Attribute *atr, GA_Offset off) const |
| Convenience function to access value as a writable object. More...
|
|
template<typename T > |
void | setValue (GA_Attribute *atr, GA_Offset off, const T &value) const |
| Convenience function to set value to an object. More...
|
|
|
virtual GA_Size | getDataSize (const GA_Attribute *attrib) const =0 |
|
virtual GA_Size | getDataAlignment (const GA_Attribute *attrib) const =0 |
|
|
virtual bool | getSaveFlag (const GA_Attribute *a) const =0 |
|
virtual void | setSaveFlag (GA_Attribute *a, bool save) const =0 |
|
|
virtual GA_BlindDataEndian | getEndianFlag (const GA_Attribute *a) const =0 |
|
virtual void | swapEndianFlag (GA_Attribute *a) const =0 |
|
Attribute Interface for blind data per element.
This attribute interface allows control over a "blind" attribute. Each element is viewed as having a block of N bytes associated with it. You can get a blind pointer to this data to read/write data.
- Warning
- No constructor/destructors are called on the blind data, the blind data should be used for POD types like floats or ints, and only if there's no way to use friendlier attribute types.
Definition at line 31 of file GA_AIFBlindData.h.