#include <ngiter.h>
Inheritance diagram for NameGroupIter:
Public Member Functions | |
virtual | ~NameGroupIter () |
virtual SGNameGroup * | ForEach () |
Calls NameGroupIter::Do for every group in the name gallery. | |
Private Member Functions | |
virtual BOOL | Do (SGNameGroup *pGroup)=0 |
Definition at line 327 of file ngiter.h.
|
Definition at line 330 of file ngiter.h.
|
|
Implemented in CreateDisplayScan::CreateItems, and CreateDisplayScan::FoldGroupIfEmpty. |
|
Calls NameGroupIter::Do for every group in the name gallery.
Definition at line 553 of file ngiter.cpp. 00554 { 00555 PORTNOTETRACE("other","NameGroupIter::ForEach - do nothing"); 00556 #ifndef EXCLUDE_FROM_XARALX 00557 SGNameGroup* pGroup = NameGallery::Instance()->GetFirstGroup(); 00558 while (pGroup != 0) 00559 { 00560 SGNameGroup* pNextGroup = (SGNameGroup*) pGroup->GetNext(); 00561 if (!Do(pGroup)) return pGroup; 00562 pGroup = pNextGroup; 00563 } 00564 #endif 00565 return NULL; 00566 }
|