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

GPosition GListTemplate< GP< TYPE > , GPBase >::contains ( const GP< TYPE > &  elt  )  const [inline, inherited]

Tests whether the list contains a given element. If the list contains elt#, the position of the the first list element equal to elt# as checked by TYPE::operator==(const TYPE&)# is returned. Otherwise an invalid position is returned.

Definition at line 944 of file GContainer.h.

    { GPosition pos; GListImpl<TI>::search((const TI&)elt, pos); return pos; }

Generated by  Doxygen 1.6.0   Back to index