#pragma once #include "common.h" class AFX_CLASS_EXPORT T2CustomerTableIterator { public: T2CustomerTableIterator(const T2TenantMemberTableDef* inTable); ~T2CustomerTableIterator(); BOOL Next(T2TenantMemberDef*& outMemberDef, unsigned int& outRate); protected: void CalcNextIndex(); const T2TenantMemberTableDef *mTable; int mLastNum; int mBound; int mNextIndex; };