summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2CustomerTableIterator.h
blob: 9c9e582bbbb7cb42e992ee5e62a2b96354ee9da1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef T2DLL_T2CUSTOMERTABLEITERATOR_H
#define T2DLL_T2CUSTOMERTABLEITERATOR_H
#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;
};
#endif