BoolString

MacroModule
genre Fields
author MeVis Medical Solutions AG
package MeVisLab/Standard
definition helpers.def
see also BoolInt, Negation
keywords boolean, field, translation

Purpose

The module BoolString translates between a Boolean and a string value.

Windows

Default Panel

../../../Modules/Macros/Helpers/mhelp/Images/Screenshots/BoolString._default.png

Parameter Fields

Field Index

Boolean value: Bool
Default Bool: Enum
Off Value: String
On Value: String
String Value: String

Visible Fields

Boolean value

name: boolValue, type: Bool, default: FALSE

Sets and shows the Boolean value.

String Value

name: stringValue, type: String, default: Off

Shows and sets the string value in association to the Boolean value.

Off Value

name: offValue, type: String, default: Off

Sets the string value to be associated with the Boolean value being false.

On Value

name: onValue, type: String, default: On

Sets the string value to be associated with the Boolean value being true.

Default Bool

name: defaultBool, type: Enum, default: Unchanged

Defines which Boolean value should be set if the String Value is set to something else than the on or off value.

Values:

Title Name Deprecated Name
Unchanged Unchanged UNCHANGED
Off Off OFF
On On ON