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

BOOL PAbstractList::Remove ( const PObject obj ) [virtual]

Remove the object from the collection. If the AllowDeleteObjects option is set then the object is also deleted.

TRUE if the object was in the collection.
objExisting object to remove from the collection.

Implements PCollection.

Definition at line 597 of file collect.cxx.

References GetObjectsIndex(), and RemoveAt().

  PINDEX i = GetObjectsIndex(obj);
  if (i == P_MAX_INDEX)
    return FALSE;
  return TRUE;

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index