GameEngine::EventType Class Reference

#include <EventType.h>

List of all members.


Detailed Description

Class to reprsent game event types. Takes a string representation and generates a unique hash value

Definition at line 33 of file EventType.h.

Public Member Functions

 EventType (char const *const identStr)
unsigned long getIdent () const
char const *const getStr () const
bool operator< (EventType const &o) const
bool operator== (EventType const &o) const

Static Public Member Functions

static void * hash_name (char const *identStr)

Private Attributes

void * mIdent
char const * mIdentStr


Constructor & Destructor Documentation

GameEngine::EventType::EventType ( char const *const  identStr  )  [inline]

Definition at line 35 of file EventType.h.


Member Function Documentation

unsigned long GameEngine::EventType::getIdent (  )  const [inline]

Definition at line 41 of file EventType.h.

char const* const GameEngine::EventType::getStr (  )  const [inline]

Definition at line 45 of file EventType.h.

bool GameEngine::EventType::operator< ( EventType const &  o  )  const [inline]

Definition at line 49 of file EventType.h.

bool GameEngine::EventType::operator== ( EventType const &  o  )  const [inline]

Definition at line 54 of file EventType.h.

void * GameEngine::EventType::hash_name ( char const *  identStr  )  [static]

Definition at line 25 of file EventType.cpp.


Member Data Documentation

void* GameEngine::EventType::mIdent [private]

Definition at line 63 of file EventType.h.

char const* GameEngine::EventType::mIdentStr [private]

Definition at line 64 of file EventType.h.


The documentation for this class was generated from the following files:
Generated on Thu Apr 19 09:48:43 2007 for GameEngine by  doxygen 1.5.2