DICOMAnonymizer/dcmtk/dcmtk-3.6.0/dcmpstat/include/dcmtk/dcmpstat/dvcache.h
inline OFBool gotoItem(Uint32 idx)
    {
        OFBool result = OFFalse;
        Iterator = List.begin();
        OFListIterator(ItemStruct *) last = List.end();
        while (Iterator != last)
        {
            if (idx == 0)
            {
                result = OFTrue;
                break;
            }
            idx--;
            ++Iterator;
        }
        return result;
    }
/** sets internal cursor to specified position in cache list
     *
     ** @param  idx  index position in cache list (starting with 0)
     *
     ** @return OFTrue if successful, OFFalse if 'idx' is invalid
     */
sets internal cursor to specified position in cache list
@param  idx  index position in cache list (starting with 0)

@return OFTrue if successful, OFFalse if 'idx' is invalid
sets internal cursor to specified position in cache list @param idx index position in cache list ( starting with 0 ) @return OFTrue if successful OFFalse if ' idx ' is invalid
inline OFBool gotoItem(Uint32 idx)
    {
        OFBool result = OFFalse;
        Iterator = List.begin();
        OFListIterator(ItemStruct *) last = List.end();
        while (Iterator != last)
        {
            if (idx == 0)
            {
                result = OFTrue;
                break;
            }
            idx--;
            ++Iterator;
        }
        return result;
    }
inline OFBool gotoItem ( Uint32 idx ) { OFBool result = OFFalse ; Iterator = List . begin ( ) ; OFListIterator ( ItemStruct * ) last = List . end ( ) ; while ( Iterator != last ) { if ( idx == 0 ) { result = OFTrue ; break ; } idx -- ; ++ Iterator ; } return result ; }
sets internal cursor to specified position in cache list
 @param  idx  index position in cache list (starting with 0)
sets internal cursor to specified position in cache list @param idx index position in cache list ( starting with 0 )