libProcTer::CMap< T > Class Template Reference

#include <cmap.h>

Inheritance diagram for libProcTer::CMap< T >:

libProcTer::CMapBase

List of all members.

Public Member Functions

 CMap ()
 Default constructor.
T * getData ()
 Returns a pointer to the data array. The array size is PROCTER_TEX_RES*PROCTER_TEX_RES.
const T * getData () const
 Returns a const pointer to the data array. The array size is PROCTER_TEX_RES*PROCTER_TEX_RES.


Detailed Description

template<typename T>
class libProcTer::CMap< T >

Author:
CJP
Template class for storing map data.

Use this class for storing various 'hidden' layers of map data in derived classes of CTileData.

The resolution of the map is always PROCTER_TEX_RES*PROCTER_TEX_RES.


Constructor & Destructor Documentation

template<typename T>
libProcTer::CMap< T >::CMap (  )  [inline]

Default constructor.


Member Function Documentation

template<typename T>
const T* libProcTer::CMap< T >::getData (  )  const [inline]

Returns a const pointer to the data array. The array size is PROCTER_TEX_RES*PROCTER_TEX_RES.

template<typename T>
T* libProcTer::CMap< T >::getData (  )  [inline]

Returns a pointer to the data array. The array size is PROCTER_TEX_RES*PROCTER_TEX_RES.


The documentation for this class was generated from the following file:

Generated on Sun Aug 2 13:23:11 2009 for libprocter by  doxygen 1.5.8