QueryAllTasks Task
This task returns a hash where each key is the task name and each task name key contains a hash of the task's properties.
Example
; Start the application
e = ENVI(/HEADLESS)
; Get the task from the catalog of ENVITasks
Task = ENVITask('QueryAllTasks')
; Return only the ENVI tasks that
; compute convolution filters
Task.FILTER_TAGS = ['ENVI', 'Convolution Filters']
; Run the task
Task.Execute
; Print the tasks and parameters
Print, Task.TASK_DEFINITIONS
Syntax
Result = ENVITask('QueryAllTasks')
Input parameters (Set, Get): FILTER_TAGS
Output parameters (Get only): TASK_DEFINITIONS
Parameters marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Parameters marked as "Get" are those whose values you can retrieve but not set.
Input Parameters
FILTER_TAGS (optional)
Set this parameter to an array of tags used to filter the queried tasks. ENVIQueryAllTasksTask returns tasks that meet the criteria for all specified tags, not just some of them. The tags are not case-sensitive. If no results are found, TASK_DEFINITIONS returns a value of !NULL.
Output Parameters
TASK_DEFINITIONS
An ENVITaskCatalog hash that describes all tasks and their properties that meet the query criteria.
Methods
Properties
Version History
|
ENVI 5.3. 2 |
Introduced |
|
ENVI 5.5.1 |
Added the FILTER_TAGS parameter |