KDIS  2-8-x
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
EnumSupply.h File Reference
#include "./EnumDescriptor.h"
Include dependency graph for EnumSupply.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 KDIS
 
 KDIS::DATA_TYPE
 
 KDIS::DATA_TYPE::ENUMS
 

Enumerations

enum  RepairResult {
  OtherRepairResult = 0, RepairEnded = 1, InvalidRepair = 2, RepairInterrupted = 3,
  ServiceCanceledByTheSupplier = 4
}
 
enum  RepairTypePerformed {
  NoRepairsPerformed = 0, AllRequestedRepairsPerformed = 1, Motor_Engine = 10, Starter = 20,
  Alternator = 30, Generator = 40, Battery = 50, Engine_CoolantLeak = 60,
  FuelFilter = 70, Transmission_OilLeak = 80, Engine_OilLeak = 90, Pumps = 100,
  Filters = 110, Transmission = 120, Brakes = 130, SuspensionSystem = 140,
  OilFilter = 150, Hull = 1000, AirFrame = 1010, TruckBody = 1020,
  TankBody = 1030, TrailerBody = 1040, Turret = 1050, Propeller = 1500,
  Filters1 = 1520, Wheels = 1540, Tire = 1550, Track = 1560,
  GunElevationDrive = 2000, GunStabilizationSystem = 2010, GunnersPrimarySight_GPS = 2020, CommandersExtensionToTheGPS = 2030,
  LoadingMechanism = 2040, GunnersAuxiliarySight = 2050, GunnersControlPanel = 2060, GunnersControlAssemblyHandle = 2070,
  CommandersControlHandles_Assembly = 2090, CommandersWeaponStation = 2100, CommandersIndependentThermalViewer_CITV = 2110, GeneralWeapons = 2120,
  FuelTransferPump = 4000, FuelLines = 4010, Gauges = 4020, GeneralFuelSystem = 4030,
  ElectronicWarfareSystems = 4500, DdetectionSystems = 4600, RadioFrequency = 4610, Microwave = 4620,
  Infrared = 4630, Laser = 4640, RangeFinders = 4700, Range_OnlyRadar = 4710,
  LaserRangeFinder = 4720, ElectronicSystems = 4800, RadioFrequency1 = 4810, Microwave1 = 4820,
  Infrared1 = 4830, Laser1 = 4840, Radios = 5000, CommunicationSystems = 5010,
  Intercoms = 5100, Encoders = 5200, Encryptiondevices = 5250, Decoders = 5300,
  DecryptionDevices = 5350, Computers = 5500, NavigationAndControlSystems = 6000, FireControlSystems = 6500,
  AirSupply = 8000, Filters2 = 8010, WaterSupply = 8020, RefrigerationSystem = 8030,
  Chemical_Biological_RadiologicalProtection = 8040, WaterWashDownSystems = 8050, DecontaminationSystems = 8060, WaterSupply1 = 9000,
  CoolingSystem = 9010, Winches = 9020, Catapults = 9030, Cranes = 9040,
  Launchers = 9050, Lifeboats = 10000, LandingCraft = 10010, EjectionSeats = 10020
}
 
enum  ServiceTypeRequested { OtherRequest = 0, Resupply = 1, Repair = 2 }
 

Functions

KString GetEnumAsStringRepairResult (KINT32 Value)
 
KString GetEnumAsStringRepairTypePerformed (KINT32 Value)
 
KString GetEnumAsStringServiceTypeRequested (KINT32 Value)
 
KBOOL GetEnumFromStringRepairResult (const KString &Value, KINT32 &ValueOut)
 
KBOOL GetEnumFromStringRepairTypePerformed (const KString &Value, KINT32 &ValueOut)
 
KBOOL GetEnumFromStringServiceTypeRequested (const KString &Value, KINT32 &ValueOut)