SYHazmatSettings Class Reference

Represents a set of options related to hazardous material cargo. More...

#import <SYHazmatSettings.h>

Inheritance diagram for SYHazmatSettings:
Collaboration diagram for SYHazmatSettings:

Instance Methods

(nonnull instancetype) - init
 Initializes SYHazmatSettings with all classes set to false, tunnel category set to none. More...
 
(nonnull instancetype) - initWithIsGeneralHazardousMaterial:isExplosiveMaterial:isGoodsHarmfulToWater:
 Initializes SYHazmatSettings with a combination of selected presets. More...
 

Class Methods

(nonnull instancetype) + new
 Initializes SYHazmatSettings with all classes set to false, tunnel category set to none. More...
 

Properties

BOOL class1
 Class 1 - explosives. More...
 
BOOL class2
 Class 2 - flammable, compressed, and poisonous gases. More...
 
BOOL class3
 Class 3 - flammable and compressed liquids. More...
 
BOOL class4
 Class 4 - flammable solids, spontaneously combustible materials, and water reactive substances. More...
 
BOOL class5
 Class 5 - oxidizers and organic peroxides. More...
 
BOOL class6
 Class 6 - poisonous (toxic) and infectious substances. More...
 
BOOL class7
 Class 7 - radioactive materials. More...
 
BOOL class8
 Class 8 - corrosive materials. More...
 
BOOL class9
 Class 9 - miscellaneous hazardous materials. More...
 
BOOL classI
 Class I - poisonous inhalation hazards. More...
 
SYHazmatTunnelCategory tunnelCategory
 Represents selected tunnel category. More...
 

Detailed Description

Represents a set of options related to hazardous material cargo.

Method Documentation

◆ init

- (nonnull instancetype) init

Initializes SYHazmatSettings with all classes set to false, tunnel category set to none.

◆ new

+ (nonnull instancetype) new

Initializes SYHazmatSettings with all classes set to false, tunnel category set to none.

◆ initWithIsGeneralHazardousMaterial:isExplosiveMaterial:isGoodsHarmfulToWater:

- (nonnull instancetype) initWithIsGeneralHazardousMaterial: (BOOL)  isGeneralHazardousMaterial
isExplosiveMaterial: (BOOL)  isExplosiveMaterial
isGoodsHarmfulToWater: (BOOL)  isGoodsHarmfulToWater 

Initializes SYHazmatSettings with a combination of selected presets.

Parameters
isGeneralHazardousMaterialRestrictions: class 1-9, I, tunnel category E.
isExplosiveMaterialRestrictions: class 1-5, tunnel category E.
isGoodsHarmfulToWaterRestrictions: class 3-6, 8, 9, tunnel category E.

Property Documentation

◆ class1

- (BOOL) class1
readwritenonatomicassign

Class 1 - explosives.

◆ class2

- (BOOL) class2
readwritenonatomicassign

Class 2 - flammable, compressed, and poisonous gases.

◆ class3

- (BOOL) class3
readwritenonatomicassign

Class 3 - flammable and compressed liquids.

◆ class4

- (BOOL) class4
readwritenonatomicassign

Class 4 - flammable solids, spontaneously combustible materials, and water reactive substances.

◆ class5

- (BOOL) class5
readwritenonatomicassign

Class 5 - oxidizers and organic peroxides.

◆ class6

- (BOOL) class6
readwritenonatomicassign

Class 6 - poisonous (toxic) and infectious substances.

◆ class7

- (BOOL) class7
readwritenonatomicassign

Class 7 - radioactive materials.

◆ class8

- (BOOL) class8
readwritenonatomicassign

Class 8 - corrosive materials.

◆ class9

- (BOOL) class9
readwritenonatomicassign

Class 9 - miscellaneous hazardous materials.

◆ classI

- (BOOL) classI
readwritenonatomicassign

Class I - poisonous inhalation hazards.

◆ tunnelCategory

- (SYHazmatTunnelCategory) tunnelCategory
readwritenonatomicassign

Represents selected tunnel category.


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