#include <GA_BlobData.h>
Class representing an opaque blob of data stored in an attribute
- See Also
- GA_BlobRef, GA_BlobContainer, GA_ATIBlob
Definition at line 30 of file GA_BlobData.h.
GA_BlobData::GA_BlobData |
( |
| ) |
|
virtual GA_BlobData::~GA_BlobData |
( |
| ) |
|
|
virtual |
Count memory usage using a UT_MemoryCounter in order to count shared memory correctly. If inclusive is true, the size of this object is counted, else only memory owned by this object is counted. If this is pointed to by the calling object, inclusive should be true. If this is contained in the calling object, inclusive should be false. (Its memory was already counted in the size of the calling object.)
Implemented in GU_HoleInfo.
static void GA_BlobData::getAllocationStats |
( |
int64 & |
used, |
|
|
int64 & |
peak |
|
) |
| |
|
static |
The new & delete operators are overloaded to help with memory tracking.
virtual int64 GA_BlobData::getMemoryUsage |
( |
bool |
inclusive | ) |
const |
|
pure virtual |
Report approximate memory usage.
Implemented in GU_HoleInfo.
exint GA_BlobData::getRefCount |
( |
| ) |
const |
|
inlineprotected |
This is needed by subclasses int order to implement countMemory.
Definition at line 79 of file GA_BlobData.h.
virtual uint GA_BlobData::hash |
( |
| ) |
const |
|
pure virtual |
virtual bool GA_BlobData::isEqual |
( |
const GA_BlobData & |
blob | ) |
const |
|
pure virtual |
Return true if this blob is equal to the other blob.
Implemented in GU_HoleInfo.
Load blob data from a JSON stream. By default, this skips the next block of data.
Save blob data to a JSON stream. By default, this saves a Null.
static void GA_BlobData::operator delete |
( |
void * |
p, |
|
|
size_t |
size |
|
) |
| |
|
static |
The new & delete operators are overloaded to help with memory tracking.
static void* GA_BlobData::operator new |
( |
size_t |
size | ) |
|
|
static |
The new & delete operators are overloaded to help with memory tracking.
static void* GA_BlobData::operator new |
( |
size_t |
size, |
|
|
void * |
p |
|
) |
| |
|
static |
The new & delete operators are overloaded to help with memory tracking.
Call jsonSave on the work buffer to create a simple representation of the blob data.
The documentation for this class was generated from the following file: