| Index: Source/bindings/scripts/utilities.py
|
| diff --git a/Source/bindings/scripts/utilities.py b/Source/bindings/scripts/utilities.py
|
| index 687e603caf942774348e4f7267b1fb2ea0284065..2eea32df34baa641a2ce5d772f836c710338f3f4 100644
|
| --- a/Source/bindings/scripts/utilities.py
|
| +++ b/Source/bindings/scripts/utilities.py
|
| @@ -65,6 +65,10 @@ class ComponentInfoProvider(object):
|
| return {}
|
|
|
| @property
|
| + def enumerations(self):
|
| + return {}
|
| +
|
| + @property
|
| def union_types(self):
|
| return set()
|
|
|
| @@ -84,6 +88,10 @@ class ComponentInfoProviderCore(ComponentInfoProvider):
|
| return self._component_info
|
|
|
| @property
|
| + def enumerations(self):
|
| + return self._component_info['enumerations']
|
| +
|
| + @property
|
| def union_types(self):
|
| return self._component_info['union_types']
|
|
|
| @@ -105,6 +113,12 @@ class ComponentInfoProviderModules(ComponentInfoProvider):
|
| return self._component_info_modules
|
|
|
| @property
|
| + def enumerations(self):
|
| + enums = self._component_info_core['enumerations'].copy()
|
| + enums.update(self._component_info_modules['enumerations'])
|
| + return enums
|
| +
|
| + @property
|
| def union_types(self):
|
| # Remove duplicate union types from component_info_modules to avoid
|
| # generating multiple container generation.
|
|
|