Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

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 ()

template<int colorDepth>
class TypedSurface< colorDepth >


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 assert, and 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 Tue Jun 24 02:22:01 2008 for Advanced Strategic Command by  doxygen 1.4.2