#include <GA_ATINumeric.h>

Classes | |
| class | AdapterBase |
| class | binderPage |
| class | binderScalar |
| class | binderVector |
Public Types | |
| typedef void(* | GAprobeGeneric )() |
Public Member Functions | |
| GA_ATINumeric (const GA_AttributeType &type, const GA_IndexMap &index_map, GA_AttributeScope scope, const char *name, GA_Storage store, int tuple_size, const GA_Defaults &defaults) | |
| virtual | ~GA_ATINumeric () |
| virtual int64 | getMemoryUsage () const |
| Report the memory usage. | |
| virtual void | reconstructElement (GA_Offset offset) |
| virtual WriteConcurrence | getSupportedWriteConcurrence () const |
| Data is paged, so concurrent writes to separate pages supported. | |
| virtual const GA_AIFCopyData * | getAIFCopyData () const |
| Return the attribute's copy interface or NULL. | |
| virtual const GA_AIFDelta * | getAIFDelta () const |
| Return the attribute's delta interface or NULL. | |
| virtual const GA_AIFEdit * | getAIFEdit () const |
| Return the attribute's edit interface or NULL. | |
| virtual const GA_AIFTuple * | getAIFTuple () const |
| Return the attribute's tuple interface or NULL. | |
| virtual const GA_AIFMath * | getAIFMath () const |
| Return the attribute's math interface or NULL. | |
| virtual const GA_AIFMerge * | getAIFMerge () const |
| Return the attribute's merge interface or NULL. | |
| virtual const GA_AIFInterp * | getAIFInterp () const |
| Return the attribute's interpolation interface or NULL. | |
| virtual const GA_AIFCompare * | getAIFCompare () const |
| Return the attribute's comparison interface or NULL. | |
| virtual const GA_AIFJSON * | getAIFJSON () const |
| bool | jsonLoad (UT_JSONParser &p, const GA_LoadMap &map, const GA_Defaults &defs, int tuple_size, GA_Storage storage) |
| Called during JSON load. | |
| const GA_Defaults & | getDefaults () const |
| int | getTupleSize () const |
| Size of the AIFTuple, if it exists. If it doesn't, 1. | |
| GA_Storage | getStorage () const |
| GA_DataArrayTuple::ga_Packing | getPacking () const |
| bool | setTupleSize (int size) |
| bool | setStorage (GA_Storage storage) |
| virtual bool | debugValidateArrayCapacity (GA_Size sz) const |
| Debug code. | |
| virtual void | defragment (const GA_Defragment &defrag) |
| void | setTypePoint () |
| void | setTypeVector () |
| void | setTypeNormal () |
| void | setTypeColor () |
| void | setTypeMatrix3 () |
| void | setTypeMatrix () |
Static Public Member Functions | |
| static void | registerType () |
Protected Member Functions | |
| virtual bool | changeArraySize (GA_Size new_size) |
Protected Attributes | |
| GA_DataArrayTuple | myData |
| GA_Defaults | myDefaults |
| bool | myDoMath |
Static Protected Attributes | |
| static GA_AIFCopyData * | myAIFCopyData |
| static GA_AIFDelta * | myAIFDelta |
| static GA_AIFEdit * | myAIFEdit |
| static GA_AIFTuple * | myAIFTuple |
| static GA_AIFMath * | myAIFMath |
| static const GA_AIFMath * | myAIFNoMath |
| static GA_AIFMerge * | myAIFMerge |
| static GA_AIFInterp * | myAIFInterp |
| static GA_AIFJSON * | myAIFJSON |
| static GA_AIFCompare * | myAIFCompare |
Definition at line 43 of file GA_ATINumeric.h.
| typedef void(* GA_ATINumeric::GAprobeGeneric)() |
Definition at line 80 of file GA_ATINumeric.h.
| GA_ATINumeric::GA_ATINumeric | ( | const GA_AttributeType & | type, | |
| const GA_IndexMap & | index_map, | |||
| GA_AttributeScope | scope, | |||
| const char * | name, | |||
| GA_Storage | store, | |||
| int | tuple_size, | |||
| const GA_Defaults & | defaults | |||
| ) |
| virtual GA_ATINumeric::~GA_ATINumeric | ( | ) | [virtual] |
| virtual bool GA_ATINumeric::changeArraySize | ( | GA_Size | new_size | ) | [protected, virtual] |
Event methods to handle changes to the attribute The method to change array size *must* be implemented in subclasses
Return true if the attribute was resized.
Implements GA_Attribute.
| virtual bool GA_ATINumeric::debugValidateArrayCapacity | ( | GA_Size | sz | ) | const [virtual] |
| virtual void GA_ATINumeric::defragment | ( | const GA_Defragment & | defrag | ) | [virtual] |
Interface for defragmentation
Implements GA_Attribute.
| virtual const GA_AIFCompare* GA_ATINumeric::getAIFCompare | ( | ) | const [inline, virtual] |
Return the attribute's comparison interface or NULL.
Reimplemented from GA_Attribute.
Definition at line 78 of file GA_ATINumeric.h.
| virtual const GA_AIFCopyData* GA_ATINumeric::getAIFCopyData | ( | ) | const [inline, virtual] |
Return the attribute's copy interface or NULL.
Reimplemented from GA_Attribute.
Definition at line 70 of file GA_ATINumeric.h.
| virtual const GA_AIFDelta* GA_ATINumeric::getAIFDelta | ( | ) | const [inline, virtual] |
Return the attribute's delta interface or NULL.
Reimplemented from GA_Attribute.
Definition at line 71 of file GA_ATINumeric.h.
| virtual const GA_AIFEdit* GA_ATINumeric::getAIFEdit | ( | ) | const [inline, virtual] |
Return the attribute's edit interface or NULL.
Reimplemented from GA_Attribute.
Definition at line 72 of file GA_ATINumeric.h.
| virtual const GA_AIFInterp* GA_ATINumeric::getAIFInterp | ( | ) | const [inline, virtual] |
Return the attribute's interpolation interface or NULL.
Reimplemented from GA_Attribute.
Definition at line 77 of file GA_ATINumeric.h.
| virtual const GA_AIFJSON* GA_ATINumeric::getAIFJSON | ( | ) | const [inline, virtual] |
{
"name" : "GA_ATINumeric",
"description" : "An tuple array of numeric data",
"type" : "orderedmap",
"properties": {
"size": {
"type" : "integer",
"minimum" : 1,
"description" : "Tuple size",
},
"storage": {
"type" : "string",
"description" : "Tuple storage",
"enum" : [ "uint8","int8","int16","int32","int64",
"fpreal16", "fpreal32", "fpreal64" ],
},
"defaults": {
"type" : { "$ref" : "GA_Defaults" }
"description" : "Default values",
},
"values": {
"type" : {"$ref":"GA_DataArrayTuple"},
"description" : "Numeric values.",
},
},
}
Reimplemented from GA_Attribute.
Definition at line 294 of file GA_ATINumeric.h.
| virtual const GA_AIFMath* GA_ATINumeric::getAIFMath | ( | ) | const [inline, virtual] |
Return the attribute's math interface or NULL.
Reimplemented from GA_Attribute.
Definition at line 74 of file GA_ATINumeric.h.
| virtual const GA_AIFMerge* GA_ATINumeric::getAIFMerge | ( | ) | const [inline, virtual] |
Return the attribute's merge interface or NULL.
Reimplemented from GA_Attribute.
Definition at line 76 of file GA_ATINumeric.h.
| virtual const GA_AIFTuple* GA_ATINumeric::getAIFTuple | ( | ) | const [inline, virtual] |
Return the attribute's tuple interface or NULL.
Reimplemented from GA_Attribute.
Definition at line 73 of file GA_ATINumeric.h.
| const GA_Defaults& GA_ATINumeric::getDefaults | ( | ) | const [inline] |
Definition at line 303 of file GA_ATINumeric.h.
| virtual int64 GA_ATINumeric::getMemoryUsage | ( | ) | const [virtual] |
| GA_DataArrayTuple::ga_Packing GA_ATINumeric::getPacking | ( | ) | const [inline] |
Definition at line 307 of file GA_ATINumeric.h.
| GA_Storage GA_ATINumeric::getStorage | ( | ) | const [inline] |
Definition at line 306 of file GA_ATINumeric.h.
| virtual WriteConcurrence GA_ATINumeric::getSupportedWriteConcurrence | ( | ) | const [inline, virtual] |
Data is paged, so concurrent writes to separate pages supported.
Implements GA_Attribute.
Definition at line 67 of file GA_ATINumeric.h.
| int GA_ATINumeric::getTupleSize | ( | ) | const [inline] |
Size of the AIFTuple, if it exists. If it doesn't, 1.
Reimplemented from GA_Attribute.
Definition at line 305 of file GA_ATINumeric.h.
| bool GA_ATINumeric::jsonLoad | ( | UT_JSONParser & | p, | |
| const GA_LoadMap & | map, | |||
| const GA_Defaults & | defs, | |||
| int | tuple_size, | |||
| GA_Storage | storage | |||
| ) |
Called during JSON load.
| virtual void GA_ATINumeric::reconstructElement | ( | GA_Offset | offset | ) | [virtual] |
When the array size is grown, attributes should initialize the value appropriately. When an element is reused, however, the reconstructElement is called. This happens if an element is deleted then a new element is allocated (using the existing slot)
Reimplemented from GA_Attribute.
| static void GA_ATINumeric::registerType | ( | ) | [static] |
| bool GA_ATINumeric::setStorage | ( | GA_Storage | storage | ) |
| bool GA_ATINumeric::setTupleSize | ( | int | size | ) |
| void GA_ATINumeric::setTypeColor | ( | ) | [inline] |
Set type information for vectors
Definition at line 259 of file GA_ATINumeric.h.
| void GA_ATINumeric::setTypeMatrix | ( | ) | [inline] |
Set type information for vectors
Definition at line 261 of file GA_ATINumeric.h.
| void GA_ATINumeric::setTypeMatrix3 | ( | ) | [inline] |
Set type information for vectors
Definition at line 260 of file GA_ATINumeric.h.
| void GA_ATINumeric::setTypeNormal | ( | ) | [inline] |
Set type information for vectors
Definition at line 258 of file GA_ATINumeric.h.
| void GA_ATINumeric::setTypePoint | ( | ) | [inline] |
Set type information for vectors
Definition at line 256 of file GA_ATINumeric.h.
| void GA_ATINumeric::setTypeVector | ( | ) | [inline] |
Set type information for vectors
Definition at line 257 of file GA_ATINumeric.h.
GA_AIFCompare* GA_ATINumeric::myAIFCompare [static, protected] |
Definition at line 336 of file GA_ATINumeric.h.
GA_AIFCopyData* GA_ATINumeric::myAIFCopyData [static, protected] |
Definition at line 327 of file GA_ATINumeric.h.
GA_AIFDelta* GA_ATINumeric::myAIFDelta [static, protected] |
Definition at line 328 of file GA_ATINumeric.h.
GA_AIFEdit* GA_ATINumeric::myAIFEdit [static, protected] |
Definition at line 329 of file GA_ATINumeric.h.
GA_AIFInterp* GA_ATINumeric::myAIFInterp [static, protected] |
Definition at line 334 of file GA_ATINumeric.h.
GA_AIFJSON* GA_ATINumeric::myAIFJSON [static, protected] |
Definition at line 335 of file GA_ATINumeric.h.
GA_AIFMath* GA_ATINumeric::myAIFMath [static, protected] |
Definition at line 331 of file GA_ATINumeric.h.
GA_AIFMerge* GA_ATINumeric::myAIFMerge [static, protected] |
Definition at line 333 of file GA_ATINumeric.h.
const GA_AIFMath* GA_ATINumeric::myAIFNoMath [static, protected] |
Definition at line 332 of file GA_ATINumeric.h.
GA_AIFTuple* GA_ATINumeric::myAIFTuple [static, protected] |
Definition at line 330 of file GA_ATINumeric.h.
GA_DataArrayTuple GA_ATINumeric::myData [protected] |
Definition at line 323 of file GA_ATINumeric.h.
GA_Defaults GA_ATINumeric::myDefaults [protected] |
Definition at line 324 of file GA_ATINumeric.h.
bool GA_ATINumeric::myDoMath [protected] |
Definition at line 325 of file GA_ATINumeric.h.
1.5.9