Alembic Version 1.1
|
#include <OTypedScalarProperty.h>
Public Types | |
typedef TRAITS | traits_type |
typedef OTypedScalarProperty< TRAITS > | this_type |
typedef TRAITS::value_type | value_type |
![]() | |
typedef OScalarProperty | this_type |
![]() | |
typedef OBasePropertyT< AbcA::ScalarPropertyWriterPtr > | this_type |
typedef OBasePropertyT< AbcA::ScalarPropertyWriterPtr > | operator_bool_base_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 | |
![]() | |
OBasePropertyT () | |
OBasePropertyT (AbcA::ScalarPropertyWriterPtr iPtr, ErrorHandler::Policy iPolicy) | |
![]() | |
Base () | |
Base (ErrorHandler::Policy iPolicy) | |
Base (const Base &iCopy) | |
Base & | operator= (const Base &iCopy) |
bool | valid () const |
void | reset () |
![]() | |
AbcA::ScalarPropertyWriterPtr | m_property |
Definition at line 49 of file OTypedScalarProperty.h.
typedef OTypedScalarProperty<TRAITS> Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< TRAITS >::this_type |
Definition at line 56 of file OTypedScalarProperty.h.
typedef TRAITS Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< TRAITS >::traits_type |
Definition at line 55 of file OTypedScalarProperty.h.
typedef TRAITS::value_type Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< TRAITS >::value_type |
Definition at line 57 of file OTypedScalarProperty.h.
|
inline |
Create a default (empty) TypedScalarProperty ...
Definition at line 97 of file OTypedScalarProperty.h.
Referenced by Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< TRAITS >::OTypedScalarProperty().
|
inline |
Create a new TypedScalarProperty as a child of the passed iParent Arguments can specify metadata, timesampling, and error handling.
Definition at line 102 of file OTypedScalarProperty.h.
|
inline |
Create a new TypedScalarProperty as a child of the passed iParent Arguments can specify metadata, timesampling, and error handling.
Definition at line 117 of file OTypedScalarProperty.h.
References Alembic::Abc::ALEMBIC_VERSION_NS::GetErrorHandlerPolicy(), and Alembic::Abc::ALEMBIC_VERSION_NS::OBasePropertyT< PROP_PTR >::getPtr().
|
inline |
Wrap an existing scalar property, checking to make sure it matches data type and also (if requested) interpretation.
Definition at line 132 of file OTypedScalarProperty.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(), and Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< TRAITS >::matches().
|
inline |
Definition at line 158 of file OTypedScalarProperty.h.
References Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< TRAITS >::OTypedScalarProperty().
|
inlinestatic |
Return the interpretation expected of this property. An empty interpretation matches everything
Definition at line 61 of file OTypedScalarProperty.h.
Referenced by Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< TRAITS >::matches().
|
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 OTypedScalarProperty.h.
References Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::MetaData::get(), and Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< TRAITS >::getInterpretation().
Referenced by Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< TRAITS >::OTypedScalarProperty(), and Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< 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, as well as the data type.
Definition at line 79 of file OTypedScalarProperty.h.
References Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::PropertyHeader::getDataType(), Alembic::AbcCoreAbstract::ALEMBIC_VERSION_NS::DataType::getExtent(), Alembic::Abc::ALEMBIC_VERSION_NS::OTypedScalarProperty< TRAITS >::getInterpretation(), 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::OTypedScalarProperty< TRAITS >::matches().
|
inline |
Set a sample using a reference to a value-type, instead of a void*
Definition at line 173 of file OTypedScalarProperty.h.
References Alembic::Abc::ALEMBIC_VERSION_NS::OScalarProperty::set().
Referenced by Alembic::AbcGeom::ALEMBIC_VERSION_NS::OGeomBaseSchema< INFO >::createSelfBoundsProperty(), Alembic::AbcGeom::ALEMBIC_VERSION_NS::SetPropUsePrevIfNull< Abc::OBox3dProperty, Abc::Box3d >(), and Alembic::AbcGeom::ALEMBIC_VERSION_NS::SetPropUsePrevIfNull< Abc::OWstringProperty, Alembic::Util::wstring >().