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

◆ close()

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

Close the currently open file.

Implements MayaFlux::IO::FileReader.

Definition at line 39 of file NpyFormat.cpp.

40{
41 if (m_file.is_open()) {
42 m_file.close();
43 }
44 m_spec = {};
45 m_data_offset = 0;
46 m_open = false;
47}
Kakshya::TensorSpec m_spec
Definition NpyFormat.hpp:51

References m_data_offset, m_file, m_open, and m_spec.

Referenced by open(), and ~NpyReader().

Here is the caller graph for this function: