11 #ifndef __GA_ArrayDataArray__
12 #define __GA_ArrayDataArray__
32 template <
typename T>
class UT_Array;
35 class ga_PageArrayTable;
56 int64 getMemoryUsage(
bool inclusive)
const;
75 exint findMaximumArrayLength()
const;
88 void setTupleSize(
GA_Size size);
138 #define GETBLOCKFROMINDEX(ITYPE, DTYPE) \
139 bool getBlockFromIndices(const GA_IndexMap &map, \
140 GA_Index start, GA_Size nelem, \
141 UT_Array<ITYPE> &index, \
142 UT_Array<DTYPE> &data) const;
159 #undef GETBLOCKFROMINDEX
212 return myStorage == b.myStorage && mySize == b.mySize
223 void tryCompressSinglePage(
GA_Offset pageoffset);
236 void remapAndCount(
GA_Offset start_offset,
244 ga_PageArrayTable *myPageTable;
A class to manage an ordered array which has fixed offset handles.
Definition of a geometry attribute.
getFileOption("OpenEXR:storage") storage
OIIO_UTIL_API bool copy(string_view from, string_view to, std::string &err)
bool isSameType(const GA_ArrayDataArray &b) const
The merge map keeps track of information when merging details.
GLboolean GLboolean GLboolean GLboolean a
JSON reader class which handles parsing of JSON or bJSON files.
Class which writes ASCII or binary JSON streams.
exint GA_Size
Defines the bit width for index and offset types in GA.
An array of array of numbers with various storage types.
#define GA_INVALID_OFFSET
A range of elements in an index-map.
GA_Size getTupleSize() const
Queries the size of each tuple stored in the arrays.
Keeps track of offset mapping when merging index lists.
Defragmentation of IndexMaps.
GLboolean GLboolean GLboolean b
GA_Offset getArraySize() const
Query the size of the array.
GLenum GLsizei GLsizei GLint * values
LeafData & operator=(const LeafData &)=delete
#define GETBLOCKFROMINDEX(ITYPE, DTYPE)
GLubyte GLubyte GLubyte GLubyte w