Logo Search packages:      
Sourcecode: pwlib version File versions

PINLINE BOOL PHashTable::AbstractContains ( const PObject key  )  const [protected]

Determine if the value of the object is contained in the hash table. The object values are compared, not the pointers. So the objects in the collection must correctly implement the PObject::Compare()# function. The hash table is used to locate the entry.

Returns:
TRUE if the object value is in the set.
Parameters:
key  Key to look for in the set.

Definition at line 510 of file contain.inl.

Referenced by PAbstractSet::Append().

  { return hashTable->GetElementAt(key) != NULL; }


Generated by  Doxygen 1.6.0   Back to index