Class UnsupportedMapDB
java.lang.Object
ghidra.program.database.properties.PropertyMapDB<Object>
ghidra.program.database.properties.UnsupportedMapDB
- All Implemented Interfaces:
PropertyMap<Object>
This class provides a dummy map for an unsupported map.
-
Field Summary
Fields inherited from class ghidra.program.database.properties.PropertyMapDB
addrMap, cache, changeMgr, dbHandle, DEFAULT_CACHE_SIZE, errHandler, lock, name, NO_SCHEMA_FIELD_NAMES, NO_SCHEMA_FIELDS, PROPERTY_VALUE_COL, propertyTable, schema, SCHEMA_FIELD_NAMES
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a map-specific value type to the specified addressReturns the property value stored at the specified address or null if no property found.Returns property value class.boolean
hasProperty
(Address addr) returns whether there is a property value at addr.Methods inherited from class ghidra.program.database.properties.PropertyMapDB
createTable, delete, getAddressKeyIterator, getAddressKeyIterator, getAddressKeyIterator, getFirstPropertyAddress, getLastPropertyAddress, getName, getNextPropertyAddress, getPreviousPropertyAddress, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getPropertyIterator, getSize, getTableName, getTableName, intersects, intersects, invalidateCache, moveRange, remove, removeRange, setCacheSize
-
Method Details
-
getValueClass
Description copied from interface:PropertyMap
Returns property value class.- Returns:
- property value class or null for an unsupported map type
-
get
Description copied from interface:PropertyMap
Returns the property value stored at the specified address or null if no property found.- Parameters:
addr
- property address- Returns:
- property value
-
hasProperty
Description copied from interface:PropertyMap
returns whether there is a property value at addr.- Specified by:
hasProperty
in interfacePropertyMap<Object>
- Overrides:
hasProperty
in classPropertyMapDB<Object>
- Parameters:
addr
- the address in question- Returns:
- true if map has value at specified address
-
add
Description copied from interface:PropertyMap
Add a map-specific value type to the specified address- Parameters:
addr
- property addressvalue
- property value or null (null remove value at address)
-