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

Method readHeader

src/IECoreImage/ImageReader.cpp:702–715  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

700}
701
702CompoundObjectPtr ImageReader::readHeader()
703{
704 std::vector<std::string> cn;
705 channelNames( cn );
706
707 CompoundObjectPtr header = Reader::readHeader();
708
709 m_implementation->updateHeader( header.get() );
710
711 header->members()["channelNames"] = new StringVectorData( cn );
712 header->members()["deep"] = new BoolData( m_implementation->isDeep() );
713
714 return header;
715}

Callers 1

testReadHeaderMethod · 0.95

Calls 4

updateHeaderMethod · 0.80
isDeepMethod · 0.80
channelNamesFunction · 0.50
getMethod · 0.45

Tested by 1

testReadHeaderMethod · 0.76