28 #ifndef __GABC_IArray__
29 #define __GABC_IArray__
77 const IArrayProperty &prop,
const ISampleSelector &iss,
91 , myContainer(src.myContainer)
93 , myTupleSize(src.myTupleSize)
95 , myIsConstant(src.myIsConstant)
108 , myTupleSize(tuple_size)
110 , myIsConstant(is_constant)
118 myContainer = src.myContainer;
120 myTupleSize = src.myTupleSize;
125 bool valid()
const {
return myContainer.valid(); }
140 return myArray && myArray->valid();
145 return myArray->getData();
150 return myArray->getDataType().getPod();
156 const void *
data()
const {
return myContainer.data(); }
159 {
return myTupleSize; }
165 void purge()
override;
169 Container myContainer;
PlainOldDataType abcType() const
getFileOption("OpenEXR:storage") storage
GT_API const UT_StringHolder time
Alembic::Abc::ArraySamplePtr ArraySamplePtr
Container(const ArraySamplePtr &array)
const void * data() const
Alembic::Util::shared_ptr< ArraySample > ArraySamplePtr
Alembic::Abc::index_t index_t
Alembic::Abc::chrono_t chrono_t
static GABC_IArray getSample(GABC_IArchive &arch, const IArrayProperty &prop, chrono_t time, GT_Type type=GT_TYPE_NONE)
static GABC_IArray getSample(GABC_IArchive &arch, const IArrayProperty &prop, index_t index, GT_Type type=GT_TYPE_NONE)
GABC_IItem & operator=(const GABC_IItem &src)
GABC_IArray & operator=(const GABC_IArray &src)
PlainOldDataType abcType() const
const void * data() const
GABC_IArray(GABC_IArchive &archive, const ArraySamplePtr &array, GT_Size size, int tuple_size, GT_Storage storage, GT_Type tinfo, bool is_constant)
Alembic::Abc::PlainOldDataType PlainOldDataType
GABC_IArray(const GABC_IArray &src)