//-*****************************************************************************
ICompoundProperty::ICompoundProperty( AbcA::CompoundPropertyReaderPtr iPtr,
                                      const Argument &iArg0,
                                      const Argument &iArg1 )
  : IBasePropertyT<AbcA::CompoundPropertyReaderPtr>(
      iPtr,
      GetErrorHandlerPolicy( iPtr, iArg0, iArg1 ) )
{
    // Nothing!
}
//-*****************************************************************************
OLightSchema::OLightSchema( Abc::OCompoundProperty iParent,
                            const std::string &iName,
                            const Abc::Argument &iArg0,
                            const Abc::Argument &iArg1,
                            const Abc::Argument &iArg2 )
: Abc::OSchema<LightSchemaInfo>( iParent.getPtr(), iName,
                                    GetErrorHandlerPolicy( iParent ),
                                    iArg0, iArg1, iArg2 )
{
    init( iParent.getPtr(), iArg0, iArg1, iArg2, Abc::Argument() );
}
//-*****************************************************************************
void ICompoundProperty::init ( const IObject & iObject,
                               const Argument &iArg0,
                               const Argument &iArg1 )
{
    getErrorHandler().setPolicy(
        GetErrorHandlerPolicy( iObject, iArg0, iArg1 ) );

    ALEMBIC_ABC_SAFE_CALL_BEGIN(
        "ICompoundProperty::init( IObject )" );

    m_property = iObject.getProperties().getPtr();

    ALEMBIC_ABC_SAFE_CALL_END_RESET();
}
//-*****************************************************************************
ICompoundProperty::ICompoundProperty( const ICompoundProperty & iParent,
                                      const std::string &iName,
                                      const Argument &iArg0 )
{
    init( iParent.getPtr(), iName, GetErrorHandlerPolicy( iParent ), iArg0 );
}
Exemplo n.º 5
0
//-*****************************************************************************
OCompoundProperty::OCompoundProperty( AbcA::CompoundPropertyWriterPtr iProp,
    WrapExistingFlag iWrapFlag, const Argument &iArg0, const Argument &iArg1 )
    : OBasePropertyT<AbcA::CompoundPropertyWriterPtr>( iProp,
      GetErrorHandlerPolicy( iProp, iArg0, iArg1 ) )
{
}