Package cppclassanalyzer.data.typeinfo
Class ClassTypeInfoDB
java.lang.Object
ghidra.program.database.DatabaseObject
cppclassanalyzer.data.typeinfo.ClassTypeInfoDB
- All Implemented Interfaces:
ClassTypeInfo
,TypeInfo
- Direct Known Subclasses:
AbstractClassTypeInfoDB
,ArchivedClassTypeInfo
public abstract class ClassTypeInfoDB extends DatabaseObject implements ClassTypeInfo
A
DatabaseObject
implementation of a ClassTypeInfo
-
Field Summary
Fields Modifier and Type Field Description static long
INVALID_KEY
Fields inherited from class ghidra.program.database.DatabaseObject
key
Fields inherited from interface ghidra.app.cmd.data.rtti.TypeInfo
SYMBOL_NAME, TYPENAME_SYMBOL_NAME
-
Method Summary
Modifier and Type Method Description boolean
checkIsValid()
abstract Map<ClassTypeInfo,Integer>
getBaseOffsets()
Gets a map of this types bases and offsetsabstract long
getClassDataTypeId()
Gets the id for this type's class data typeabstract ClassTypeInfoManager
getManager()
Gets the manager containing this typeabstract ClassTypeInfoDB[]
getParentModels()
Retrieves the Models of this ClassTypeInfo classes base classesStructure
getSuperClassDataType()
Gets this type class data type which is appropriate for inheritingabstract boolean
isModifiable()
Checks if this type is modifiableMethods inherited from class ghidra.program.database.DatabaseObject
checkDeleted, checkIsValid, getKey, isDeleted, isInvalid, keyChanged, refresh, refresh, setInvalid, validate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ghidra.app.cmd.data.rtti.ClassTypeInfo
findVtable, findVtable, getClassDataType, getFullName, getGhidraClass, getRepresentedDataType, getSymbolPath, getUniqueTypeName, getVirtualParents, getVtable, hasParent, isAbstract, isExternal
Methods inherited from interface ghidra.app.cmd.data.rtti.TypeInfo
getAddress, getDataType, getIdentifier, getName, getNamespace, getTypeName
-
Field Details
-
INVALID_KEY
public static final long INVALID_KEY- See Also:
- Constant Field Values
-
-
Method Details
-
getManager
Gets the manager containing this type- Returns:
- the manager containing this type
-
getParentModels
Description copied from interface:ClassTypeInfo
Retrieves the Models of this ClassTypeInfo classes base classes- Specified by:
getParentModels
in interfaceClassTypeInfo
- Returns:
- the parent models
-
getClassDataTypeId
public abstract long getClassDataTypeId()Gets the id for this type's class data type- Returns:
- the class data type's id
-
isModifiable
public abstract boolean isModifiable()Checks if this type is modifiable- Returns:
- true if this type is modifiable
-
getBaseOffsets
Gets a map of this types bases and offsets- Returns:
- a map of bases to offsets
-
getSuperClassDataType
Gets this type class data type which is appropriate for inheriting- Returns:
- an inheritable form of the class data type
-
checkIsValid
public boolean checkIsValid()- Overrides:
checkIsValid
in classDatabaseObject
-