IDAPython 9.0
|
Public Member Functions | |
__init__ (self, items=None) | |
assign (self, other) | |
__setitem__ (self, idx, s) | |
__getitem__ (self, idx) | |
addressof (self, idx) | |
add (self, s) | |
from_list (self, lst) | |
clear (self, qclear=False) | |
insert (self, idx, s) | |
remove (self, idx) | |
![]() | |
__del__ (self) | |
copy (self) | |
Protected Member Functions | |
_create_clink (self) | |
_del_clink (self, lnk) | |
_get_clink_ptr (self) | |
![]() | |
_free (self) | |
Properties | |
size = property(__get_size) | |
![]() | |
clink = property(lambda self: self.__clink__) | |
clink_ptr = property(lambda self: self._get_clink_ptr()) | |
WARNING: It is very unlikely an IDAPython user should ever, ever have to use this type. It should only be used for IDAPython internals. For example, in py_askusingform.py, we ctypes-expose to the IDA kernel & UI a qstrvec instance, in case a DropdownListControl is constructed. That's because that's what ask_form expects, and we have no choice but to make a DropdownListControl hold a qstrvec_t. This is, afaict, the only situation where a Python _qstrvec_t is required.
__init__ | ( | self, | |
items = None ) |
Reimplemented from py_clinked_object_t.
Reimplemented in Form.DropdownListControl.
__getitem__ | ( | self, | |
idx ) |
Gets the string at the given index
__setitem__ | ( | self, | |
idx, | |||
s ) |
Sets string at the given index
|
protected |
Overwrite me. Creates a new clink @return: PyCapsule representing the C link
Reimplemented from py_clinked_object_t.
|
protected |
Overwrite me. This method deletes the link
Reimplemented from py_clinked_object_t.
|
protected |
Overwrite me. Returns the C link pointer as a 64bit number
Reimplemented from py_clinked_object_t.
add | ( | self, | |
s ) |
Add a string to the vector
addressof | ( | self, | |
idx ) |
Returns the address (as number) of the qstring at the given index
assign | ( | self, | |
other ) |
Copies the contents of 'other' to 'self'
Reimplemented from py_clinked_object_t.
clear | ( | self, | |
qclear = False ) |
Clears all strings from the vector. @param qclear: Just reset the size but do not actually free the memory
from_list | ( | self, | |
lst ) |
Populates the vector from a Python string list
insert | ( | self, | |
idx, | |||
s ) |
Insert a string into the vector
remove | ( | self, | |
idx ) |
Removes a string from the vector
|
static |