The IDDEActiverServerSet class is a set. The set contains pointers to IDDEActiveServer objects.
An application creates an object of this class to use with the IDDEClientConversation::supportingApplications or IDDEClientConversation::supportedTopics function to hold the current set of active servers. If you remove individual elements of this set, delete the IDDEActiveServer object to which the element points or the memory is not recovered.
Use these to construct and destruct objects of this class.
![]() |
public:
~IDDEActiveServerSet()
This function removes all the elements from the set and deletes them.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
IDDEActiveServerSet()
You can construct an object of this class using the default constructor, which does not accept any arguments.
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these functions to add and remove IDDEActiveServer objects.
![]() |
public:
bool add(IDDEActiveServer * const& activeServer)
Adds the IDDEActiveServer object as the last element in the collection.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
Removes all IDDEActiveServer objects from the collection.
public:
unsigned long removeAll()
Windows | OS/2 | AIX |
Yes | Yes | No |
public:
unsigned long removeAll( bool ( * predicateFunction ) ( IDDEActiveServer * const&, void * ) , void* data = 0 )
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
void removeAt(Cursor& cursor)
Removes theIDDEActiveServer object at the given cursor.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
void replaceAt( const Cursor& cursor, IDDEActiveServer * const& activeServer )
Replaces the IDDEActiveServer object at the given cursor with the given IDDEActiveServer object.
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these functions to operate on all objects in the collection.
![]() |
public:
bool allElementsDo( bool ( * function ) ( IDDEActiveServer *&, void * ) , void* additionalArgument = 0 )
Calls the specified function for each object in the set.
Windows | OS/2 | AIX |
Yes | Yes | No |
Use these functions to determine characteristics of the collection.
![]() |
public:
IDDEActiveServer* elementAt(const Cursor& cursor) const
Returns the IDDEActiveServer object pointed to by the given cursor.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
bool isEmpty() const
Returns true if the collection of IDDEActiveServer objects is empty.
Windows | OS/2 | AIX |
Yes | Yes | No |
![]() |
public:
unsigned long numberOfElements() const
Returns the number of IDDEActiveServer objects in the collection.
Windows | OS/2 | AIX |
Yes | Yes | No |