Sack Library Documentation
ContentsIndexReferenceHome
PreviousUpNext
sack::containers::sets::_ForAllInSet Function
C++
__cdecl TYPELIB_PROC PTRSZVAL _ForAllInSet(GENERICSET * pSet, int unitsize, int max, FAISCallback f, PTRSZVAL psv);
#define ForAllInSet(name, pset,f,psv) _ForAllInSet( (GENERICSET*)(pset), sizeof( name ), MAX##name##SPERSET, (f), (psv) )
Parameters 
Description 
GENERICSET * pSet 
poiner to a set 
int unitsize 
size of elements in the array 
int max 
count of elements per set block 
FAISCallback f 
user callback function to call for each element in the set 
PTRSZVAL psv 
user data passed to the user callback when it is invoked for a member of the set. 

If the user callback returns 0, the loop continues. If the user callback returns non zero then the looping through the set ends, and that result is returned.

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!