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

Method asList

src/IECore/ReversedFrameList.cpp:57–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void ReversedFrameList::asList( std::vector<Frame> &frames ) const
58{
59 frames.clear();
60
61 m_frameList->asList( frames );
62
63 std::reverse( frames.begin(), frames.end() );
64
65#ifndef NDEBUG
66 std::vector<Frame> origList;
67 m_frameList->asList( origList );
68 assert( frames.size() == origList.size() );
69#endif
70}
71
72std::string ReversedFrameList::asString() const
73{

Callers 1

testMethod · 0.95

Calls 4

clearMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected