CODComponentOrderedSet::CODComponentOrderedSet

Constructor.

Defined in: OdComponent.cpp

Syntax

CODComponentOrderedSet::CODComponentOrderedSet(OD_COMPONENT_COMPARE fnCompare);

CODComponentOrderedSet::CODComponentOrderedSet(OD_COMPONENT_COMPARE fnCompare, const CODComponentSet& src);

Parameters

fnCompare

Pointer to function to compare two components

src

Set of components to initial set with.

Comments

The ordered set must be passed a comparison function for doing the insertion sort. A set of components can also be passed to the constructor so that the ordered set can be populated during construction.