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