IDAPython 9.0
Loading...
Searching...
No Matches
py_clinked_object_t Class Reference
Inheritance diagram for py_clinked_object_t:
pyidc_opaque_object_t textctrl_info_t _qstrvec_t Form.MultiLineTextControl Form.DropdownListControl

Public Member Functions

 __init__ (self, lnk=None)
 
 __del__ (self)
 
 copy (self)
 
 assign (self, other)
 

Protected Member Functions

 _free (self)
 
 _create_clink (self)
 
 _del_clink (self, lnk)
 
 _get_clink_ptr (self)
 

Properties

 clink = property(lambda self: self.__clink__)
 
 clink_ptr = property(lambda self: self._get_clink_ptr())
 

Detailed Description

This is a utility and base class for C linked objects

Constructor & Destructor Documentation

◆ __init__()

__init__ ( self,
lnk = None )

◆ __del__()

__del__ ( self)
Delete the link upon object destruction (only if not static)

Member Function Documentation

◆ _create_clink()

_create_clink ( self)
protected
Overwrite me.
Creates a new clink
@return: PyCapsule representing the C link

Reimplemented in textctrl_info_t, and _qstrvec_t.

◆ _del_clink()

_del_clink ( self,
lnk )
protected
Overwrite me.
This method deletes the link

Reimplemented in textctrl_info_t, and _qstrvec_t.

◆ _free()

_free ( self)
protected
Explicitly delete the link (only if not static)

◆ _get_clink_ptr()

_get_clink_ptr ( self)
protected
Overwrite me.
Returns the C link pointer as a 64bit number

Reimplemented in textctrl_info_t, and _qstrvec_t.

◆ assign()

assign ( self,
other )
Overwrite me.
This method allows you to assign an instance contents to anothers
@return: Boolean

Reimplemented in textctrl_info_t, and _qstrvec_t.

◆ copy()

copy ( self)
Returns a new copy of this class

Property Documentation

◆ clink

clink = property(lambda self: self.__clink__)
static

◆ clink_ptr

clink_ptr = property(lambda self: self._get_clink_ptr())
static

The documentation for this class was generated from the following file: