| 43 | |
| 44 | template<class TPTraits> |
| 45 | static object getPythonArray( AbcA::ArraySamplePtr& iSampPtr ) |
| 46 | { |
| 47 | typedef Abc::TypedArraySample<TPTraits> samp_type; |
| 48 | typedef AbcU::shared_ptr<samp_type> samp_type_ptr; |
| 49 | |
| 50 | samp_type_ptr typedSampPtr = |
| 51 | AbcU::static_pointer_cast<samp_type>( iSampPtr ); |
| 52 | |
| 53 | typename return_by_value::apply<samp_type_ptr>::type converter; |
| 54 | |
| 55 | return object( handle<>( converter( typedSampPtr ) ) ); |
| 56 | } |
| 57 | |
| 58 | //-***************************************************************************** |
| 59 | #define CASE_RETURN_ARRAY_VALUE( TPTraits, iSampPtr ) \ |
nothing calls this directly
no outgoing calls
no test coverage detected