Class DBTraceNamespaceSymbolView
java.lang.Object
ghidra.trace.database.symbol.AbstractDBTraceSymbolSingleTypeView<DBTraceNamespaceSymbol>
ghidra.trace.database.symbol.DBTraceNamespaceSymbolView
- All Implemented Interfaces:
TraceNamespaceSymbolView, TraceSymbolNoDuplicatesView<TraceNamespaceSymbol>, TraceSymbolView<TraceNamespaceSymbol>
public class DBTraceNamespaceSymbolView
extends AbstractDBTraceSymbolSingleTypeView<DBTraceNamespaceSymbol>
implements TraceNamespaceSymbolView
-
Field Summary
Fields inherited from class AbstractDBTraceSymbolSingleTypeView
manager, store, symbolsByName, symbolsByParentID, typeID, view -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(String name, TraceNamespaceSymbol parent, SourceType source) Add a new namespace symbol.protected Collection<DBTraceNamespaceSymbol> Methods inherited from class AbstractDBTraceSymbolSingleTypeView
getAll, getByKey, getChildren, getChildrenNamed, getManager, getNamed, getWithMatchingName, invalidateCache, scanByNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface TraceSymbolNoDuplicatesView
getChildNamed, getGlobalNamedMethods inherited from interface TraceSymbolView
getAll, getChildren, getChildrenNamed, getGlobals, getGlobalsNamed, getManager, getNamed, getTrace, getWithMatchingName, scanByName, size
-
Constructor Details
-
DBTraceNamespaceSymbolView
-
-
Method Details
-
add
public DBTraceNamespaceSymbol add(String name, TraceNamespaceSymbol parent, SourceType source) throws DuplicateNameException, InvalidInputException Description copied from interface:TraceNamespaceSymbolViewAdd a new namespace symbol.- Specified by:
addin interfaceTraceNamespaceSymbolView- Parameters:
name- the name of the namespaceparent- the parent namespacesource- the source- Returns:
- the new namespace symbol
- Throws:
DuplicateNameException- if the name is duplicated in the parent namespaceInvalidInputException- if the name is not valid
-
constructView
- Overrides:
constructViewin classAbstractDBTraceSymbolSingleTypeView<DBTraceNamespaceSymbol>
-