36 #ifndef Alembic_Abc_ITypedScalarProperty_h
37 #define Alembic_Abc_ITypedScalarProperty_h
48 template <
class TRAITS>
63 return TRAITS::interpretation();
74 return ( iMetaData.
get(
"interpretation" ) ==
114 iArg0.setInto( args );
115 iArg1.setInto( args );
120 "ITypedScalarProperty::ITypedScalarProperty()" );
125 "NULL CompoundPropertyReader passed into "
126 <<
"ITypedScalarProperty ctor" );
129 parent->getPropertyHeader( iName );
131 "Nonexistent scalar property: " << iName );
134 "Incorrect match of header datatype: "
138 <<
",\n...or incorrect match of interpretation: "
141 << TRAITS::interpretation() );
143 m_property = parent->getScalarProperty( iName );
158 "ITypedScalarProperty::ITypedScalarProperty()" );
164 "Incorrect match of header datatype: "
168 <<
",\n...or incorrect match of interpretation: "
171 << TRAITS::interpretation() );
ITypedScalarProperty< Float32TPTraits > IFloatProperty
value_type getValue(const ISampleSelector &iSS=ISampleSelector()) const
ITypedScalarProperty< Box3iTPTraits > IBox3iProperty
ITypedScalarProperty< TRAITS > this_type
ITypedScalarProperty< P2dTPTraits > IP2dProperty
ITypedScalarProperty< C3cTPTraits > IC3cProperty
ITypedScalarProperty< Uint64TPTraits > IUInt64Property
GLsizei const GLchar *const * string
SchemaInterpMatching getSchemaInterpMatching() const
ITypedScalarProperty< P3sTPTraits > IP3sProperty
static const char * getInterpretation()
ITypedScalarProperty< N2fTPTraits > IN2fProperty
ITypedScalarProperty< Box2sTPTraits > IBox2sProperty
ITypedScalarProperty< P3dTPTraits > IP3dProperty
ITypedScalarProperty< QuatfTPTraits > IQuatfProperty
ITypedScalarProperty< QuatdTPTraits > IQuatdProperty
ITypedScalarProperty< N3fTPTraits > IN3fProperty
ITypedScalarProperty< V3iTPTraits > IV3iProperty
ITypedScalarProperty< Box3sTPTraits > IBox3sProperty
ITypedScalarProperty< V3fTPTraits > IV3fProperty
void setPolicy(Policy iPolicy)
ITypedScalarProperty< Box2iTPTraits > IBox2iProperty
ITypedScalarProperty< P2fTPTraits > IP2fProperty
ITypedScalarProperty< V2dTPTraits > IV2dProperty
TRAITS::value_type value_type
ITypedScalarProperty(AbcA::ScalarPropertyReaderPtr iProp, WrapExistingFlag iWrapFlag, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
Deprecated in favor of the constructor above.
ITypedScalarProperty< C3hTPTraits > IC3hProperty
ITypedScalarProperty< V2fTPTraits > IV2fProperty
ITypedScalarProperty< V2iTPTraits > IV2iProperty
ITypedScalarProperty< M33dTPTraits > IM33dProperty
ITypedScalarProperty< Int16TPTraits > IInt16Property
ITypedScalarProperty< M44dTPTraits > IM44dProperty
ITypedScalarProperty< Box3fTPTraits > IBox3fProperty
ITypedScalarProperty< Box2fTPTraits > IBox2fProperty
ITypedScalarProperty< P2iTPTraits > IP2iProperty
Alembic::Util::shared_ptr< CompoundPropertyReader > CompoundPropertyReaderPtr
static bool matches(const AbcA::PropertyHeader &iHeader, SchemaInterpMatching iMatching=kStrictMatching)
ITypedScalarProperty< Float64TPTraits > IDoubleProperty
ITypedScalarProperty< Uint8TPTraits > IUcharProperty
ErrorHandler::Policy getErrorHandlerPolicy() const
#define ALEMBIC_ABC_SAFE_CALL_END_RESET()
ITypedScalarProperty< StringTPTraits > IStringProperty
ErrorHandler::Policy GetErrorHandlerPolicy(SOMETHING iSomething, const Argument &iArg0, const Argument &iArg1=Argument(), const Argument &iArg2=Argument(), const Argument &iArg3=Argument())
ITypedScalarProperty< N3dTPTraits > IN3dProperty
ITypedScalarProperty< C4fTPTraits > IC4fProperty
PlainOldDataType getPod() const
SchemaInterpMatching GetSchemaInterpMatching(const Argument &iArg0, const Argument &iArg1=Argument(), const Argument &iArg2=Argument(), const Argument &iArg3=Argument())
ITypedScalarProperty< N2dTPTraits > IN2dProperty
ITypedScalarProperty< P3iTPTraits > IP3iProperty
#define ALEMBIC_ABC_SAFE_CALL_BEGIN(CONTEXT)
ErrorHandler & getErrorHandler() const
ITypedScalarProperty< Uint32TPTraits > IUInt32Property
ITypedScalarProperty< Int8TPTraits > ICharProperty
ITypedScalarProperty< V3dTPTraits > IV3dProperty
ITypedScalarProperty< Int64TPTraits > IInt64Property
static bool matches(const AbcA::MetaData &iMetaData, SchemaInterpMatching iMatching=kStrictMatching)
ITypedScalarProperty(const ICompoundProperty &iParent, const std::string &iName, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
ITypedScalarProperty< WstringTPTraits > IWstringProperty
ITypedScalarProperty< M33fTPTraits > IM33fProperty
ITypedScalarProperty< Int32TPTraits > IInt32Property
ITypedScalarProperty< C4hTPTraits > IC4hProperty
ITypedScalarProperty< Uint16TPTraits > IUInt16Property
**If you just want to fire and args
ITypedScalarProperty< Box2dTPTraits > IBox2dProperty
void get(void *oSample, const ISampleSelector &iSS=ISampleSelector()) const
ITypedScalarProperty< P2sTPTraits > IP2sProperty
ITypedScalarProperty< C4cTPTraits > IC4cProperty
ITypedScalarProperty< V3sTPTraits > IV3sProperty
ITypedScalarProperty< M44fTPTraits > IM44fProperty
ITypedScalarProperty< C3fTPTraits > IC3fProperty
ITypedScalarProperty(AbcA::ScalarPropertyReaderPtr iProperty, const Argument &iArg0=Argument(), const Argument &iArg1=Argument())
ITypedScalarProperty< BooleanTPTraits > IBoolProperty
AbcA::ScalarPropertyReaderPtr m_property
ITypedScalarProperty< V2sTPTraits > IV2sProperty
Alembic::Util::shared_ptr< ScalarPropertyReader > ScalarPropertyReaderPtr
ITypedScalarProperty< P3fTPTraits > IP3fProperty
ITypedScalarProperty< Box3dTPTraits > IBox3dProperty
uint8_t getExtent() const
HUSD_API const char * dataType()
#define ABCA_ASSERT(COND, TEXT)
#define ALEMBIC_VERSION_NS
ITypedScalarProperty< Float16TPTraits > IHalfProperty