MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenColorIO / buildEntries

Method buildEntries

src/OpenColorIO/OCIOZArchive.cpp:646–661  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

644}
645
646void CIOPOciozArchive::buildEntries()
647{
648 std::ifstream ociozStream = Platform::CreateInputFileStream(
649 m_archiveAbsPath.c_str(),
650 std::ios_base::in | std::ios_base::binary
651 );
652
653 if (ociozStream.fail())
654 {
655 std::ostringstream os;
656 os << "Error could not read OCIOZ archive: " << m_archiveAbsPath;
657 throw Exception (os.str().c_str());
658 }
659
660 getEntriesMappingFromArchiveFile(m_archiveAbsPath, m_entries);
661}
662
663} // namespace OCIO_NAMESPACE

Callers 1

CreateFromFileMethod · 0.80

Calls 2

CreateInputFileStreamFunction · 0.85

Tested by

no test coverage detected