Package ghidra.trace.database.symbol
Class DBTraceSymbolMultipleTypesView<T extends AbstractDBTraceSymbol>
java.lang.Object
ghidra.trace.database.symbol.DBTraceSymbolMultipleTypesView<T>
- All Implemented Interfaces:
TraceSymbolView<T>
- Direct Known Subclasses:
DBTraceSymbolMultipleTypesNoDuplicatesView,DBTraceSymbolMultipleTypesWithAddressView,DBTraceSymbolMultipleTypesWithLocationView
public class DBTraceSymbolMultipleTypesView<T extends AbstractDBTraceSymbol>
extends Object
implements TraceSymbolView<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DBTraceSymbolManagerprotected final Collection<? extends AbstractDBTraceSymbolSingleTypeView<? extends T>> -
Constructor Summary
ConstructorsConstructorDescriptionDBTraceSymbolMultipleTypesView(DBTraceSymbolManager manager, AbstractDBTraceSymbolSingleTypeView<? extends T>... parts) DBTraceSymbolMultipleTypesView(DBTraceSymbolManager manager, Collection<? extends AbstractDBTraceSymbolSingleTypeView<? extends T>> parts) -
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends T> getAll(boolean includeDynamicSymbols) Get all the symbols in this view.Collection<? extends T> getChildren(TraceNamespaceSymbol parent) Get all children of the given parent namespace in this view.Collection<? extends T> getChildrenNamed(String name, TraceNamespaceSymbol parent) Get all children of the given parent namespace having the given name in this view.Get the symbol manager for the trace.Collection<? extends T> Get symbols in this view with the given name, regardless of parent namespaceCollection<? extends T> getWithMatchingName(String glob, boolean caseSensitive) Get symbols in this view whose names match the given glob, regardless of parent namespacescanByName(String startName) Scan symbols in this view lexicographically by name starting at the given lower boundMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.trace.model.symbol.TraceSymbolView
getGlobals, getGlobalsNamed, getTrace, size
-
Field Details
-
manager
-
parts
protected final Collection<? extends AbstractDBTraceSymbolSingleTypeView<? extends T extends AbstractDBTraceSymbol>> parts
-
-
Constructor Details
-
DBTraceSymbolMultipleTypesView
public DBTraceSymbolMultipleTypesView(DBTraceSymbolManager manager, Collection<? extends AbstractDBTraceSymbolSingleTypeView<? extends T>> parts) -
DBTraceSymbolMultipleTypesView
@SafeVarargs public DBTraceSymbolMultipleTypesView(DBTraceSymbolManager manager, AbstractDBTraceSymbolSingleTypeView<? extends T>... parts)
-
-
Method Details
-
getManager
Description copied from interface:TraceSymbolViewGet the symbol manager for the trace.- Specified by:
getManagerin interfaceTraceSymbolView<T extends AbstractDBTraceSymbol>- Returns:
- the symbol manager
-
getAll
Description copied from interface:TraceSymbolViewGet all the symbols in this view.- Specified by:
getAllin interfaceTraceSymbolView<T extends AbstractDBTraceSymbol>- Parameters:
includeDynamicSymbols- true to include dynamically-generated symbols- Returns:
- the symbols in this view satisfying the query
-
getChildrenNamed
Description copied from interface:TraceSymbolViewGet all children of the given parent namespace having the given name in this view.- Specified by:
getChildrenNamedin interfaceTraceSymbolView<T extends AbstractDBTraceSymbol>- Parameters:
name- the name of the symbolsparent- the parent namespace- Returns:
- the symbols in this view satisfying the query
-
getChildren
Description copied from interface:TraceSymbolViewGet all children of the given parent namespace in this view.- Specified by:
getChildrenin interfaceTraceSymbolView<T extends AbstractDBTraceSymbol>- Parameters:
parent- the parent namespace- Returns:
- the symbols in this view satisfying the query
-
getNamed
Description copied from interface:TraceSymbolViewGet symbols in this view with the given name, regardless of parent namespace- Specified by:
getNamedin interfaceTraceSymbolView<T extends AbstractDBTraceSymbol>- Parameters:
name- the name of the symbols- Returns:
- the symbols in this view satisfying the query
-
getWithMatchingName
Description copied from interface:TraceSymbolViewGet symbols in this view whose names match the given glob, regardless of parent namespace- Specified by:
getWithMatchingNamein interfaceTraceSymbolView<T extends AbstractDBTraceSymbol>- Parameters:
glob- the glob (* matches zero-or-more, ? matches one character)caseSensitive- true to match case- Returns:
- the symbols in this view satisfying the query
-
scanByName
Description copied from interface:TraceSymbolViewScan symbols in this view lexicographically by name starting at the given lower bound- Specified by:
scanByNamein interfaceTraceSymbolView<T extends AbstractDBTraceSymbol>- Parameters:
startName- the starting lower bound- Returns:
- an iterator over symbols in this view satisfying the query
-