|
|
| AprImpl (AbcA::CompoundPropertyReaderPtr iParent, H5Node &iParentGroup, PropertyHeaderPtr iHeader, bool iIsScalarLike, uint32_t iNumSamples, uint32_t iFirstChangedIndex, uint32_t iLastChangedIndex) |
| virtual AbcA::ArrayPropertyReaderPtr | asArrayPtr () |
| virtual bool | isScalarLike () |
| virtual void | getDimensions (index_t iSampleIndex, Dimensions &oDim) |
| virtual void | getAs (index_t iSample, void *iIntoLocation, PlainOldDataType iPod) |
| virtual const AbcA::PropertyHeader & | getHeader () const |
| virtual AbcA::ObjectReaderPtr | getObject () |
| virtual AbcA::CompoundPropertyReaderPtr | getParent () |
| virtual size_t | getNumSamples () |
| virtual bool | isConstant () |
|
virtual void | getSample (index_t iSampleIndex, AbcA::ArraySamplePtr &oSample) |
| virtual std::pair< index_t, chrono_t > | getFloorIndex (chrono_t iTime) |
| virtual std::pair< index_t, chrono_t > | getCeilIndex (chrono_t iTime) |
| virtual std::pair< index_t, chrono_t > | getNearIndex (chrono_t iTime) |
|
virtual bool | getKey (index_t iSampleIndex, AbcA::ArraySampleKey &oKey) |
| virtual | ~ArrayPropertyReader () |
| virtual void | getSample (index_t iSampleIndex, ArraySamplePtr &oSample)=0 |
|
virtual bool | getKey (index_t iSampleIndex, ArraySampleKey &oKey)=0 |
| | Expose the key for apps that use their own custom cache management.
|
| virtual | ~BasePropertyReader () |
| const std::string & | getName () const |
| PropertyType | getPropertyType () const |
| bool | isScalar () const |
| bool | isArray () const |
| bool | isCompound () const |
| bool | isSimple () const |
| const MetaData & | getMetaData () const |
| const DataType & | getDataType () const |
| TimeSamplingPtr | getTimeSampling () const |
| virtual ScalarPropertyReaderPtr | asScalarPtr () |
| virtual CompoundPropertyReaderPtr | asCompoundPtr () |
|
|
void | readSample (hid_t iGroup, const std::string &iSampleName, index_t iSampleIndex, AbcA::ArraySamplePtr &oSamplePtr) |
|
bool | readKey (hid_t iGroup, const std::string &iSampleName, AbcA::ArraySampleKey &oSamplePtr) |
|
| SimplePrImpl (AbcA::CompoundPropertyReaderPtr iParent, H5Node &iParentGroup, PropertyHeaderPtr iHeader, uint32_t iNumSamples, uint32_t iFirstChangedIndex, uint32_t iLastChangedIndex) |
|
index_t | verifySampleIndex (index_t iSampleIndex) |
|
void | checkSamplesIGroup () |
|
|
class | SimplePrImpl< AbcA::ArrayPropertyReader, AprImpl, AbcA::ArraySamplePtr & > |
|
|
AbcA::CompoundPropertyReaderPtr | m_parent |
|
H5Node | m_parentGroup |
|
PropertyHeaderPtr | m_header |
|
hid_t | m_fileDataType |
|
bool | m_cleanFileDataType |
|
hid_t | m_nativeDataType |
|
bool | m_cleanNativeDataType |
|
uint32_t | m_numSamples |
|
uint32_t | m_firstChangedIndex |
|
uint32_t | m_lastChangedIndex |
|
H5Node | m_samplesIGroup |
|
Alembic::Util::mutex | m_samplesIGroupMutex |
◆ asArrayPtr()
| AbcA::ArrayPropertyReaderPtr Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::AprImpl::asArrayPtr |
( |
| ) |
|
|
virtual |
◆ getAs()
| void Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::AprImpl::getAs |
( |
index_t | iSample, |
|
|
void * | iIntoLocation, |
|
|
PlainOldDataType | iPod ) |
|
virtual |
Reads the data for the requested sample into the memory location specified by iIntoLocation as the requested POD type specified by iPod. Out-of-range indices, or incompatible POD types will cause an exception to be thrown.
Incompatible POD types include trying to read a std::string, std::wstring, or float16_t as anything OTHER than itself.
In all cases EXCEPT String and Wstring, the iPod type and the total number of items from getDimensions for this property can be used to determine the size of the memory buffer which iIntoLocation must point to. In the case of String and Wstring, iIntoLocation should be an array of std::string or std::wstring.
This is one of the only places where we break from POD types at the base, and we're making an explicit decision to use std::string and std::wstring as core language-level primitives.
Implements Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::ArrayPropertyReader.
◆ getDimensions()
| void Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::AprImpl::getDimensions |
( |
index_t | iSampleIndex, |
|
|
Dimensions & | oDim ) |
|
virtual |
◆ isScalarLike()
| bool Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::AprImpl::isScalarLike |
( |
| ) |
|
|
virtual |
The documentation for this class was generated from the following files:
- AbcCoreHDF5/AprImpl.h
- AbcCoreHDF5/AprImpl.cpp