28 const char *
className()
const override {
return "GT_DABool"; }
37 {
return getBit(i, tidx); }
39 {
return getBit(i, tidx); }
41 {
return getBit(i, tidx); }
43 {
return getBit(i, tidx); }
45 {
return getBit(i, tidx); }
47 {
return getBit(i, tidx); }
67 UT_ASSERT(tidx >= 0 && tidx < myTupleSize);
68 return myBits[tidx]->getBit(i);
73 UT_ASSERT(tidx >= 0 && tidx < myTupleSize);
74 return myBits[tidx]->setBit(i, v);
78 UT_ASSERT(tidx >= 0 && tidx < myTupleSize);
79 myBits[tidx]->setAllBits(v);
95 int tsize,
int stride)
const;
97 int tsize,
int stride)
const;
99 int tsize,
int stride)
const;
101 int tsize,
int stride)
const;
103 int tsize,
int stride)
const;
105 int tsize,
int stride)
const;
124 stride, black, white);
129 start, length, tsize,
130 nrepeats, stride, black, white);
GLenum GLuint GLenum GLsizei const GLchar * buf
virtual void doFillQuantizedArray(uint8 *data, GT_Offset start, GT_Size length, int tuple_size, int stride, fpreal black, fpreal white) const
GT_Size getTupleSize() const override
void doFillQuantizedArray(uint8 *data, GT_Offset start, GT_Size length, int tsize, int stride, fpreal, fpreal) const override
uint8 getU8(GT_Offset i, int tidx=0) const override
GT_String getS(GT_Offset, int) const override
virtual void doImport(GT_Offset idx, uint8 *data, GT_Size size) const
int32 getI32(GT_Offset i, int tidx=0) const override
GLuint GLsizei GLsizei * length
GT Data Array for booleans.
int64 getI64(GT_Offset i, int tidx=0) const override
GT_Type getTypeInfo() const override
void setAllBits(bool v, GT_Size tidx=0)
GT_Size entries() const override
fpreal32 getF32(GT_Offset i, int tidx=0) const override
GT_Storage getStorage() const override
void doExtendedQuantizedFill(uint8 *data, GT_Offset start, GT_Size length, int nrepeats, int tsize, int stride, fpreal black, fpreal white) const override
const char * className() const override
bool setBit(GT_Offset i, bool v, GT_Size tidx=0)
Set the bit at the given index – returns the previous value.
Abstract data class for an array of float, int or string data.
GT_Offset getDictIndex(GT_Offset, int) const override
static const UT_StringHolder theEmptyString
GLint GLenum GLboolean GLsizei stride
virtual void doFillArray(uint8 *data, GT_Offset start, GT_Size length, int tuple_size, int stride) const
fpreal64 getF64(GT_Offset i, int tidx=0) const override
void getIndexedDicts(UT_Array< UT_OptionsHolder > &, UT_IntArray &) const override
GT_Size getStringIndexCount() const override
virtual int64 getMemoryUsage() const =0
GT_Offset getStringIndex(GT_Offset, int) const override
virtual void doExtendedQuantizedFill(uint8 *data, GT_Offset start, GT_Size length, int tuple_size, int nrepeats, int stride, fpreal black, fpreal white) const
GT_Size getDictIndexCount() const override
bool getBit(GT_Offset i, GT_Size tidx=0) const
Get the bit at the given index.
virtual GT_DataArrayHandle harden() const
Create a "hardened" version of the array.
fpreal16 getF16(GT_Offset i, int tidx=0) const override
void getIndexedStrings(UT_StringArray &, UT_IntArray &) const override