CODController::LoadComponents

voidCODController::LoadComponents(CArchive&ar, CODComponentSet&setPrimary, CODComponentSet&setDependents)

Retrieve a set of components and their dependents from an archive.

Defined in: OdController.cpp

Return Value

void

Parameters

ar

Archive from which to load the components.

setPrimary

Primary set of components loaded.

setDependents

Dependent components loaded.

Comments

This function is used to serialize components for drag and drop and clipboard operations. There are actually two sets of components that get loaded. The first is the primary set of components, which is usually the set of selected components. The second set comprises all components that have connections to the components in the primary set. It is necessary to serialize these as well, so that connected components (i.e. links) can be tracked during movement.