Perform a search over a project or a layout, searching for layout, global or object variables.
More...
#include <EventsVariablesFinder.h>
Perform a search over a project or a layout, searching for layout, global or object variables.
- Todo:
- Rework this class to return the shapes (maybe even types?) of the variables (in particular for structures and arrays), so we can use this for better autocompletions in the variables dialogs in the IDE.
◆ FindAllGlobalVariables()
Construct a list containing the name of all global variables used in the project.
- Parameters
-
project | The project to be scanned |
- Returns
- A std::set containing the names of all global variables used
◆ FindAllLayoutVariables()
Construct a list containing the name of all layout variables used in the layout.
- Parameters
-
project | The project |
layout | The layout to be scanned |
- Returns
- A std::set containing the names of all layout variables used.
◆ FindAllObjectVariables()
Construct a list containing the name of all object variables used in the layout.
- Parameters
-
project | The project |
layout | The layout to use. |
objectName | The name of the object to be scanned |
- Returns
- A std::set containing the names of all object variables used.
The documentation for this class was generated from the following files: