Logo Search packages:      
Sourcecode: djvulibre version File versions

GP< DjVmDir::File > DjVmDir::id_to_file ( const GUTF8String id  )  const

Translates file IDs to file records.

Definition at line 553 of file DjVmDir.cpp.

References GMapTemplate< KTYPE, VTYPE, TI >::contains().

Referenced by DjVuDocEditor::move_pages(), and DjVuDocEditor::remove_file().

   GCriticalSectionLock lock((GCriticalSection *) &class_lock);

   GPosition pos;
   return (id2file.contains(id, pos))?id2file[pos]:(GP<DjVmDir::File>(0));

Generated by  Doxygen 1.6.0   Back to index