template<class type>
Returns the number of item d in the list via pointer compare.
Definition at line 277 of file qptrvector.h. 00278 { 00279 uint count=0; 00280 for(typename std::vector<type *>::const_iterator it=std::vector<type *>::begin(); it!=std::vector<type *>::end(); ++it) 00281 { 00282 if(*it==d) count++; 00283 } 00284 return count; 00285 }
|