Logo Search packages:      
Sourcecode: djvulibre version File versions

GP< DjVuFile > DjVuPortcaster::id_to_file ( const DjVuPort source,
const GUTF8String id 
) [virtual]

Computes destination list for source# and calls the corresponding function in each of the ports from the destination list starting from the closest until one of them returns non-zero pointer to {DjVuFile}.

Definition at line 506 of file DjVuPort.cpp.

   GPList<DjVuPort> list;
   compute_closure(source, list, true);
   GP<DjVuFile> file;
   for(GPosition pos=list;pos;++pos)
      if ((file=list[pos]->id_to_file(source, id))) break;
   return file;

Generated by  Doxygen 1.6.0   Back to index