CODComponent::RegisterID

ODComponentId CODComponent::RegisterID(IODIdGenerator* pIIdGenerator)

Register a unique ID for this component with the ID generator.

Defined in: OdComponent.cpp

Return Value

The unique component ID for this component.

Parameters

pIIdGenerator

Pointer to a IODIdGenerator interface.

Comments

This function registers the component's unique identifier with the given ID generator. If the component doesn't already have an ID (i.e. the ID is 0), then it requests a new ID from the ID generator.