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 Details

  • Method Details

    • getManager

      public abstract ClassTypeInfoManager getManager()
      Gets the manager containing this type
      Returns:
      the manager containing this type
    • getParentModels

      public abstract ClassTypeInfoDB[] getParentModels()
      Description copied from interface: ClassTypeInfo
      Retrieves the Models of this ClassTypeInfo classes base classes
      Specified by:
      getParentModels in interface ClassTypeInfo
      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

      public abstract Map<ClassTypeInfo,​Integer> getBaseOffsets()
      Gets a map of this types bases and offsets
      Returns:
      a map of bases to offsets
    • getSuperClassDataType

      public final Structure 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 class DatabaseObject