IASortedCollection

Because sorted collection is an abstract class, it cannot be used to create any objects. The sorted collection inherits from ordered collection and defines the interfaces for the properties of sorted elements.


IASortedCollection - Member Functions and Data by Group

Constructors & Destructor

You can construct and destruct objects of this class.


[view class]
~IASortedCollection
public:
~IASortedCollection()

Removes all elements from the collection. Destructors are called for all elements contained in the collection and for elements that have been constructed in advance.

Side Effects

All cursors of the collection become undefined.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


[view class]
IASortedCollection

You can construct and destruct objects of this class.


Overload 1
public:
IASortedCollection(INotifier&)

Use this constructor to create a collection with support for notification.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 2
protected:
IASortedCollection(IASortedCollection < Element > const&)

Constructs a collection. The collection is unbounded and is initially empty.
Note: The collection constructor does not define whether any elements are constructed when the collection is constructed. For some classes, the element's default constructor may be invoked when the collection's constructor is invoked. This happens if a tabular or a diluted sequence implementation variant is used for a collection. The element's default constructor is used to allocate the required storage and initialize the elements. Therefore, a default constructor must be available for elements in such cases.

Exception

IOutOfMemory

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


Overload 3
protected:
IASortedCollection()

The default constructor.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IASortedCollection - Inherited Member Functions and Data

Inherited Public Functions

IACollection
IAOrderedCollection

Inherited Public Data

Inherited Protected Functions

IACollectionBase
IACollection
IAOrderedCollection

Inherited Protected Data