MCPcopy Create free account
hub / github.com/alembic/alembic / getArrayType

Function getArrayType

python/PyAlembic/PyTypedPropertyTraits.cpp:63–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61//-*****************************************************************************
62template<class TPTraits>
63object getArrayType()
64{
65 typedef TypeBindingTraits<TPTraits> binding_traits;
66 typedef typename binding_traits::python_array_type array_type;
67
68 typename manage_new_object::apply<array_type*>::type converter;
69
70 array_type* array = createArray<array_type>( 1 );
71
72 return object( handle<>( converter( array ) ) ).attr( "__class__" );
73}
74
75//-*****************************************************************************
76#define REGISTER_TPTRAITS( TPTraits ) \

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected