Module idaapi :: Class data_format_t
[frames] | no frames]

Class data_format_t

object --+
         |
        data_format_t

Information about a data format

Instance Methods
 
__init__(self, name, value_size=0, menu_name=None, props=0, hotkey=None, text_width=0)
Custom data format definition.
 
register(self, dtid)
Registers the data format with the given data type id and returns the type id or < 0 on failure
 
unregister(self, dtid)
Unregisters the data format with the given data type id

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties

Inherited from object: __class__

Method Details

__init__(self, name, value_size=0, menu_name=None, props=0, hotkey=None, text_width=0)
(Constructor)

 

Custom data format definition.

Parameters:
  • name - Format name, must be unique
  • menu_name - Visible format name to use in menus
  • props - properties (currently 0)
  • hotkey - Hotkey for the corresponding menu item
  • value_size - size of the value in bytes. 0 means any size is ok
Overrides: object.__init__

[an error occurred while processing this directive]