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

Method getFrameListValue

src/IECore/FrameListParameter.cpp:120–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120FrameListPtr FrameListParameter::getFrameListValue( const StringData *value ) const
121{
122 FrameListPtr frameList = FrameList::parse( value->readable() );
123 if ( !m_allowEmptyList && frameList->isInstanceOf( EmptyFrameListTypeId ) )
124 {
125 throw Exception( "Empty frame list not allowed!" );
126 }
127
128 return frameList;
129}
130
131FrameListPtr FrameListParameter::getFrameListValue() const
132{

Callers 5

testMethod · 0.95
testNoEmptyListMethod · 0.95
testSetAndGetMethod · 0.95
doOperationMethod · 0.80

Calls 3

readableMethod · 0.80
isInstanceOfMethod · 0.80
getValueFunction · 0.50

Tested by

no test coverage detected