libProcTer::CMapBase Class Reference

#include <cmap.h>

Inheritance diagram for libProcTer::CMapBase:

libProcTer::CMap< T >

List of all members.

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 CMapBaseoperator= (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.


Detailed Description

Author:
CJP
Base-class for map data.

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

unsigned int libProcTer::CMapBase::getBPP (  )  const [inline]

Returns the number of bytes per pixel.

const CMapBase& libProcTer::CMapBase::operator= ( const CMapBase map  )  [inline]

Assignment operator.


Member Data Documentation

unsigned int libProcTer::CMapBase::m_BPP [protected]

The number of bytes per pixel.

uint8_t* libProcTer::CMapBase::m_Data [protected]

The data.


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