Logo Search packages:      
Sourcecode: djvulibre version File versions

int GBaseString::rsearch ( char  c,
const int  from = 0 
) const [inline, inherited]

Searches character c# in the string, starting at position from# and scanning backwards until reaching the beginning of the string. This function returns the position of the matching character. It returns #-1# if character c# cannot be found.

Definition at line 1279 of file GString.h.

References GPBase::ptr.

Referenced by GIFFManager::add_chunk(), GIFFManager::get_chunks_number(), DjVmDir::resolve_duplicates(), and DjVmDoc::write().

{ return ptr?((*this)->rsearch(c,from)):(-1); }

Generated by  Doxygen 1.6.0   Back to index