IDDEActiveServerSet::Cursor

Use the nested class IDDEActiveServerSet::Cursor to iterate over the elements of an IDDEActiveServerSet collection.


IDDEActiveServerSet::Cursor - Member Functions and Data by Group

Constructors & Destructor

Use these to construct and destruct objects of this class.


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

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
Cursor
public:
Cursor(const IDDEActiveServerSet& serverSet)

Constructs the cursor and associates it with the given IDDEActiveServerSet collection. The cursor is initially invalid.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Cursor Movement

Use these functions to set the cursor to a specified element of the associated collection.


[view class]
setToFirst
public:
bool setToFirst()

Sets the cursor to the first IDDEActiveServer object in the collection. Invalidates the cursor if the collection is empty. Returns true if there was a first object.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
setToNext
public:
bool setToNext()

Sets the cursor to the next IDDEActiveServer object in the collection. Invalidates the cursor if there were no more objects to be visited. Returns true if there was a next object.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Cursor Validation

Use these members to determine if the cursor is valid or to invalidate the cursor.


[view class]
invalidate
public:
void invalidate()

Invalidates the cursor.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


[view class]
isValid
public:
bool isValid() const

Returns true if the cursor refers to a validIDDEActiveServer object.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


Object Retrieval

Use these functions to retrieve objects from the collection.


[view class]
element
public:
IDDEActiveServer * const element() const

Returns the IDDEActiveServer object at the cursor location.

Supported Platforms

Windows OS/2 AIX
Yes Yes No


IDDEActiveServerSet::Cursor - Inherited Member Functions and Data

Inherited Public Functions

Inherited Public Data

Inherited Protected Functions

Inherited Protected Data