IElementCursor

Cursors from unordered collections are derived from IElementCursor, and only know the member functions from IElementCursor and ICursor.

Because the cursor classes are all abstract classes, no objects of type IOrderedCursor, IElementCursor, or ICursor can be declared. You can obtain cursor objects by using the collection member IACollection::newCursor or by defining a cursor of a specific collection cursor class. The newCursor() member creates a cursor of the collection to which it is applied.

The newCursor() member returns a pointer to the newly created cursor object.

Each cursor object is associated with a collection object. A cursor function merely calls the corresponding function for this collection. For example, cursor.setToFirst() is the same as collection.setToFirst(cursor), where collection is the object associated with cursor.


IElementCursor - Member Functions and Data by Group

Miscellaneous

Use these members to perform operations on the cursor.


[view class]
element
public:
Element const& element() const
Returns a reference to the element pointed to by this cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes Yes


IElementCursor - Inherited Member Functions and Data

Inherited Public Functions

ICursor

Inherited Public Data

Inherited Protected Functions

ICursor
IElementCursor

Inherited Protected Data