Package ghidra.app.cmd.data.rtti
Interface TypeInfo
- All Known Subinterfaces:
ClassTypeInfo,VsClassTypeInfo
- All Known Implementing Classes:
AbstractClassTypeInfoDB,AbstractClassTypeInfoModel,ArchivedClassTypeInfo,ArrayTypeInfoModel,ClassTypeInfoDB,ClassTypeInfoModel,EnumTypeInfoModel,ExternalClassTypeInfo,FunctionTypeInfoModel,FundamentalTypeInfoModel,GnuClassTypeInfoDB,IosFailTypeInfoModel,PBaseTypeInfoModel,PointerToMemberTypeInfoModel,PointerTypeInfoModel,RttiModelWrapper,SiClassTypeInfoModel,TypeInfoModel,VmiClassTypeInfoModel,VsClassTypeInfoDB
public interface TypeInfo
Interface for modeling std::type_info and its derivatives.
All derived models are based on dwarf information from libstdc++.a
All derived models are based on dwarf information from libstdc++.a
-
Field Summary
Fields Modifier and Type Field Description static StringSYMBOL_NAMEstatic StringTYPENAME_SYMBOL_NAME -
Method Summary
Modifier and Type Method Description AddressgetAddress()Gets the address of this TypeInfo structure.DataTypegetDataType()Gets corresponding structure for this TypeInfo ModelStringgetIdentifier()Gets The TypeInfo's Identifier StringStringgetName()Gets name for the TypeInfo DataType ModelNamespacegetNamespace()Gets the namespace for this TypeInfoDataTypegetRepresentedDataType()Gets the DataType represented by this TypeInfoStringgetTypeName()Gets The TypeInfo's typename string
-
Field Details
-
SYMBOL_NAME
- See Also:
- Constant Field Values
-
TYPENAME_SYMBOL_NAME
- See Also:
- Constant Field Values
-
-
Method Details
-
getName
String getName()Gets name for the TypeInfo DataType Model- Returns:
- the TypeInfo's name
-
getNamespace
Namespace getNamespace()Gets the namespace for this TypeInfo- Returns:
- the TypeInfo's namespace
-
getTypeName
String getTypeName()Gets The TypeInfo's typename string- Returns:
- the TypeInfo's typename
-
getIdentifier
String getIdentifier()Gets The TypeInfo's Identifier String- Returns:
- the TypeInfo's ID_STRING field
- See Also:
TypeInfoModel.ID_STRING
-
getDataType
DataType getDataType()Gets corresponding structure for this TypeInfo Model- Returns:
- the type_info or subclasses DataType
-
getRepresentedDataType
DataType getRepresentedDataType()Gets the DataType represented by this TypeInfo- Returns:
- the represented DataType
-
getAddress
Address getAddress()Gets the address of this TypeInfo structure.- Returns:
- the TypeInfo's address.
-