| 644 | } |
| 645 | |
| 646 | void 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 |
no test coverage detected