Alembic Version 1.1
|
#include <ITypedScalarProperty.h>
Public Types | |
typedef TRAITS | traits_type |
typedef ITypedScalarProperty< TRAITS > | this_type |
typedef TRAITS::value_type | value_type |
![]() | |
typedef IScalarProperty | this_type |
Static Public Member Functions | |
static const char * | getInterpretation () |
static bool | matches (const AbcA::MetaData &iMetaData, SchemaInterpMatching iMatching=kStrictMatching) |
static bool | matches (const AbcA::PropertyHeader &iHeader, SchemaInterpMatching iMatching=kStrictMatching) |
Additional Inherited Members | |
![]() | |
typedef IBasePropertyT< AbcA::ScalarPropertyReaderPtr > | this_type |
typedef IBasePropertyT< AbcA::ScalarPropertyReaderPtr > | operator_bool_base_type |
![]() | |
IBasePropertyT () | |
IBasePropertyT (AbcA::ScalarPropertyReaderPtr iPtr, ErrorHandler::Policy iPolicy) | |
![]() | |
Base () | |
Base (ErrorHandler::Policy iPolicy) | |
Base (const Base &iCopy) | |
Base & | operator= (const Base &iCopy) |
bool | valid () const |
void | reset () |
![]() | |
AbcA::ScalarPropertyReaderPtr | m_property |
Definition at line 49 of file ITypedScalarProperty.h.
typedef ITypedScalarProperty<TRAITS> Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::this_type |
Definition at line 56 of file ITypedScalarProperty.h.
typedef TRAITS Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::traits_type |
Definition at line 55 of file ITypedScalarProperty.h.
typedef TRAITS::value_type Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::value_type |
Definition at line 57 of file ITypedScalarProperty.h.
|
inline |
Default constructor ...
Definition at line 100 of file ITypedScalarProperty.h.
Referenced by Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::ITypedScalarProperty().
|
inline |
This constructor creates a new typed scalar property reader. The first argument is the ICompoundProperty parent, from which the error handler policy for inheritance is also derived. The remaining optional arguments can be used to override the ErrorHandlerPolicy, to specify schema matching policy, and that's it.
Definition at line 107 of file ITypedScalarProperty.h.
References ABCA_ASSERT, ALEMBIC_ABC_SAFE_CALL_BEGIN, ALEMBIC_ABC_SAFE_CALL_END_RESET, Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::MetaData::get(), Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::PropertyHeader::getDataType(), Alembic::Abc::ALEMBIC_VERSION_NS::Base::getErrorHandler(), Alembic::Abc::ALEMBIC_VERSION_NS::GetErrorHandlerPolicy(), Alembic::Abc::ALEMBIC_VERSION_NS::Arguments::getErrorHandlerPolicy(), Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::PropertyHeader::getMetaData(), Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< PROP_PTR >::getPtr(), Alembic::Abc::ALEMBIC_VERSION_NS::Arguments::getSchemaInterpMatching(), Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::ScalarPropertyReaderPtr >::m_property, Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::matches(), and Alembic::Abc::ALEMBIC_VERSION_NS::ErrorHandler::setPolicy().
|
inline |
Explicitly wrap an existing property It will check the data type and also verify the schema, if requested.
Definition at line 152 of file ITypedScalarProperty.h.
References ABCA_ASSERT, ALEMBIC_ABC_SAFE_CALL_BEGIN, ALEMBIC_ABC_SAFE_CALL_END_RESET, Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::MetaData::get(), Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::PropertyHeader::getDataType(), Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::PropertyHeader::getMetaData(), Alembic::Abc::ALEMBIC_VERSION_NS::GetSchemaInterpMatching(), Alembic::Abc::ALEMBIC_VERSION_NS::IBasePropertyT< AbcA::ScalarPropertyReaderPtr >::m_property, and Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::matches().
|
inline |
Deprecated in favor of the constructor above.
Definition at line 180 of file ITypedScalarProperty.h.
References Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::ITypedScalarProperty().
|
inline |
Get the typed sample. ...
Definition at line 194 of file ITypedScalarProperty.h.
References Alembic::Abc::ALEMBIC_VERSION_NS::IScalarProperty::get().
Referenced by Alembic::AbcGeom::ALEMBIC_VERSION_NS::IGeomBase::get(), and Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::getValue().
|
inlinestatic |
Return the interpretation expected of this property. An empty interpretation matches everything
Definition at line 61 of file ITypedScalarProperty.h.
Referenced by Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::matches().
|
inline |
Return the typed sample by value. ...
Definition at line 202 of file ITypedScalarProperty.h.
References Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::get().
|
inlinestatic |
This will check whether or not a given entity (as represented by a metadata) strictly matches the interpretation of this schema object
Definition at line 69 of file ITypedScalarProperty.h.
References Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::MetaData::get(), Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::getInterpretation(), and Alembic::Abc::ALEMBIC_VERSION_NS::kStrictMatching.
Referenced by Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::ITypedScalarProperty(), Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::ITypedScalarProperty(), and Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::matches().
|
inlinestatic |
This will check whether or not a given object (as represented by an object header) strictly matches the interpretation of this schema object
Definition at line 83 of file ITypedScalarProperty.h.
References Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::PropertyHeader::getDataType(), Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::DataType::getExtent(), Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::PropertyHeader::getMetaData(), Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::DataType::getPod(), Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::PropertyHeader::isScalar(), and Alembic::Abc::ALEMBIC_VERSION_NS::ITypedScalarProperty< TRAITS >::matches().