36 #ifndef Alembic_Abc_OTypedArrayProperty_h
37 #define Alembic_Abc_OTypedArrayProperty_h
49 template <
class TRAITS>
65 return TRAITS::interpretation();
74 return ( iMetaData.
get(
"interpretation" ) ==
114 init( iParent, iName, iArg0, iArg1, iArg2, iArg3 );
129 iArg0, iArg1, iArg2 );
141 init( iProp, iArg0, iArg1 );
154 init( iProp, iArg0, iArg1 );
189 ABCA_ASSERT( iParent,
"NULL CompoundPropertyWriterPtr" );
207 tsIndex = iParent->getObject()->getArchive()->addTimeSampling(
211 m_property = iParent->createArrayProperty( iName, mdata,
218 const Argument &iArg0,
const Argument &iArg1 )
221 "OTypedArrayProperty::init( ArrayPtr )" );
226 "Incorrect match of header datatype: "
230 <<
",\n...or incorrect match of interpretation: "
233 << TRAITS::interpretation() );
OTypedArrayProperty< Box2fTPTraits > OBox2fArrayProperty
OTypedArrayProperty< Int8TPTraits > OCharArrayProperty
OTypedArrayProperty< C3hTPTraits > OC3hArrayProperty
OTypedArrayProperty< V2dTPTraits > OV2dArrayProperty
TRAITS::value_type value_type
OTypedArrayProperty< StringTPTraits > OStringArrayProperty
OTypedArrayProperty< Box2iTPTraits > OBox2iArrayProperty
static const char * getInterpretation()
OTypedArrayProperty< P2dTPTraits > OP2dArrayProperty
OTypedArrayProperty< WstringTPTraits > OWstringArrayProperty
OTypedArrayProperty< C3fTPTraits > OC3fArrayProperty
OTypedArrayProperty< N3fTPTraits > ON3fArrayProperty
OTypedArrayProperty< Float16TPTraits > OHalfArrayProperty
void setInto(Arguments &iArgs) const
OTypedArrayProperty< P2fTPTraits > OP2fArrayProperty
static bool matches(const AbcA::PropertyHeader &iHeader, SchemaInterpMatching iMatching=kStrictMatching)
OTypedArrayProperty< P3sTPTraits > OP3sArrayProperty
OTypedArrayProperty< N2fTPTraits > ON2fArrayProperty
OTypedArrayProperty< Float32TPTraits > OFloatArrayProperty
void set(const AbcA::ArraySample &iSample)
OTypedArrayProperty< M44dTPTraits > OM44dArrayProperty
uint32_t getTimeSamplingIndex() const
AbcA::TimeSamplingPtr getTimeSampling() const
OTypedArrayProperty< V2sTPTraits > OV2sArrayProperty
void setPolicy(Policy iPolicy)
OTypedArrayProperty< M33dTPTraits > OM33dArrayProperty
static bool matches(const AbcA::MetaData &iMetaData, SchemaInterpMatching iMatching=kStrictMatching)
OTypedArrayProperty< V2fTPTraits > OV2fArrayProperty
OTypedArrayProperty< Float64TPTraits > ODoubleArrayProperty
OTypedArrayProperty< V2iTPTraits > OV2iArrayProperty
Alembic::Util::shared_ptr< TimeSampling > TimeSamplingPtr
OTypedArrayProperty< Box3sTPTraits > OBox3sArrayProperty
OTypedArrayProperty< M44fTPTraits > OM44fArrayProperty
OTypedArrayProperty< V3dTPTraits > OV3dArrayProperty
OTypedArrayProperty< P3fTPTraits > OP3fArrayProperty
ErrorHandler::Policy getErrorHandlerPolicy() const
#define ALEMBIC_ABC_SAFE_CALL_END_RESET()
TypedArraySample< TRAITS > sample_type
ErrorHandler::Policy GetErrorHandlerPolicy(SOMETHING iSomething, const Argument &iArg0, const Argument &iArg1=Argument(), const Argument &iArg2=Argument(), const Argument &iArg3=Argument())
OTypedArrayProperty< C3cTPTraits > OC3cArrayProperty
GLsizei const GLchar *const * string
Alembic::Util::shared_ptr< ArrayPropertyWriter > ArrayPropertyWriterPtr
PlainOldDataType getPod() const
AbcA::ArrayPropertyWriterPtr m_property
SchemaInterpMatching GetSchemaInterpMatching(const Argument &iArg0, const Argument &iArg1=Argument(), const Argument &iArg2=Argument(), const Argument &iArg3=Argument())
OTypedArrayProperty< P2iTPTraits > OP2iArrayProperty
OTypedArrayProperty< Uint8TPTraits > OUcharArrayProperty
#define ALEMBIC_ABC_SAFE_CALL_BEGIN(CONTEXT)
OTypedArrayProperty< N3dTPTraits > ON3dArrayProperty
OTypedArrayProperty< N2dTPTraits > ON2dArrayProperty
OTypedArrayProperty< P3dTPTraits > OP3dArrayProperty
ErrorHandler & getErrorHandler() const
OTypedArrayProperty(AbcA::ArrayPropertyWriterPtr iProp, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
OTypedArrayProperty< Box3iTPTraits > OBox3iArrayProperty
OTypedArrayProperty< Int16TPTraits > OInt16ArrayProperty
OTypedArrayProperty< Int64TPTraits > OInt64ArrayProperty
OTypedArrayProperty< P3iTPTraits > OP3iArrayProperty
OTypedArrayProperty< BooleanTPTraits > OBoolArrayProperty
OTypedArrayProperty< C4hTPTraits > OC4hArrayProperty
OTypedArrayProperty(AbcA::CompoundPropertyWriterPtr iParent, const std::string &iName, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument(), const Argument &iArg3=Argument())
OTypedArrayProperty< Int32TPTraits > OInt32ArrayProperty
OTypedArrayProperty< M33fTPTraits > OM33fArrayProperty
OTypedArrayProperty< QuatfTPTraits > OQuatfArrayProperty
OTypedArrayProperty< P2sTPTraits > OP2sArrayProperty
OTypedArrayProperty< Box2sTPTraits > OBox2sArrayProperty
OTypedArrayProperty< Box3fTPTraits > OBox3fArrayProperty
OTypedArrayProperty< Uint64TPTraits > OUInt64ArrayProperty
OTypedArrayProperty< V3sTPTraits > OV3sArrayProperty
OTypedArrayProperty< C4cTPTraits > OC4cArrayProperty
OTypedArrayProperty(AbcA::ArrayPropertyWriterPtr iProp, WrapExistingFlag iWrapFlag, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
**If you just want to fire and args
OTypedArrayProperty< V3fTPTraits > OV3fArrayProperty
OTypedArrayProperty< Uint32TPTraits > OUInt32ArrayProperty
OTypedArrayProperty< C4fTPTraits > OC4fArrayProperty
OTypedArrayProperty(OCompoundProperty iParent, const std::string &iName, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument())
const AbcA::MetaData & getMetaData() const
OTypedArrayProperty< Box3dTPTraits > OBox3dArrayProperty
OTypedArrayProperty< TRAITS > this_type
OTypedArrayProperty< V3iTPTraits > OV3iArrayProperty
void set(const sample_type &iVal)
uint8_t getExtent() const
OTypedArrayProperty< Box2dTPTraits > OBox2dArrayProperty
OTypedArrayProperty< QuatdTPTraits > OQuatdArrayProperty
#define ABCA_ASSERT(COND, TEXT)
#define ALEMBIC_VERSION_NS
OTypedArrayProperty< Uint16TPTraits > OUInt16ArrayProperty
Alembic::Util::shared_ptr< CompoundPropertyWriter > CompoundPropertyWriterPtr