Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

GX2DArray.h

Go to the documentation of this file.
00001 #ifndef __GX2DARRAY
00002 #define __GX2DARRAY
00003 
00004 
00005 #include "GXAutoArray.h"
00006 
00007 template<typename type>
00008 class CGX2DArray
00009 {
00010 public:
00011         CGX2DArray();
00012         ~CGX2DArray();
00013 
00014         void Cleanup();
00015 
00016         bool Init(UINT uXMax, UINT uYMax);
00017 
00018         void GetValAt(UINT uX, UINT uY, type* pOut);
00019 
00020         void SetValAt(UINT uX, UINT uY, type* pIn);
00021 
00022 protected:
00023         CGXAutoArray< CGXAutoArray<type> > m_Arrays;//each inner array represents a 
00024 }
00025 
00026 
00027 
00028 
00029 
00030 
00031 
00032 
00033 
00034 
00035 
00036 
00037 
00038 #endif

Generated on Thu May 23 17:51:00 2002 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001