36 #ifndef Alembic_Abc_OTypedScalarProperty_h
37 #define Alembic_Abc_OTypedScalarProperty_h
48 template <
class TRAITS>
63 return TRAITS::interpretation();
72 return ( iMetaData.
get(
"interpretation" ) ==
111 init( iParent, iName, iArg0, iArg1, iArg2, iArg3 );
126 iArg0, iArg1, iArg2 );
139 "OTypedScalarProperty::OTypedScalarProperty()" );
145 "Incorrect match of header datatype: "
149 <<
",\n...or incorrect match of interpretation: "
152 << TRAITS::interpretation() );
197 ABCA_ASSERT( iParent,
"NULL CompoundPropertyWriterPtr" );
214 tsIndex = iParent->getObject()->getArchive()->addTimeSampling(
218 m_property = iParent->createScalarProperty( iName, mdata,
OTypedScalarProperty< Uint16TPTraits > OUInt16Property
OTypedScalarProperty< V2dTPTraits > OV2dProperty
OTypedScalarProperty< M33dTPTraits > OM33dProperty
OTypedScalarProperty< Box2sTPTraits > OBox2sProperty
OTypedScalarProperty< Uint8TPTraits > OUcharProperty
OTypedScalarProperty< N3fTPTraits > ON3fProperty
OTypedScalarProperty< P2sTPTraits > OP2sProperty
OTypedScalarProperty< P3sTPTraits > OP3sProperty
static bool matches(const AbcA::MetaData &iMetaData, SchemaInterpMatching iMatching=kStrictMatching)
OTypedScalarProperty< QuatdTPTraits > OQuatdProperty
OTypedScalarProperty< V3dTPTraits > OV3dProperty
OTypedScalarProperty< Float32TPTraits > OFloatProperty
OTypedScalarProperty< Int32TPTraits > OInt32Property
void setInto(Arguments &iArgs) const
OTypedScalarProperty< Box3dTPTraits > OBox3dProperty
OTypedScalarProperty< P3iTPTraits > OP3iProperty
OTypedScalarProperty< QuatfTPTraits > OQuatfProperty
OTypedScalarProperty< P2fTPTraits > OP2fProperty
uint32_t getTimeSamplingIndex() const
AbcA::TimeSamplingPtr getTimeSampling() const
void setPolicy(Policy iPolicy)
OTypedScalarProperty< N2dTPTraits > ON2dProperty
OTypedScalarProperty< Int8TPTraits > OCharProperty
OTypedScalarProperty< WstringTPTraits > OWstringProperty
OTypedScalarProperty< C4hTPTraits > OC4hProperty
OTypedScalarProperty< BooleanTPTraits > OBoolProperty
OTypedScalarProperty(OCompoundProperty iParent, const std::string &iName, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument())
OTypedScalarProperty< N2fTPTraits > ON2fProperty
OTypedScalarProperty< M33fTPTraits > OM33fProperty
OTypedScalarProperty< Box2dTPTraits > OBox2dProperty
OTypedScalarProperty< C3hTPTraits > OC3hProperty
OTypedScalarProperty< V3sTPTraits > OV3sProperty
Alembic::Util::shared_ptr< TimeSampling > TimeSamplingPtr
OTypedScalarProperty< P3fTPTraits > OP3fProperty
OTypedScalarProperty< StringTPTraits > OStringProperty
OTypedScalarProperty(AbcA::ScalarPropertyWriterPtr iProp, WrapExistingFlag iWrapFlag, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
OTypedScalarProperty< P2iTPTraits > OP2iProperty
OTypedScalarProperty< Box2fTPTraits > OBox2fProperty
OTypedScalarProperty< Float16TPTraits > OHalfProperty
ErrorHandler::Policy getErrorHandlerPolicy() const
#define ALEMBIC_ABC_SAFE_CALL_END_RESET()
OTypedScalarProperty< P3dTPTraits > OP3dProperty
ErrorHandler::Policy GetErrorHandlerPolicy(SOMETHING iSomething, const Argument &iArg0, const Argument &iArg1=Argument(), const Argument &iArg2=Argument(), const Argument &iArg3=Argument())
OTypedScalarProperty< C4cTPTraits > OC4cProperty
OTypedScalarProperty< V3iTPTraits > OV3iProperty
GLsizei const GLchar *const * string
PlainOldDataType getPod() const
AbcA::ScalarPropertyWriterPtr m_property
SchemaInterpMatching GetSchemaInterpMatching(const Argument &iArg0, const Argument &iArg1=Argument(), const Argument &iArg2=Argument(), const Argument &iArg3=Argument())
OTypedScalarProperty< Box3fTPTraits > OBox3fProperty
Alembic::Util::shared_ptr< ScalarPropertyWriter > ScalarPropertyWriterPtr
#define ALEMBIC_ABC_SAFE_CALL_BEGIN(CONTEXT)
OTypedScalarProperty< C3fTPTraits > OC3fProperty
OTypedScalarProperty< V2sTPTraits > OV2sProperty
OTypedScalarProperty(AbcA::CompoundPropertyWriterPtr iParent, const std::string &iName, const Argument &iArg0=Argument(), const Argument &iArg1=Argument(), const Argument &iArg2=Argument(), const Argument &iArg3=Argument())
void set(const value_type &iVal)
OTypedScalarProperty< N3dTPTraits > ON3dProperty
OTypedScalarProperty< Int64TPTraits > OInt64Property
OTypedScalarProperty< Float64TPTraits > ODoubleProperty
ErrorHandler & getErrorHandler() const
OTypedScalarProperty< M44dTPTraits > OM44dProperty
static const char * getInterpretation()
OTypedScalarProperty< Box3sTPTraits > OBox3sProperty
OTypedScalarProperty< TRAITS > this_type
OTypedScalarProperty< V3fTPTraits > OV3fProperty
void set(const void *iSample)
OTypedScalarProperty< M44fTPTraits > OM44fProperty
OTypedScalarProperty< C4fTPTraits > OC4fProperty
OTypedScalarProperty< Int16TPTraits > OInt16Property
OTypedScalarProperty< Uint64TPTraits > OUInt64Property
**If you just want to fire and args
OTypedScalarProperty< V2fTPTraits > OV2fProperty
OTypedScalarProperty< Box2iTPTraits > OBox2iProperty
const AbcA::MetaData & getMetaData() const
OTypedScalarProperty< C3cTPTraits > OC3cProperty
OTypedScalarProperty< P2dTPTraits > OP2dProperty
static bool matches(const AbcA::PropertyHeader &iHeader, SchemaInterpMatching iMatching=kStrictMatching)
uint8_t getExtent() const
TRAITS::value_type value_type
#define ABCA_ASSERT(COND, TEXT)
OTypedScalarProperty< Box3iTPTraits > OBox3iProperty
#define ALEMBIC_VERSION_NS
OTypedScalarProperty< Uint32TPTraits > OUInt32Property
OTypedScalarProperty< V2iTPTraits > OV2iProperty
Alembic::Util::shared_ptr< CompoundPropertyWriter > CompoundPropertyWriterPtr
OTypedScalarProperty(AbcA::ScalarPropertyWriterPtr iProp, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())