バナーをクリックすれば目次に戻ります
Copyright 1999 Rogue Wave Software
Copyright 1999 Sun Microsystems, Inc.
RWHashTableIterator
RWHashTableIterator RWIterator
#include <rw/hashtab.h> RWHashTable h; RWHashTableIterator it(h);
すべての Rogue Wave 反復子と同様に、作成直後の "現在の項目" は未定義で、operator() または他の有効な操作によってユーザーが定義する必要があります。
反復子がコレクションの最後を越えると、無効になります。そのまま使用し続けると、予期できない結果をもたらします。
RWHashTableIterator(RWHashTable&);
virtual RWCollectable* operator()();
virtual RWCollectable* findNext(const RWCollectable* target);
virtual RWCollectable* key() const;
RWCollectable* remove();
RWCollectable* removeNext(const RWCollectable*);
virtual void reset();