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

int GBaseString::contains ( const char  accept[],
const int  from = 0 
) const [inline, inherited]

Searches for any of the specified characters in the accept string. It returns #-1# if the none of the characters and be found, otherwise the position of the first match.

Definition at line 1302 of file GString.h.

References GPBase::ptr.

Referenced by GIFFChunk::get_chunks_number(), and GIFFChunk::set_name().

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

Generated by  Doxygen 1.6.0   Back to index