1 // Base class for all options.
2 class Property<string name, string type> {
8 // Sets the description for the property that should be displayed to the user.
9 class Desc<string description> {
10 string Description = description;
13 // Marks the property as global.
19 int DefaultUnsignedValue = 1;
20 bit HasDefaultUnsignedValue = 1;
21 bit HasDefaultBooleanValue = 1;
25 int DefaultUnsignedValue = 0;
26 bit HasDefaultUnsignedValue = 1;
27 bit HasDefaultBooleanValue = 1;
30 // Gives the property a default string value.
31 class DefaultStringValue<string value> {
32 string DefaultStringValue = value;
33 bit HasDefaultStringValue = 1;
36 // Gives the property a default enum value.
37 class DefaultEnumValue<string value> {
38 string DefaultEnumValue = value;
39 bit HasDefaultEnumValue = 1;
42 // Gives the property a default string value.
43 class DefaultUnsignedValue<int value> {
44 int DefaultUnsignedValue = value;
45 bit HasDefaultUnsignedValue = 1;
48 // Gives the property enum values.
49 class EnumValues<string enum> {
50 string EnumValues = enum;