Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PAbstractDictionary::SetDataAt ( PINDEX  index,
PObject obj 
) [virtual]

Set the data at the specified ordinal index position in the dictionary.

The ordinal position in the dictionary is determined by the hash values of the keys and the order of insertion.

Returns:
TRUE if the new object could be placed into the dictionary.
Parameters:
indexOrdinal index in the dictionary.
objNew object to put into the dictionary.

Definition at line 1737 of file collect.cxx.

References PHashTable::AbstractGetKeyAt(), and AbstractSetAt().

{
  return AbstractSetAt(AbstractGetKeyAt(index), val);
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index