TypedSurface< colorDepth > Class Template Reference

#include <surface.h>

Inheritance diagram for TypedSurface< colorDepth >:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 TypedSurface (SDL_Surface *surface)
 TypedSurface (SDLmm::Surface &surface, int depthCheck)
 the parameter depthcheck is primarily there to prevent accidential usage of this constructor
 TypedSurface (const TypedSurface< colorDepth > &other)
 TypedSurface ()

Static Public Attributes

static const int depth = colorDepth

Protected Member Functions

virtual int getDepthFormat ()

Detailed Description

template<int colorDepth>
class TypedSurface< colorDepth >

Definition at line 136 of file surface.h.


Constructor & Destructor Documentation

template<int colorDepth>
TypedSurface< colorDepth >::TypedSurface ( SDL_Surface *  surface  )  [inline, explicit]

Definition at line 139 of file surface.h.

template<int colorDepth>
TypedSurface< colorDepth >::TypedSurface ( SDLmm::Surface &  surface,
int  depthCheck 
) [inline, explicit]

the parameter depthcheck is primarily there to prevent accidential usage of this constructor

Definition at line 142 of file surface.h.

References TypedSurface< colorDepth >::depth.

template<int colorDepth>
TypedSurface< colorDepth >::TypedSurface ( const TypedSurface< colorDepth > &  other  )  [inline]

Definition at line 147 of file surface.h.

template<int colorDepth>
TypedSurface< colorDepth >::TypedSurface (  )  [inline]

Definition at line 148 of file surface.h.


Member Function Documentation

template<int colorDepth>
virtual int TypedSurface< colorDepth >::getDepthFormat (  )  [inline, protected, virtual]

Reimplemented from Surface.

Definition at line 150 of file surface.h.

References TypedSurface< colorDepth >::depth.


Member Data Documentation

template<int colorDepth>
const int TypedSurface< colorDepth >::depth = colorDepth [static]

Definition at line 138 of file surface.h.

Referenced by TypedSurface< colorDepth >::getDepthFormat(), and TypedSurface< colorDepth >::TypedSurface().


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:47:59 2012 for Advanced Strategic Command by  doxygen 1.5.1