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. | |
TypeRef | elementType () const |
uint64_t | elementCount () const |
Get the desired element count from the accepted dialog. | |
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.
|
nodiscard |
Get the desired start address from the accepted dialog.
|
nodiscard |
Get the desired array element type from the accepted dialog.
The returned value will NOT be of `Type::ArrayType(...)`, but rather the element inside.
|
nodiscard |
Get the desired element count from the accepted dialog.
|
override |
|
override |