CODController::StoreComponents

voidCODController::StoreComponents(CArchive&ar, const CODComponentSet&setComponents)

Store a set of components and their dependents to an archive.

Defined in: OdController.cpp

Return Value

void

Parameters

ar

Archive to save components to.

setComponents

Set of components to save.

Comments

This function is used to serialize components for drag and drop and clipboard operations. There are actually two sets of components that get saved out. The first is the set of components passed into the function. The second set includes all components that have connections to the components in that set. It is necessary to serialize dependents so that they are tracked during movement.