CODComponentOrderedSet Class
class CODComponentOrderedSet: public CODComponentSet
Set of ordered components. This class maintains a set of components in sorted order based on a comparison function. The Add and Append methods use the comparison function to insert new components at their correct ordered position. The comparison function prototype is OD_COMPONENT_COMPARE.Defined in: OdComponent.h
Class Members
CODComponentOrderedSet(OD_COMPONENT_COMPARE fnCompare)
Constructor.
CODComponentOrderedSet(OD_COMPONENT_COMPARE fnCompare, const CODComponentSet& src)
Copy constructor.
int Add(CODComponent* pComp)
Add a component to the set.
int Append(const CODComponentSet& src)
Append a set of components.
OD_COMPONENT_COMPARE m_fnCompare
Pointer to comparison function.