Logo Search packages:      
Sourcecode: djvulibre version File versions  Download package

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

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

Definition at line 1271 of file GString.h.

References GPBase::ptr.

Referenced by GIFFManager::add_chunk(), DjVmDir0::add_file(), GIFFChunk::check_name(), GIFFManager::del_chunk(), fromEscaped(), GIFFManager::get_chunk(), GURL::get_string(), UnicodeByteStream::gets(), DjVuMessageLite::LookUp(), and GIFFChunk::set_name().

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

Generated by  Doxygen 1.6.0   Back to index