Emergency 20 Dokumentation  4.2.0
em5::UnitHelper Class Reference

EMERGENCY 5 unit helper class. More...

#include <UnitHelper.h>

Public Member Functions

 UnitHelper (qsf::Entity &entity)
 
 ~UnitHelper ()
 
bool containsInjuredPersons ()
 Returns if the unit contains a injured person. More...
 
bool containsGangster ()
 Returns if the unit contains at least one gangster. More...
 
bool isAmbulanceNEF () const
 Returns if the unit is a ambulance NEF. More...
 
bool isAmbulanceRTW () const
 Returns if the unit is a ambulance RTW. More...
 
bool isAmbulanceIMT () const
 Returns if the unit is a ambulance IMT. More...
 
bool isAmbulanceHelicopter () const
 Returns if the unit is a ambulance Helicopter. More...
 
bool isAmbulanceDoctor () const
 Returns if the unit is a Doctor. More...
 
bool isAmbulanceParamedics () const
 Returns if the unit is a Paramedics. More...
 
bool isAmbulanceRoadVehicle () const
 Returns if the unit is a ambulance road vehicle. More...
 
bool isAmbulanceRescueDogLeader () const
 Returns if the unit is a ambulance rescue dog leader. More...
 
bool isAmbulanceRescueDog () const
 Returns if the unit is a ambulance rescue dog. More...
 
bool isPoliceSTW () const
 Returns if the unit is a police STW. More...
 
bool isPoliceMTW () const
 Returns if the unit is a police MTW. More...
 
bool isPoliceSEKHeli () const
 Returns if the unit is a police SEK helicopter. More...
 
bool isPoliceTSEKR () const
 Returns if the unit is a police SEK robot transport vehicle. More...
 
bool isPoliceSEKR () const
 Returns if the unit is a police SEK robot. More...
 
bool isPoliceDogCar () const
 Returns if the unit is a police Dog transport car. More...
 
bool isPoliceRoadVehicle () const
 Returns if the unit is a police road vehicle. More...
 
bool isPolicePerson () const
 Returns if the unit is a police Person. More...
 
bool isPoliceSEKPerson () const
 Returns if the unit is a police SEK Person. More...
 
bool isPoliceDog () const
 Returns if the unit is a police Dog. More...
 
bool isFireFighterRW () const
 Returns if the unit is a police Person. More...
 
bool isFireFighterDECONP () const
 Returns if the unit is a firefighter DECONP. More...
 
bool isFireFighterDLK () const
 Returns if the unit is a firefighter DLK. More...
 
bool isFireFighterFLB () const
 Returns if the unit is a firefighter FLB. More...
 
bool isFireFighterBoat () const
 Returns if the unit is a firefighter boat transporter. More...
 
bool isFireFighterBoatTransporter () const
 Returns if the unit is a firefighter boat transporter. More...
 
bool isFireFighterCommandoCar () const
 Returns if the unit is a firefighter command car. More...
 
bool isFireFighterDiverTransporter () const
 Returns if the unit is a firefighter diver transporter. More...
 
bool isFireFighterTLF () const
 Returns if the unit is a firefighter TLF. More...
 
bool isFireFighterRoadVehicle () const
 Returns if the unit is a firefighter road vehicle. More...
 
bool isFireFighterPerson () const
 Returns if the unit is a firefighter person. More...
 
bool isFireFighterPersonWithABCSuitActive () const
 Returns if the unit is a firefighter person and wearing a abc suit. More...
 
bool isFireFighterDrone () const
 Returns if the unit is a firefighter drone. More...
 
bool isTechEngineerCar () const
 Returns if the unit is a tech engineer car. More...
 
bool isTechTowcar () const
 Returns if the unit is a tech towcar. More...
 
bool isTechCrane () const
 Returns if the unit is a tech crane. More...
 
bool isMedievalDoctor () const
 Returns if the unit is a historical doctor. More...
 
bool isMedievalGuardsman () const
 Returns if the unit is a historical guardsman. More...
 
bool isUnit (const qsf::NamedIdentifier &unitName) const
 

Detailed Description

EMERGENCY 5 unit helper class.

Constructor & Destructor Documentation

em5::UnitHelper::UnitHelper ( qsf::Entity entity)
explicit
em5::UnitHelper::~UnitHelper ( )

Member Function Documentation

bool em5::UnitHelper::containsGangster ( )

Returns if the unit contains at least one gangster.

bool em5::UnitHelper::containsInjuredPersons ( )

Returns if the unit contains a injured person.

bool em5::UnitHelper::isAmbulanceDoctor ( ) const

Returns if the unit is a Doctor.

bool em5::UnitHelper::isAmbulanceHelicopter ( ) const

Returns if the unit is a ambulance Helicopter.

bool em5::UnitHelper::isAmbulanceIMT ( ) const

Returns if the unit is a ambulance IMT.

bool em5::UnitHelper::isAmbulanceNEF ( ) const

Returns if the unit is a ambulance NEF.

bool em5::UnitHelper::isAmbulanceParamedics ( ) const

Returns if the unit is a Paramedics.

bool em5::UnitHelper::isAmbulanceRescueDog ( ) const

Returns if the unit is a ambulance rescue dog.

bool em5::UnitHelper::isAmbulanceRescueDogLeader ( ) const

Returns if the unit is a ambulance rescue dog leader.

bool em5::UnitHelper::isAmbulanceRoadVehicle ( ) const

Returns if the unit is a ambulance road vehicle.

bool em5::UnitHelper::isAmbulanceRTW ( ) const

Returns if the unit is a ambulance RTW.

bool em5::UnitHelper::isFireFighterBoat ( ) const

Returns if the unit is a firefighter boat transporter.

bool em5::UnitHelper::isFireFighterBoatTransporter ( ) const

Returns if the unit is a firefighter boat transporter.

bool em5::UnitHelper::isFireFighterCommandoCar ( ) const

Returns if the unit is a firefighter command car.

bool em5::UnitHelper::isFireFighterDECONP ( ) const

Returns if the unit is a firefighter DECONP.

bool em5::UnitHelper::isFireFighterDiverTransporter ( ) const

Returns if the unit is a firefighter diver transporter.

bool em5::UnitHelper::isFireFighterDLK ( ) const

Returns if the unit is a firefighter DLK.

bool em5::UnitHelper::isFireFighterDrone ( ) const

Returns if the unit is a firefighter drone.

bool em5::UnitHelper::isFireFighterFLB ( ) const

Returns if the unit is a firefighter FLB.

bool em5::UnitHelper::isFireFighterPerson ( ) const

Returns if the unit is a firefighter person.

bool em5::UnitHelper::isFireFighterPersonWithABCSuitActive ( ) const

Returns if the unit is a firefighter person and wearing a abc suit.

bool em5::UnitHelper::isFireFighterRoadVehicle ( ) const

Returns if the unit is a firefighter road vehicle.

bool em5::UnitHelper::isFireFighterRW ( ) const

Returns if the unit is a police Person.

bool em5::UnitHelper::isFireFighterTLF ( ) const

Returns if the unit is a firefighter TLF.

bool em5::UnitHelper::isMedievalDoctor ( ) const

Returns if the unit is a historical doctor.

bool em5::UnitHelper::isMedievalGuardsman ( ) const

Returns if the unit is a historical guardsman.

bool em5::UnitHelper::isPoliceDog ( ) const

Returns if the unit is a police Dog.

bool em5::UnitHelper::isPoliceDogCar ( ) const

Returns if the unit is a police Dog transport car.

bool em5::UnitHelper::isPoliceMTW ( ) const

Returns if the unit is a police MTW.

bool em5::UnitHelper::isPolicePerson ( ) const

Returns if the unit is a police Person.

bool em5::UnitHelper::isPoliceRoadVehicle ( ) const

Returns if the unit is a police road vehicle.

bool em5::UnitHelper::isPoliceSEKHeli ( ) const

Returns if the unit is a police SEK helicopter.

bool em5::UnitHelper::isPoliceSEKPerson ( ) const

Returns if the unit is a police SEK Person.

bool em5::UnitHelper::isPoliceSEKR ( ) const

Returns if the unit is a police SEK robot.

bool em5::UnitHelper::isPoliceSTW ( ) const

Returns if the unit is a police STW.

bool em5::UnitHelper::isPoliceTSEKR ( ) const

Returns if the unit is a police SEK robot transport vehicle.

bool em5::UnitHelper::isTechCrane ( ) const

Returns if the unit is a tech crane.

bool em5::UnitHelper::isTechEngineerCar ( ) const

Returns if the unit is a tech engineer car.

bool em5::UnitHelper::isTechTowcar ( ) const

Returns if the unit is a tech towcar.

bool em5::UnitHelper::isUnit ( const qsf::NamedIdentifier unitName) const

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