Logo Search packages:      
Sourcecode: pwlib version File versions

PObject * PAbstractDictionary::GetAt ( PINDEX  index  )  const [virtual]

Get the object at the specified index position. The index is as is used in the GetKeyAt()# function. If the index was not in the collection then NULL is returned.

Returns:
pointer to object at the specified index.
Parameters:
index  Index position in the collection of the object.

Implements PCollection.

Definition at line 1711 of file collect.cxx.

{
  PAssert(hashTable->SetLastElementAt(index), PInvalidArrayIndex);
  return hashTable->lastElement->data;
}


Generated by  Doxygen 1.6.0   Back to index