Logo Search packages:      
Sourcecode: djvulibre version File versions

GUTF8String GURL::fname ( void   )  const

Returns the name part of this URL with escape sequences expanded. For example, if the URL is http://www.lizardtech.com/file201.djvu# then this function will return file 1.djvu#. {name}() will return file201.djvu# at the same time.

Definition at line 1007 of file GURL.cpp.

References decode_reserved(), and name().

Referenced by expand_name(), DjVuDocEditor::insert_group(), DjVuDocEditor::insert_page(), DjVuErrorList::request_data(), DjVuDocument::request_data(), DjVuDocEditor::request_data(), DjVuDocument::save_as(), DjVuDocument::url_to_id(), DjVuDocument::url_to_page(), and DjVuImage::writeXML().

{
   if(!validurl)
     const_cast<GURL *>(this)->init();
   return decode_reserved(name());
}


Generated by  Doxygen 1.6.0   Back to index