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 longINVALID_KEYFields inherited from class ghidra.program.database.DatabaseObject
keyFields inherited from interface ghidra.app.cmd.data.rtti.TypeInfo
SYMBOL_NAME, TYPENAME_SYMBOL_NAME -
Method Summary
Modifier and Type Method Description booleancheckIsValid()abstract Map<ClassTypeInfo,Integer>getBaseOffsets()Gets a map of this types bases and offsetsabstract longgetClassDataTypeId()Gets the id for this type's class data typeabstract ClassTypeInfoManagergetManager()Gets the manager containing this typeabstract ClassTypeInfoDB[]getParentModels()Retrieves the Models of this ClassTypeInfo classes base classesStructuregetSuperClassDataType()Gets this type class data type which is appropriate for inheritingabstract booleanisModifiable()Checks if this type is modifiableMethods inherited from class ghidra.program.database.DatabaseObject
checkDeleted, checkIsValid, getKey, isDeleted, isInvalid, keyChanged, refresh, refresh, setInvalid, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ghidra.app.cmd.data.rtti.ClassTypeInfo
findVtable, findVtable, getClassDataType, getFullName, getGhidraClass, getRepresentedDataType, getSymbolPath, getUniqueTypeName, getVirtualParents, getVtable, hasParent, isAbstract, isExternalMethods 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:ClassTypeInfoRetrieves the Models of this ClassTypeInfo classes base classes- Specified by:
getParentModelsin 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:
checkIsValidin classDatabaseObject
-