#include <cmap.h>
Public Member Functions | |
CMapBase (unsigned int bpp) | |
Constructor; bpp is the number of bytes per pixel. | |
CMapBase (const CMapBase &map) | |
Copy constructor. | |
~CMapBase () | |
Destructor. | |
const CMapBase & | operator= (const CMapBase &map) |
Assignment operator. | |
unsigned int | getBPP () const |
Returns the number of bytes per pixel. | |
Protected Attributes | |
uint8_t * | m_Data |
The data. | |
unsigned int | m_BPP |
The number of bytes per pixel. |
Should only be used as a generic pointer type to point to CMap objects, in cases where type safety is not possible. Whenever possible, use (pointers to) the actual map type.
libProcTer::CMapBase::CMapBase | ( | unsigned int | bpp | ) | [inline] |
Constructor; bpp is the number of bytes per pixel.
libProcTer::CMapBase::CMapBase | ( | const CMapBase & | map | ) | [inline] |
Copy constructor.
libProcTer::CMapBase::~CMapBase | ( | ) | [inline] |
Destructor.
unsigned int libProcTer::CMapBase::getBPP | ( | ) | const [inline] |
Returns the number of bytes per pixel.
Assignment operator.
unsigned int libProcTer::CMapBase::m_BPP [protected] |
The number of bytes per pixel.
uint8_t* libProcTer::CMapBase::m_Data [protected] |
The data.