Package ghidra.program.model.listing
Interface DataTypeArchive
- All Superinterfaces:
DataTypeManagerDomainObject
,DataTypeManagerOwner
,DomainObject
- All Known Implementing Classes:
DataTypeArchiveDB
This interface represents the main entry point into an object which
stores all information relating to a single data type archive.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Name of ghidra version propertystatic final String
Name of data type archive information property liststatic final String
Name of data type archive settings property liststatic final String
Name of date created propertystatic final Date
A date from January 1, 1970Fields inherited from interface ghidra.framework.model.DomainObject
DO_DOMAIN_FILE_CHANGED, DO_OBJECT_CLOSED, DO_OBJECT_ERROR, DO_OBJECT_RENAMED, DO_OBJECT_RESTORED, DO_OBJECT_SAVED, DO_PROPERTY_CHANGED, undoLock
-
Method Summary
Modifier and TypeMethodDescriptionGet the data type archive changes since the last save as a set of addresses.Returns the creation date of this data type archive or Jan 1, 1970 if unknown..Returns the associated standalone data type manager..int
Returns the default pointer size as it may be stored within the data type archive..void
Invalidates any caching in a data type archive.Methods inherited from interface ghidra.framework.model.DomainObject
addCloseListener, addConsumer, addDomainFileListener, addListener, addSynchronizedDomainObject, addTransactionListener, canLock, canRedo, canSave, canUndo, clearUndo, createPrivateEventQueue, endTransaction, flushEvents, flushPrivateEventQueue, forceLock, getAllRedoNames, getAllUndoNames, getConsumerList, getCurrentTransactionInfo, getDescription, getDomainFile, getMetadata, getModificationNumber, getName, getOptions, getOptionsNames, getRedoName, getSynchronizedDomainObjects, getUndoName, hasExclusiveAccess, hasTerminatedTransaction, isChangeable, isChanged, isClosed, isLocked, isSendingEvents, isTemporary, isUsedBy, lock, openTransaction, redo, release, releaseSynchronizedDomainObject, removeCloseListener, removeDomainFileListener, removeListener, removePrivateEventQueue, removeTransactionListener, save, saveToPackedFile, setEventsEnabled, setName, setTemporary, startTransaction, startTransaction, undo, unlock, withTransaction, withTransaction
-
Field Details
-
DATA_TYPE_ARCHIVE_INFO
Name of data type archive information property list- See Also:
-
DATA_TYPE_ARCHIVE_SETTINGS
Name of data type archive settings property list- See Also:
-
DATE_CREATED
Name of date created property- See Also:
-
CREATED_WITH_GHIDRA_VERSION
Name of ghidra version property- See Also:
-
JANUARY_1_1970
A date from January 1, 1970
-
-
Method Details
-
getDataTypeManager
StandAloneDataTypeManager getDataTypeManager()Returns the associated standalone data type manager..- Specified by:
getDataTypeManager
in interfaceDataTypeManagerOwner
- Returns:
- the associated standalone data type manager.
-
getDefaultPointerSize
int getDefaultPointerSize()Returns the default pointer size as it may be stored within the data type archive..- Returns:
- the default pointer size as it may be stored within the data type archive.
-
getCreationDate
Date getCreationDate()Returns the creation date of this data type archive or Jan 1, 1970 if unknown..- Returns:
- the creation date of this data type archive or Jan 1, 1970 if unknown.
-
getChanges
DataTypeArchiveChangeSet getChanges()Get the data type archive changes since the last save as a set of addresses.- Returns:
- set of changed addresses within program.
-
invalidate
void invalidate()Invalidates any caching in a data type archive. NOTE: Over-using this method can adversely affect system performance.
-