00001 #pragma once
00002
00003 class CShuffle
00004 {
00005 private:
00006 __uint32 count;
00007
00008 __uint32* mapping;
00009
00010 public:
00011 CShuffle(
00012 __uint32 count
00013 );
00014 ~CShuffle();
00015
00016 inline __uint32 operator[] (__uint32 index) { assert(index < this->count); return this->mapping[index];}
00017 void Shuffle();
00018 };