CreateStructDialog

Detailed Description

Classes

class  GetStructuresListThread
 
class  BaseStructuresTableWidget
 
class  CreateStructDialog
 

Class Documentation

◆ GetStructuresListThread

class GetStructuresListThread

Public Member Functions

 GetStructuresListThread (BinaryNinja::TypeContainer container, const std::function< void()> &completeFunc)
 
void cancel ()
 
const QStringList & getTypes () const
 

Protected Member Functions

virtual void run () override
 

Constructor & Destructor Documentation

◆ GetStructuresListThread()

GetStructuresListThread::GetStructuresListThread ( BinaryNinja::TypeContainer  container,
const std::function< void()> &  completeFunc 
)

Member Function Documentation

◆ run()

virtual void GetStructuresListThread::run ( )
overrideprotectedvirtual

◆ cancel()

void GetStructuresListThread::cancel ( )

◆ getTypes()

const QStringList & GetStructuresListThread::getTypes ( ) const
inline

◆ BaseStructuresTableWidget

class BaseStructuresTableWidget

Signals

void removeBaseStructure (int idx)
 

Public Member Functions

 BaseStructuresTableWidget ()
 
virtual QSize sizeHint () const override
 

Protected Member Functions

virtual void contextMenuEvent (QContextMenuEvent *event) override
 

Constructor & Destructor Documentation

◆ BaseStructuresTableWidget()

BaseStructuresTableWidget::BaseStructuresTableWidget ( )

Member Function Documentation

◆ sizeHint()

virtual QSize BaseStructuresTableWidget::sizeHint ( ) const
overridevirtual

◆ contextMenuEvent()

virtual void BaseStructuresTableWidget::contextMenuEvent ( QContextMenuEvent *  event)
overrideprotectedvirtual

◆ removeBaseStructure

void BaseStructuresTableWidget::removeBaseStructure ( int  idx)
signal

◆ CreateStructDialog

class CreateStructDialog

Public Member Functions

 CreateStructDialog (QWidget *parent, std::optional< BinaryNinja::TypeContainer > typeContainer, const std::string &name, bool askForPointer=false, bool defaultToPointer=false)
 
 ~CreateStructDialog ()
 
BinaryNinja::QualifiedName getName () const
 
uint64_t getSize () const
 
bool getPropagateDataVarRefs () const
 
bool getCreatePointer () const
 
const std::vector< BinaryNinja::BaseStructuregetBaseStructures () const
 

Protected Member Functions

virtual void showEvent (QShowEvent *e) override
 

Constructor & Destructor Documentation

◆ CreateStructDialog()

CreateStructDialog::CreateStructDialog ( QWidget *  parent,
std::optional< BinaryNinja::TypeContainer typeContainer,
const std::string &  name,
bool  askForPointer = false,
bool  defaultToPointer = false 
)

◆ ~CreateStructDialog()

CreateStructDialog::~CreateStructDialog ( )

Member Function Documentation

◆ getName()

BinaryNinja::QualifiedName CreateStructDialog::getName ( ) const
inline

◆ getSize()

uint64_t CreateStructDialog::getSize ( ) const
inline

◆ getPropagateDataVarRefs()

bool CreateStructDialog::getPropagateDataVarRefs ( ) const
inline

◆ getCreatePointer()

bool CreateStructDialog::getCreatePointer ( ) const
inline

◆ getBaseStructures()

const std::vector< BinaryNinja::BaseStructure > CreateStructDialog::getBaseStructures ( ) const
inline

◆ showEvent()

virtual void CreateStructDialog::showEvent ( QShowEvent *  e)
overrideprotectedvirtual