FILE* Find(const tstring& fileName) { M_Files::const_iterator found = m_Files.find(fileName.c_str()); if (found != m_Files.end()) { return found->second; } else { return NULL; } }
void Close(const tstring& fileName) { M_Files::iterator found = m_Files.find( fileName ); if (found != m_Files.end()) { fclose( found->second ); m_Files.erase( found ); } else { HELIUM_BREAK(); } }