ITT Rule IDL Version 7.0 Manual de usuario Pagina 185

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 430
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 184
Chapter 7: Creating an Operation 185
iTool Developer’s Guide Unregistering an Operation
Alternatively, to generate a list of relative identifiers for all operations registered with
the current tool, use the following statements:
void = ITGETCURRENT(TOOL=oTool)
opslist = oTool->FindIdentifiers(/OPERATIONS)
FOR i = 0, N_ELEMENTS(opslist)-1 DO PRINT, $
STRMID(opslist[i], STRPOS(opslist[i], '/OPERATIONS', $
/REVERSE_SEARCH)+1)
Note that the string in the call to STRPOS must be in upper case.
To refine the search so that only operations in the “Transform” folder are found,
specify a search term as the argument to the FindIdentifiers method:
void = ITGETCURRENT(TOOL=oTool)
opslist = oTool->FindIdentifiers('*transform*', /OPERATIONS)
FOR i = 0, N_ELEMENTS(opslist)-1 DO PRINT, $
STRMID(opslist[i], STRPOS(opslist[i], '/OPERATIONS', $
/REVERSE_SEARCH)+1)
See “IDLitTool::FindIdentifiers” (IDL Reference Guide) for details.
Vista de pagina 184
1 2 ... 180 181 182 183 184 185 186 187 188 189 190 ... 429 430

Comentarios a estos manuales

Sin comentarios