Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

layoutview.cpp File Reference


Defines

#define FOR_EACH_NAME(name1, func)

Define Documentation

#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 );                                                                    \
}


Generated at Tue Sep 11 15:27:44 2001 for AtheOS higlevel API by doxygen1.2.9.1 written by Dimitri van Heesch, © 1997-2001