CODComponentOrderedSet::Add

intCODComponentOrderedSet::Add(CODComponent*pComp)

Add a component to the set.

Defined in: OdComponent.cpp

Return Value

Index of component added or -1 if add not successful.

Parameters

pComp

Pointer to component to add.

Comments

This function adds the component to the set in sorted order based on the comparison function.