Package cppclassanalyzer.data.manager
Class VsClassTypeInfoManager
java.lang.Object
cppclassanalyzer.data.manager.ClassTypeInfoManagerDB
cppclassanalyzer.data.manager.VsClassTypeInfoManager
- All Implemented Interfaces:
ClassTypeInfoManager
,ProgramClassTypeInfoManager
,TypeInfoManager
,ErrorHandler
,ManagerDB
public final class VsClassTypeInfoManager extends ClassTypeInfoManagerDB
-
Nested Class Summary
Nested classes/interfaces inherited from class cppclassanalyzer.data.manager.ClassTypeInfoManagerDB
ClassTypeInfoManagerDB.RttiRecordWorker
-
Field Summary
Fields inherited from class cppclassanalyzer.data.manager.ClassTypeInfoManagerDB
plugin, program, treeNodeManager, worker
Fields inherited from interface cppclassanalyzer.data.ClassTypeInfoManager
INVALID_KEY
-
Constructor Summary
Constructors Constructor Description VsClassTypeInfoManager(ClassTypeInfoManagerService service, ProgramDB program)
-
Method Summary
Modifier and Type Method Description ClassTypeInfoDB
getType(Address address)
Gets the ClassTypeInfo at the specified addressClassTypeInfoDB
getType(GhidraClass gc)
Gets the ClassTypeInfo for the correspondingGhidraClass
TypeInfo
getTypeInfo(Address address, boolean resolve)
Gets the Type info at the specified address.protected ClassTypeInfoManagerDB.RttiRecordWorker
getWorker(ProgramRttiTablePair tables, ProgramRttiCachePair caches)
boolean
isTypeInfo(Address address)
Checks if a valid TypeInfo is located at the address in the program.Methods inherited from class cppclassanalyzer.data.manager.ClassTypeInfoManagerDB
containsRecord, dbError, decodeAddress, deleteAddressRange, encodeAddress, getIcon, getName, getNewClassTable, getProgram, getTreeNodeManager, getType, getType, getType, getType, getType, getTypeCount, getTypeInfo, getTypeKey, getTypes, getTypeStream, getVtable, getVtableCount, getVtableIterable, getVtableKey, getVtableStream, invalidateCache, moveAddressRange, programReady, resolve, resolve, resolve, resolve, setProgram
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface cppclassanalyzer.data.ProgramClassTypeInfoManager
addListener, getTypes, getTypeStream, getVtables, removeListener
-
Constructor Details
-
VsClassTypeInfoManager
-
-
Method Details
-
getWorker
protected ClassTypeInfoManagerDB.RttiRecordWorker getWorker(ProgramRttiTablePair tables, ProgramRttiCachePair caches)- Specified by:
getWorker
in classClassTypeInfoManagerDB
-
getType
Description copied from interface:ProgramClassTypeInfoManager
Gets the ClassTypeInfo at the specified address- Specified by:
getType
in interfaceProgramClassTypeInfoManager
- Overrides:
getType
in classClassTypeInfoManagerDB
- Parameters:
address
- the address of the ClassTypeInfo- Returns:
- the ClassTypeInfo or null if invalid
-
getType
Description copied from interface:ClassTypeInfoManager
Gets the ClassTypeInfo for the correspondingGhidraClass
- Specified by:
getType
in interfaceClassTypeInfoManager
- Overrides:
getType
in classClassTypeInfoManagerDB
- Parameters:
gc
- the GhidraClass- Returns:
- the ClassTypeInfo or null if it doesn't exist
-
getTypeInfo
Description copied from interface:ProgramClassTypeInfoManager
Gets the Type info at the specified address. If the TypeInfo is a ClassTypeInfo it can be resolved if requested.- Specified by:
getTypeInfo
in interfaceProgramClassTypeInfoManager
- Overrides:
getTypeInfo
in classClassTypeInfoManagerDB
- Parameters:
address
- the address of the TypeInforesolve
- true to resolve the TypeInfo if it happens to be a ClassTypeInfo- Returns:
- the TypeInfo at the address
-
isTypeInfo
Description copied from interface:TypeInfoManager
Checks if a valid TypeInfo is located at the address in the program.- Parameters:
address
- the address of the TypeInfo- Returns:
- true if the data is a valid TypeInfo
-