Package ghidra.app.services
Interface DataTypeQueryService
-
- All Known Subinterfaces:
DataTypeManagerService
public interface DataTypeQueryService
Simplified datatype service interface to provide query capabilities to a set of open datatype managers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DataType
getDataType(java.lang.String filterText)
Obtain the preferred datatype which corresponds to the specified datatype specified by filterText.DataTypeManager[]
getDataTypeManagers()
Gets the open data type managers.java.util.List<DataType>
getSortedDataTypeList()
Gets the sorted list of all datatypes known by this service via it's owned DataTypeManagers.
-
-
-
Method Detail
-
getDataTypeManagers
DataTypeManager[] getDataTypeManagers()
Gets the open data type managers.- Returns:
- the open data type managers.
-
getSortedDataTypeList
java.util.List<DataType> getSortedDataTypeList()
Gets the sorted list of all datatypes known by this service via it's owned DataTypeManagers. This method can be called frequently, as the underlying data is indexed and only updated as changes are made.- Returns:
- the sorted list of known data types.
-
getDataType
DataType getDataType(java.lang.String filterText)
Obtain the preferred datatype which corresponds to the specified datatype specified by filterText. A tool-based service provider may prompt the user to select a datatype if more than one possibility exists.- Parameters:
filterText
- If not null, this text filters the visible data types to only show those that start with the given text- Returns:
- the preferred data type (e.g., chosen by the user) or null if no match found or selection was cancelled by user.
-
-