バナーをクリックすれば目次に戻ります
Copyright 1999 Rogue Wave Software
Copyright 1999 Sun Microsystems, Inc.
RWIdentityDictionary
RWIdentityDictionary RWHashDictionary RWSet RWHashTable ...
... RWCollection RWCollectable
#include <rw/idendict.h> // Smalltalk typedef: typedef RWIdentityDictionary IdentityDictionary; RWIdentityDictionary a;
キーと値は、どちらも抽象基底クラス RWCollectable から継承しなければなりません。
このクラスの反復子は、RWHashDictionaryIterator です。
RWIdentityDictionary(size_t n = RWDEFAULT_CAPACITY);
RWBoolean operator<=(const RWIdentityDictionary& t) const;
注 - 標準 C++ ライブラリが存在する状態で RWIdentitDictionary から継承する場合、この演算子を変更し、明示的に関数を呼び出すことをお薦めします。C++ の多重定義による解決方法では、継承されたクラスメンバーを対象とする、標準ライブラリが提供する大域演算子を選択します。これらの大域定義は、部分集合関係のような半順序付けには適していません。