SettingsManagerService
public struct SettingsManagerService : Codable, Equatable
A struct that is used as the top level container of a model used to decode Settings JSON data.
The struct matches the structure of the Settings JSON exactly and is not currently used to service a struct that models the JSON differently. It embeds nested structs representing arrays in the JSON data.
Note
Unlike the other JSON service structs in the framework this struct names the properties the same as the keys in the JSON to avoid the requirement for CodingKey enums. The simplicity of the Settings JSON structure allows the struct to take advantage of the Codable protocol automatic key generation feature.The properties are settable variables so that settings can be changed programmatically during the run of a client application – this feature is designed specifically for use during unit testing.
-
A Bool mapped to the
suppressAllClarityLogskey in the Settings JSON data.Declaration
Swift
var suppressAllClarityLogs: Bool -
A Bool mapped to the
printAllClarityLogskey in the Settings JSON dataDeclaration
Swift
var printAllClarityLogs: Bool -
A Bool mapped to the
logFunctionNamesOnlykey in the Settings JSON dataDeclaration
Swift
var logFunctionNamesOnly: Bool -
A Bool mapped to the
logIsolatedPrintNumbersOnlykey in the Settings JSON dataDeclaration
Swift
var logIsolatedPrintNumbersOnly: Bool -
A Bool mapped to the
isolatedPrintNumberskey in the Settings JSON dataDeclaration
Swift
var isolatedPrintNumbers: [Int] -
A Bool mapped to the
suppressLogFunctionNameskey in the Settings JSON dataDeclaration
Swift
var suppressLogFunctionNames: Bool -
A Bool mapped to the
isolatedEntitieskey in the Settings JSON dataDeclaration
Swift
var isolatedEntities: [IsolatedEntity] -
A Bool mapped to the
isolatedFunctionskey in the Settings JSON dataDeclaration
Swift
var isolatedFunctions: [IsolatedFunction] -
A Bool mapped to the
calculateFunctionNumbersRelativeToEntitykey in the Settings JSON dataDeclaration
Swift
var calculateFunctionNumbersRelativeToEntity: Bool -
A Bool mapped to the
calculateNodeNumbersRelativeToFunctionkey in the Settings JSON dataDeclaration
Swift
var calculateNodeNumbersRelativeToFunction: Bool -
A Bool mapped to the
displayNodePrintNumberWhenUsingRelativeNumberingkey in the Settings JSON dataDeclaration
Swift
var displayNodePrintNumberWhenUsingRelativeNumbering: Bool -
A Bool mapped to the
displayNodeSequenceWithoutDescriptionskey in the Settings JSON dataDeclaration
Swift
var displayNodeSequenceWithoutDescriptions: Bool -
A Bool mapped to the
listAllUsedPrintNumberskey in the Settings JSON dataDeclaration
Swift
var listAllUsedPrintNumbers: Bool -
A Bool mapped to the
listAllUsedPrintNumbersByEntityCodekey in the Settings JSON dataDeclaration
Swift
var listAllUsedPrintNumbersByEntityCode: Bool -
A Bool mapped to the
listHighestUsedPrintNumberkey in the Settings JSON dataDeclaration
Swift
var listHighestUsedPrintNumber: Bool -
A Bool mapped to the
alertOrphanedPrintNumbersDetectedkey in the Settings JSON dataDeclaration
Swift
var alertOrphanedPrintNumbersDetected: Bool -
A struct embedded inside an
SettingsManagerServicestruct that is used as a nested layer within an intermediate service model used to decode Settings JSON data.The struct models an array of JSON objects mapped to the
See moreisolatedEntitieskey in the Settings JSON data.Declaration
Swift
public struct IsolatedEntity : Codable, Equatable -
A struct embedded inside an
SettingsManagerServicestruct that is used as a nested layer within an intermediate service model used to decode Settings JSON data.The struct models an array of JSON objects mapped to the
See moreisolatedFunctionskey in the Settings JSON data.Declaration
Swift
public struct IsolatedFunction : Codable, Equatable
SettingsManagerService Structure Reference