Package ghidra.trace.model.symbol
Interface TraceSymbolNoDuplicatesView<T extends TraceSymbol>
- Type Parameters:
T- the type of symbols in the view
- All Superinterfaces:
TraceSymbolView<T>
- All Known Subinterfaces:
TraceClassSymbolView,TraceNamespaceSymbolView,TraceSymbolWithAddressNoDuplicatesView<T>
- All Known Implementing Classes:
DBTraceClassSymbolView,DBTraceNamespaceSymbolView,DBTraceSymbolMultipleTypesNoDuplicatesView,DBTraceSymbolMultipleTypesWithAddressNoDuplicatesView
A symbol view where names cannot be duplicated within the same parent namespace
-
Method Summary
Modifier and TypeMethodDescriptiondefault TgetChildNamed(String name, TraceNamespaceSymbol parent) Get the child of the given parent having the given name.default TgetGlobalNamed(String name) A shorthand forgetChildNamed(String, TraceNamespaceSymbol)where parent is the global namespace.Methods inherited from interface ghidra.trace.model.symbol.TraceSymbolView
getAll, getChildren, getChildrenNamed, getGlobals, getGlobalsNamed, getManager, getNamed, getTrace, getWithMatchingName, scanByName, size
-
Method Details
-
getChildNamed
Get the child of the given parent having the given name.- Parameters:
name- the name of the symbolparent- the parent namespace- Returns:
- the symbol, or null
-
getGlobalNamed
A shorthand forgetChildNamed(String, TraceNamespaceSymbol)where parent is the global namespace.- Parameters:
name- the name of the symbol- Returns:
- the symbol, or null
-