SDL++
C++wrapperfortheSDLlibrary.

sdl::event::SimpleComparator< SDL_EVENT_TYPE > Struct Template Reference

Determines if the SDL_Event is the correct event. More...

#include <SimpleComparator.h>

List of all members.

Static Public Member Functions

static bool compare (const SDL_Event *event)

Detailed Description

template<int SDL_EVENT_TYPE>
struct sdl::event::SimpleComparator< SDL_EVENT_TYPE >

Determines if the SDL_Event is the correct event.

struct SimpleComparator

Template Parameters:
SDL_EVENT_TYPEThe type the SDL_Event should be.

Definition at line 35 of file SimpleComparator.h.


Member Function Documentation

template<int SDL_EVENT_TYPE>
static bool sdl::event::SimpleComparator< SDL_EVENT_TYPE >::compare ( const SDL_Event *  event) [inline, static]

Determines if the SDL_Event is the correct event.

Parameters:
eventThe SDL_Event structure to check.
Returns:
True if the SDL_Event is the correct event.

Definition at line 43 of file SimpleComparator.h.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs