Example #1
0
 virtual ArchiveTextFile* openTextFile(const char* name)
 {
   files_t::iterator i = m_files.find(name);
   if(i != m_files.end())
   {
     return StoredArchiveTextFile::create(name, m_name.c_str(), i->second.m_position, i->second.m_stream_size);
   }
   return 0;
 }
Example #2
0
 bool containsFile(const char* name)
 {
   return m_files.find(name) != m_files.end();
 }