MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ close()

void MayaFlux::IO::SafetensorsReader::close ( )
overridevirtual

Close the currently open file.

Implements MayaFlux::IO::FileReader.

Definition at line 69 of file SafetensorsFormat.cpp.

70{
71 if (m_file.is_open())
72 m_file.close();
73 m_entries.clear();
74 m_metadata.clear();
75 m_data_start = 0;
76 m_open = false;
77}
std::map< std::string, std::string > m_metadata

References m_data_start, m_entries, m_file, m_metadata, and m_open.

Referenced by open(), reject(), and ~SafetensorsReader().

Here is the caller graph for this function: