BinaryNinja::FormInputField Struct Reference

Static Public Member Functions

static FormInputField Label (const std::string &text)
 
static FormInputField Separator ()
 
static FormInputField TextLine (const std::string &prompt)
 
static FormInputField MultilineText (const std::string &prompt)
 
static FormInputField Integer (const std::string &prompt)
 
static FormInputField Address (const std::string &prompt, BinaryView *view=nullptr, uint64_t currentAddress=0)
 
static FormInputField Choice (const std::string &prompt, const std::vector< std::string > &choices)
 
static FormInputField OpenFileName (const std::string &prompt, const std::string &ext)
 
static FormInputField SaveFileName (const std::string &prompt, const std::string &ext, const std::string &defaultName="")
 
static FormInputField DirectoryName (const std::string &prompt, const std::string &defaultName="")
 

Public Attributes

BNFormInputFieldType type
 
std::string prompt
 
Ref< BinaryViewview
 
uint64_t currentAddress
 
std::vector< std::string > choices
 
std::string ext
 
std::string defaultName
 
int64_t intResult
 
uint64_t addressResult
 
std::string stringResult
 
size_t indexResult
 
bool hasDefault
 
int64_t intDefault
 
uint64_t addressDefault
 
std::string stringDefault
 
size_t indexDefault
 

Member Function Documentation

◆ Address()

FormInputField FormInputField::Address ( const std::string &  prompt,
BinaryView view = nullptr,
uint64_t  currentAddress = 0 
)
static

◆ Choice()

FormInputField FormInputField::Choice ( const std::string &  prompt,
const std::vector< std::string > &  choices 
)
static

◆ DirectoryName()

FormInputField FormInputField::DirectoryName ( const std::string &  prompt,
const std::string &  defaultName = "" 
)
static

◆ Integer()

FormInputField FormInputField::Integer ( const std::string &  prompt)
static

◆ Label()

FormInputField FormInputField::Label ( const std::string &  text)
static

◆ MultilineText()

FormInputField FormInputField::MultilineText ( const std::string &  prompt)
static

◆ OpenFileName()

FormInputField FormInputField::OpenFileName ( const std::string &  prompt,
const std::string &  ext 
)
static

◆ SaveFileName()

FormInputField FormInputField::SaveFileName ( const std::string &  prompt,
const std::string &  ext,
const std::string &  defaultName = "" 
)
static

◆ Separator()

FormInputField FormInputField::Separator ( )
static

◆ TextLine()

FormInputField FormInputField::TextLine ( const std::string &  prompt)
static

Member Data Documentation

◆ addressDefault

uint64_t BinaryNinja::FormInputField::addressDefault

◆ addressResult

uint64_t BinaryNinja::FormInputField::addressResult

◆ choices

std::vector<std::string> BinaryNinja::FormInputField::choices

◆ currentAddress

uint64_t BinaryNinja::FormInputField::currentAddress

◆ defaultName

std::string BinaryNinja::FormInputField::defaultName

◆ ext

std::string BinaryNinja::FormInputField::ext

◆ hasDefault

bool BinaryNinja::FormInputField::hasDefault

◆ indexDefault

size_t BinaryNinja::FormInputField::indexDefault

◆ indexResult

size_t BinaryNinja::FormInputField::indexResult

◆ intDefault

int64_t BinaryNinja::FormInputField::intDefault

◆ intResult

int64_t BinaryNinja::FormInputField::intResult

◆ prompt

std::string BinaryNinja::FormInputField::prompt

◆ stringDefault

std::string BinaryNinja::FormInputField::stringDefault

◆ stringResult

std::string BinaryNinja::FormInputField::stringResult

◆ type

BNFormInputFieldType BinaryNinja::FormInputField::type

◆ view

Ref<BinaryView> BinaryNinja::FormInputField::view

The documentation for this struct was generated from the following files: