|
IDA C++ SDK 9.2
|
Opaque handle owning a set of search results returned by the indexer. More...
#include <indexer.hpp>
Public Member Functions | |
| virtual | ~search_result_data_t () |
| virtual size_t | size () const =0 |
| Number of results. | |
| virtual std::string_view | get_name (size_t index) const =0 |
Name of result at index. | |
| virtual const qstring & | get_name_str (size_t index) const =0 |
Name of result at index, as a qstring reference. | |
| virtual int | get_score (size_t index) const =0 |
Match score of result at index, in percent [0, 100]. | |
| virtual ea_t | get_ea (size_t index) const =0 |
Effective address of result at index, or BADADDR for local types. | |
| virtual nodeidx_t | get_netnode_idx (size_t index) const =0 |
Netnode index of result at index. | |
| virtual int | get_ltype_ordinal (size_t index) const =0 |
Local type ordinal of result at index, or 0 if not a local type. | |
| virtual type_t | get_ltype_type (size_t index) const =0 |
BT_* type code of the local type at index (valid when get_ltype_ordinal() != 0). | |
| virtual subindex_typeid_t | get_subindex (size_t index) const =0 |
Sub-index that produced result at index (e.g. SUBIDX_FUNCTIONS). | |
| virtual size_t | get_match_ranges_count (size_t index) const =0 |
Number of matched character ranges for result at index. | |
| virtual match_range_t | get_match_range (size_t index, size_t range_idx) const =0 |
Returns the range_idx'th matched range for result at index. | |
| virtual match_range_t | get_match_line_range (size_t index) const |
| For function-comment results, the range within get_name_str() that holds the matched comment line. | |
| bool | empty () const |
Opaque handle owning a set of search results returned by the indexer.
The caller is responsible for deleting the object. Results are accessed by index in [0, size()).
|
inlinevirtual |
|
pure virtual |
Number of results.
|
pure virtual |
Name of result at index.
|
pure virtual |
Name of result at index, as a qstring reference.
|
pure virtual |
Match score of result at index, in percent [0, 100].
|
pure virtual |
Effective address of result at index, or BADADDR for local types.
|
pure virtual |
Netnode index of result at index.
|
pure virtual |
Local type ordinal of result at index, or 0 if not a local type.
|
pure virtual |
BT_* type code of the local type at index (valid when get_ltype_ordinal() != 0).
|
pure virtual |
Sub-index that produced result at index (e.g. SUBIDX_FUNCTIONS).
|
pure virtual |
Number of matched character ranges for result at index.
|
pure virtual |
Returns the range_idx'th matched range for result at index.
|
inlinevirtual |
For function-comment results, the range within get_name_str() that holds the matched comment line.
Returns {0, 0} for all other result types.
|
inline |