supertux
Public Member Functions | List of all members
SDLSurfacePtr Class Referencefinal

Simple Wrapper class around SDL_Surface that provides exception safety. More...

#include <sdl_surface_ptr.hpp>

Public Member Functions

 SDLSurfacePtr (SDL_Surface *surface)
 
 SDLSurfacePtr (SDLSurfacePtr &&other) noexcept
 
SDLSurfacePtroperator= (SDLSurfacePtr &&other) noexcept
 
SDL_Surface & operator* ()
 
const SDL_Surface & operator* () const
 
SDL_Surface * operator-> ()
 
const SDL_Surface * operator-> () const
 
void reset (SDL_Surface *surface)
 
SDL_Surface * get () const
 
 operator void * ()
 

Detailed Description

Simple Wrapper class around SDL_Surface that provides exception safety.


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