Class IntPropertyMapDB
java.lang.Object
ghidra.program.database.DatabaseObject
ghidra.program.database.properties.PropertyMapDB<Integer>
ghidra.program.database.properties.IntPropertyMapDB
- All Implemented Interfaces:
- IntPropertyMap,- PropertyMap<Integer>
Property manager that deals with properties that are of
 int type and stored with a database table.
- 
Field SummaryFields inherited from class ghidra.program.database.properties.PropertyMapDBaddrMap, cache, changeMgr, dbHandle, DEFAULT_CACHE_SIZE, errHandler, lock, name, NO_SCHEMA_FIELD_NAMES, NO_SCHEMA_FIELDS, PROPERTY_VALUE_COL, propertyTable, schema, SCHEMA_FIELD_NAMESFields inherited from class ghidra.program.database.DatabaseObjectkey
- 
Constructor SummaryConstructorsConstructorDescriptionIntPropertyMapDB(DBHandle dbHandle, OpenMode openMode, ErrorHandler errHandler, ChangeManager changeMgr, AddressMap addrMap, String name, TaskMonitor monitor) Construct a integer property map.
- 
Method SummaryMethods inherited from class ghidra.program.database.properties.PropertyMapDBcreateTable, delete, getAddressKeyIterator, getAddressKeyIterator, getAddressKeyIterator, getFirstPropertyAddress, getLastPropertyAddress, getName, getNextPropertyAddress, getPreviousPropertyAddress, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getSize, getTableName, getTableName, hasProperty, intersects, intersects, invalidate, moveRange, refresh, remove, removeRange, setCacheSize, validateMethods inherited from class ghidra.program.database.DatabaseObjectcheckDeleted, checkIsValid, checkIsValid, getKey, isDeleted, isInvalid, keyChanged, refresh, setDeleted, setInvalidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.program.model.util.IntPropertyMapadd, getValueClassMethods inherited from interface ghidra.program.model.util.PropertyMapgetFirstPropertyAddress, getLastPropertyAddress, getName, getNextPropertyAddress, getPreviousPropertyAddress, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getSize, hasProperty, intersects, intersects, moveRange, remove, removeRange
- 
Constructor Details- 
IntPropertyMapDBpublic IntPropertyMapDB(DBHandle dbHandle, OpenMode openMode, ErrorHandler errHandler, ChangeManager changeMgr, AddressMap addrMap, String name, TaskMonitor monitor) throws VersionException, CancelledException, IOException Construct a integer property map.- Parameters:
- dbHandle- database handle.
- openMode- the mode that the program was openned in or null if instantiated during cache invalidate. Used to detect versioning error only.
- errHandler- database error handler.
- changeMgr- change manager for event notification
- addrMap- address map.
- name- property name.
- monitor- progress monitor that is only used when upgrading
- Throws:
- VersionException- if the database version is not the expected version.
- CancelledException- if the user cancels the upgrade operation.
- IOException- if a database io error occurs.
 
 
- 
- 
Method Details- 
addDescription copied from interface:IntPropertyMapAdd an int value at the specified address.- Specified by:
- addin interface- IntPropertyMap
- Parameters:
- addr- address for the property
- value- value of the property
 
- 
getIntDescription copied from interface:IntPropertyMapGet the integer value at the given address.- Specified by:
- getIntin interface- IntPropertyMap
- Parameters:
- addr- the address from where to get the int value
- Returns:
- integer property value
- Throws:
- NoValueException- if there is no property value at addr.
 
- 
getDescription copied from interface:PropertyMapReturns the property value stored at the specified address or null if no property found.- Specified by:
- getin interface- PropertyMap<Integer>
- Parameters:
- addr- property address
- Returns:
- property value
 
 
-