MCPcopy Create free account
hub / github.com/ImageEngine/cortex / setFrameLists

Function setFrameLists

src/IECorePython/CompoundFrameListBinding.cpp:87–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87static void setFrameLists( CompoundFrameList &x, list l )
88{
89 std::vector< FrameListPtr > frameLists;
90
91 for ( long i = 0; i < IECorePython::len( l ); i++ )
92 {
93 extract< FrameListPtr > ex( l[i] );
94
95 if ( !ex.check() )
96 {
97 throw Exception( "Not a FrameList" );
98 }
99
100 frameLists.push_back( ex() );
101 }
102
103 x.setFrameLists( frameLists );
104}
105
106template<>
107std::string repr( CompoundFrameList &x )

Callers

nothing calls this directly

Calls 3

setFrameListsMethod · 0.80
lenFunction · 0.70
checkMethod · 0.45

Tested by

no test coverage detected