FastEcslent::ExplosionType Class Reference

#include <ExplosionType.h>

List of all members.

Public Member Functions

 ExplosionType ()
 ExplosionType (int id)
 ExplosionType (const ExplosionType &other)
ExplosionTypeoperator= (const ExplosionType &other)
bool operator== (const ExplosionType &other) const
bool operator!= (const ExplosionType &other) const
bool operator< (const ExplosionType &other) const
int getID () const
std::string getName () const
 ExplosionType ()
 ExplosionType (int id)
 ExplosionType (const ExplosionType &other)
ExplosionTypeoperator= (const ExplosionType &other)
bool operator== (const ExplosionType &other) const
bool operator!= (const ExplosionType &other) const
bool operator< (const ExplosionType &other) const
int getID () const
std::string getName () const

Private Attributes

int id


Detailed Description

Definition at line 9 of file ExplosionType.h.


Constructor & Destructor Documentation

FastEcslent::ExplosionType::ExplosionType (  ) 

Definition at line 53 of file ExplosionType.cpp.

References id, and FastEcslent::ExplosionTypes::None.

FastEcslent::ExplosionType::ExplosionType ( int  id  ) 

Definition at line 57 of file ExplosionType.cpp.

References id, FastEcslent::initializingExplosionType, and FastEcslent::ExplosionTypes::Unknown.

FastEcslent::ExplosionType::ExplosionType ( const ExplosionType other  ) 

Definition at line 63 of file ExplosionType.cpp.

References id.

FastEcslent::ExplosionType::ExplosionType (  ) 

FastEcslent::ExplosionType::ExplosionType ( int  id  ) 

FastEcslent::ExplosionType::ExplosionType ( const ExplosionType other  ) 


Member Function Documentation

ExplosionType & FastEcslent::ExplosionType::operator= ( const ExplosionType other  ) 

Definition at line 67 of file ExplosionType.cpp.

References id.

bool FastEcslent::ExplosionType::operator== ( const ExplosionType other  )  const

Definition at line 72 of file ExplosionType.cpp.

References id.

bool FastEcslent::ExplosionType::operator!= ( const ExplosionType other  )  const

Definition at line 76 of file ExplosionType.cpp.

References id.

bool FastEcslent::ExplosionType::operator< ( const ExplosionType other  )  const

Definition at line 80 of file ExplosionType.cpp.

References id.

int FastEcslent::ExplosionType::getID (  )  const

Returns a unique ID for this explosion type.

Definition at line 84 of file ExplosionType.cpp.

References id.

Referenced by FastEcslent::ExplosionTypes::init().

std::string FastEcslent::ExplosionType::getName (  )  const

Returns the name of this explosion type.

Definition at line 88 of file ExplosionType.cpp.

References FastEcslent::explosionTypeName, and id.

ExplosionType& FastEcslent::ExplosionType::operator= ( const ExplosionType other  ) 

bool FastEcslent::ExplosionType::operator== ( const ExplosionType other  )  const

bool FastEcslent::ExplosionType::operator!= ( const ExplosionType other  )  const

bool FastEcslent::ExplosionType::operator< ( const ExplosionType other  )  const

int FastEcslent::ExplosionType::getID (  )  const

Returns a unique ID for this explosion type.

std::string FastEcslent::ExplosionType::getName (  )  const

Returns the name of this explosion type.


Member Data Documentation

int FastEcslent::ExplosionType::id [private]

Definition at line 26 of file ExplosionType.h.

Referenced by ExplosionType(), getID(), getName(), operator!=(), operator<(), operator=(), and operator==().


The documentation for this class was generated from the following files:
Generated on Fri Dec 13 14:54:21 2013 for FastECSLent by  doxygen 1.5.4