setSetContext
Category
User-defined function
Description
The
setSetContext function is a callback that can be declared in each class that can be stored in set-relations. This callback is automatically invoked when an instance of these classes is put in a set. It allows you to automatically handle the list of type
IlsSetContextList. This function is paired with the function
unsetSetContext.
Related Pattern
Bridge
Definition
void setSetContext(IlsSetContext<KeyType>& KeyType);
This function takes the following arguments:
a reference to the set in which the object is put;
the type of the key used to store the object in a set.
See Also
Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.