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

PINDEX PAbstractSortedList::InsertAt ( PINDEX  index,
PObject obj 
) [virtual]

Add a new object to the collection.

The object is always placed in the correct ordinal position in the list. It is not placed at the specified position. The index# parameter is ignored.

Returns:
index of the newly inserted object.

Implements PCollection.

Definition at line 975 of file collect.cxx.

References PAbstractList::Append().

{
  return Append(obj);
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index