00001 /*************************************************************************** 00002 * Copyright (C) 2007 by www.databasecache.com * 00003 * Contact: praba_tuty@databasecache.com * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 ***************************************************************************/ 00016 #include<Index.h> 00017 #include<Debug.h> 00018 00019 HashIndexNode* BucketIter::next() 00020 { 00021 if (iter == NULL) return NULL; 00022 HashIndexNode *node = iter; 00023 iter = iter ->next_; 00024 printDebug(DM_HashIndex,"BucketIter::next returns %x",node); 00025 return node; 00026 }