DICOMAnonymizer/dcmtk/dcmtk-3.6.0/dcmpstat/include/dcmtk/dcmpstat/dvcache.h
inline void clear()
    {
        Iterator = List.begin();
        OFListIterator(ItemStruct *) last = List.end();
        while (Iterator != last)
        {
            delete (*Iterator);
            Iterator = List.erase(Iterator);
        }
        List.clear();
        Iterator = List.end();
    }
/** reset all member variables to initial state
     *  delete all list items.
     */
reset all member variables to initial state
delete all list items.
reset all member variables to initial state delete all list items .
inline void clear()
    {
        Iterator = List.begin();
        OFListIterator(ItemStruct *) last = List.end();
        while (Iterator != last)
        {
            delete (*Iterator);
            Iterator = List.erase(Iterator);
        }
        List.clear();
        Iterator = List.end();
    }
inline void clear ( ) { Iterator = List . begin ( ) ; OFListIterator ( ItemStruct * ) last = List . end ( ) ; while ( Iterator != last ) { delete ( * Iterator ) ; Iterator = List . erase ( Iterator ) ; } List . clear ( ) ; Iterator = List . end ( ) ; }
reset all member variables to initial state
  delete all list items.
reset all member variables to initial state delete all list items .