Alembic 1.8.11

Loading...
Searching...
No Matches
Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::SpwImpl Class Reference
Inheritance diagram for Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::SpwImpl:
[legend]
Collaboration diagram for Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::SpwImpl:
[legend]

## Public Member Functions
bool | sameAsPreviousSample (const void *iSamp, const ScalarSampleKey &iKey) const
void | copyPreviousSample (hid_t iGroup, const std::string &iSampleName, index_t iSampleIndex)
void | writeSample (hid_t iGroup, const std::string &iSampleName, index_t iSampleIndex, const void *iSamp, const ScalarSampleKey &iKey)
Public Member Functions inherited from Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::SimplePwImpl< AbcA::ScalarPropertyWriter, SpwImpl, const void *, ScalarSampleKey >
virtual const AbcA::PropertyHeader & | getHeader () const
virtual AbcA::ObjectWriterPtr | getObject ()
virtual AbcA::CompoundPropertyWriterPtr | getParent ()
virtual void | setSample (const void *iSamp)
virtual void | setFromPreviousSample ()
virtual size_t | getNumSamples ()
virtual void | setTimeSamplingIndex (uint32_t iIndex)
Public Member Functions inherited from Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::ScalarPropertyWriter
virtual | ~ScalarPropertyWriter ()
Public Member Functions inherited from Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyWriter
virtual | ~BasePropertyWriter ()
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 ArrayPropertyWriterPtr | asArrayPtr ()
virtual CompoundPropertyWriterPtr | asCompoundPtr ()

## Static Public Member Functions
static ScalarSampleKey | computeSampleKey (const void *iSamp)

## Protected Member Functions
| SpwImpl (AbcA::CompoundPropertyWriterPtr iParent, hid_t iParentGroup, const std::string &iName, const AbcA::MetaData &iMetaData, const AbcA::DataType &iDataType, uint32_t iTimeSamplingIndex)
AbcA::ScalarPropertyWriterPtr | asScalarPtr ()
Protected Member Functions inherited from Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::SimplePwImpl< AbcA::ScalarPropertyWriter, SpwImpl, const void *, ScalarSampleKey >
| SimplePwImpl (AbcA::CompoundPropertyWriterPtr iParent, hid_t iParentGroup, const std::string &iName, const AbcA::MetaData &iMetaData, const AbcA::DataType &iDataType, uint32_t iTimeSamplingIndex, AbcA::PropertyType iPropType)

## Protected Attributes
AbcA::ScalarSample | m_previousSample
Protected Attributes inherited from Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::SimplePwImpl< AbcA::ScalarPropertyWriter, SpwImpl, const void *, ScalarSampleKey >
AbcA::CompoundPropertyWriterPtr | m_parent
hid_t | m_parentGroup
PropertyHeaderPtr | m_header
hid_t | m_fileDataType
bool | m_cleanFileDataType
hid_t | m_nativeDataType
bool | m_cleanNativeDataType
hid_t | m_sampleIGroup
uint32_t | m_nextSampleIndex
uint32_t | m_firstChangedIndex
uint32_t | m_lastChangedIndex
uint32_t | m_timeSamplingIndex

## Friends
class | CpwData

## Member Function Documentation

## ◆ asScalarPtr()

AbcA::ScalarPropertyWriterPtr Alembic::AbcCoreHDF5::ALEMBIC_VERSION_NS::SpwImpl::asScalarPtr | ( |  | ) |
| protected virtual

Up-cast this base property to a ScalarProperty, if such an upcast is valid. This can be checked with the isScalar() function. If the upcast is not valid, an empty pointer will be returned. This default implementation returns an empty pointer.

Reimplemented from Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::BasePropertyWriter.

The documentation for this class was generated from the following files:

- AbcCoreHDF5/SpwImpl.h
- AbcCoreHDF5/SpwImpl.cpp