BinaryNinja::TypeArchiveNotification Class Reference

Public Member Functions

 TypeArchiveNotification ()
 
virtual ~TypeArchiveNotification ()=default
 
BNTypeArchiveNotificationGetCallbacks ()
 
virtual void OnTypeAdded (Ref< TypeArchive > archive, const std::string &id, Ref< Type > definition)
 Called when a type is added to the archive. More...
 
virtual void OnTypeUpdated (Ref< TypeArchive > archive, const std::string &id, Ref< Type > oldDefinition, Ref< Type > newDefinition)
 Called when a type in the archive is updated to a new definition. More...
 
virtual void OnTypeRenamed (Ref< TypeArchive > archive, const std::string &id, const QualifiedName &oldName, const QualifiedName &newName)
 Called when a type in the archive is renamed. More...
 
virtual void OnTypeDeleted (Ref< TypeArchive > archive, const std::string &id, Ref< Type > definition)
 Called when a type in the archive is deleted from the archive. More...
 

Constructor & Destructor Documentation

◆ TypeArchiveNotification()

TypeArchiveNotification::TypeArchiveNotification ( )

◆ ~TypeArchiveNotification()

virtual BinaryNinja::TypeArchiveNotification::~TypeArchiveNotification ( )
virtualdefault

Member Function Documentation

◆ GetCallbacks()

BNTypeArchiveNotification * BinaryNinja::TypeArchiveNotification::GetCallbacks ( )
inline

◆ OnTypeAdded()

virtual void BinaryNinja::TypeArchiveNotification::OnTypeAdded ( Ref< TypeArchive archive,
const std::string &  id,
Ref< Type definition 
)
inlinevirtual

Called when a type is added to the archive.

Parameters
archive
idId of type added
definitionDefinition of type

◆ OnTypeUpdated()

virtual void BinaryNinja::TypeArchiveNotification::OnTypeUpdated ( Ref< TypeArchive archive,
const std::string &  id,
Ref< Type oldDefinition,
Ref< Type newDefinition 
)
inlinevirtual

Called when a type in the archive is updated to a new definition.

Parameters
archive
idId of type
oldDefinitionPrevious definition
newDefinitionCurrent definition

◆ OnTypeRenamed()

virtual void BinaryNinja::TypeArchiveNotification::OnTypeRenamed ( Ref< TypeArchive archive,
const std::string &  id,
const QualifiedName oldName,
const QualifiedName newName 
)
inlinevirtual

Called when a type in the archive is renamed.

Parameters
archive
idType id
oldNamePrevious name
newNameCurrent name

◆ OnTypeDeleted()

virtual void BinaryNinja::TypeArchiveNotification::OnTypeDeleted ( Ref< TypeArchive archive,
const std::string &  id,
Ref< Type definition 
)
inlinevirtual

Called when a type in the archive is deleted from the archive.

Parameters
archive
idId of type deleted
definitionDefinition of type deleted