Defines | |
#define | FOR_EACH_NAME(name1, func) |
|
Value: { \ va_list pArgs; va_start( pArgs, name1 ); \ for( const char* name = name1 ; name != NULL ; name = va_arg(pArgs,const char*) ) { \ LayoutNode* pcNode = FindNode( name, true, true ); \ if ( pcNode != NULL ) { \ pcNode->##func; \ } else { \ dbprintf( "Warning: LayoutNode::%s() could not find node '%s'\n", __FUNCTION__, name ); \ } \ } \ va_end( pArgs ); \ } |