#pragma once #include "common.h" class AFX_EXT_CLASS T2RegistedTenantIterator { public: T2RegistedTenantIterator(const T2RegistedTenantDB* db, unsigned int registID, const T2RouteNavigator* routeNavigator, POINT point); ~T2RegistedTenantIterator(); BOOL Next(T2Tenant*& pTenant); BOOL NextJob(T2Tenant*& pTenant); protected: T2EquipPtrList *mEquipPtrList; const T2RouteNavigator *mRouteNavigator; POINT mPoint; int mIndex; };