Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::containers::sets::ForEachSetMember Function
C++
__cdecl TYPELIB_PROC PTRSZVAL ForEachSetMember(GENERICSET * pSet, int unitsize, int max, FESMCallback f, PTRSZVAL psv);
Parameters 
Description 
GENERICSET * pSet 
pointer to the set to iterate 
int unitsize 
size of each element 
int max 
max count of elements per set block 
FESMCallback f 
function to call ( PTRSZVAL (*)(INDEX,PTRSZVAL) ) 
PTRSZVAL psv 
user data value to pass to function as PTRSZVAL 

PTRSZVAL - this value is the return of the user function if the function does not return 0. A non zero return from the user callback stops iteration.

Performs an iteration over each allocated set member. Calls the user provided callback routine with each element in the set.

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.
Copyright (c) 2000+. All rights reserved.
What do you think about this topic? Send feedback!