Purpose:
DKParts is a subclass of sequential collection. Its purpose is to hold part XDO members of a document. The DDO representing a document has an attribute with the reserved name DKParts, its value being a pointer to DKParts collection.
The public interface of DKParts is the same as sequential collection, but internally it keeps track of member additions and deletions; this is reflected when the object is saved to the Content Manager datastore. As DKParts always has XDO collection members, its destructor can destroy the elements implicitly, that is, the user does not need to delete each member. However, the end user must still manage memory for the following operations: removeElementAt(), and replaceElementAt().
In addition to the methods inherited from the sequential collection class, DKParts has two additional methods:
Members:
void addMember(DKDDO* item, dkXDO* member)
void removeMember(DKDDO* item, dkXDO* member)
(c) Copyright International Business Machines Corporation 1996, 2003. IBM Corp. All rights reserved.