CODComponent::GetIdGenerator

IODIdGenerator*CODComponent::GetIdGenerator(void)

Get a pointer to the ID generator interface for this component.

Defined in: OdComponent.cpp

Return Value

Pointer to a  IODIdGenerator interface.

Comments

This implementation simply asks the parent for the interface. The  CODModel implements this method by returning a pointer to itself. So components indirectly chain up to the model to retrieve this interface. That way, the components don't have any direct coupling with the model.