Public Member Functions | |
CreateArrayDialog (BinaryViewRef data, BNAddressRange selection, QWidget *parent=nullptr) | |
void | setInitialState () |
uint64_t | startAddress () const |
Get the desired start address from the accepted dialog. More... | |
TypeRef | elementType () const |
uint64_t | elementCount () const |
Get the desired element count from the accepted dialog. More... | |
void | accept () override |
void | reject () override |
|
explicit |
void CreateArrayDialog::setInitialState | ( | ) |
Set the initial start address, element type, and element count for the dialog. The element type may be null if no default is desired; a default will be chosen by the dialog.
uint64_t CreateArrayDialog::startAddress | ( | ) | const |
Get the desired start address from the accepted dialog.
TypeRef CreateArrayDialog::elementType | ( | ) | const |
Get the desired array element type from the accepted dialog.
The returned value will NOT be of `Type::ArrayType(...)`, but rather the element inside.
uint64_t CreateArrayDialog::elementCount | ( | ) | const |
Get the desired element count from the accepted dialog.
|
override |
|
override |