A property choice, as found in entity properties of type “choices”.
-
__init__(value, display_name)[source]
Creates an instance of FgdEntityPropertyChoice.
- Parameters:
-
-
__repr__()[source]
A full, printable representation of a FgdEntityPropertyChoice.
- Returns:
A Python formated string.
- Return type:
str
-
property schema
A schematic view of this property choice.
- Returns:
A dictionary
- Return type:
dict
-
property value
The choice’s value.
- Return type:
str
-
property display_name
The choice’s display name.
- Return type:
str
-
fgd_str()[source]
A string representation of the property choice
formated as in the a .fgd file.
- Returns:
Fgd formated string.
- Return type:
str