11 #ifndef __GA_BlobData__
12 #define __GA_BlobData__
40 static void *
operator new(
size_t size);
42 static void *
operator new(
size_t size,
void *p);
44 static void operator delete(
void *p,
size_t size);
46 static void getAllocationStats(
int64 &used,
int64 &peak);
50 virtual uint hash()
const = 0;
53 virtual bool isEqual(
const GA_BlobData &blob)
const = 0;
66 virtual int64 getMemoryUsage(
bool inclusive)
const = 0;
75 virtual void countMemory(
UT_MemoryCounter &counter,
bool inclusive)
const = 0;
Used to pass options and map offset values during saving.
exint getRefCount() const
This is needed by subclasses int order to implement countMemory.
JSON reader class which handles parsing of JSON or bJSON files.
Class which writes ASCII or binary JSON streams.
A reference counter base class for use with UT_IntrusivePtr.
SYS_FORCE_INLINE uint32 use_count() const noexcept
Return current counter.
GLubyte GLubyte GLubyte GLubyte w