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

Function repr

src/IECorePython/FileSequenceBinding.cpp:54–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52
53template<>
54std::string repr( FileSequence &x )
55{
56 std::stringstream s;
57
58 s << "IECore.FileSequence( '";
59
60 s << x.getFileName();
61
62 s <<"', ";
63
64 object item( FrameListPtr( x.getFrameList() ) );
65
66 s << call_method< std::string >( item.ptr(), "__repr__" );
67
68 s << " ) ";
69
70 return s.str();
71}
72
73template<>
74std::string str( FileSequence &x )

Callers

nothing calls this directly

Calls 1

getFrameListMethod · 0.45

Tested by

no test coverage detected