CODComponent::CacheProperties

voidCODComponent::CacheProperties(void)

Update property cache and eliminate duplicates.

Defined in: OdComponent.cpp

Return Value

void

Comments

This function examines all properties belonging to this component and its children and ensures that all properties are cached. Upon completion, all properties will point to a property cache entry and references to duplicate properties removed. This function is used to populate the property cache and remove duplicates after serialization. This is performed as a separate step, to avoid destroying duplicate properties during the serialization process.

WARNING: Do not call this function until serialization for a given archive is complete. Doing so may destroy objects that are referenced by the CArchive object map.