Public Member Functions | |
def | __init__ |
Public Attributes | |
name | |
fields |
Model of an object type
Definition at line 95 of file pmHeapDump.py.
def pmHeapDump::PmTypeInfo::__init__ | ( | self, | ||
name, | ||||
fmt | ||||
) |
Initializes a new object type from name and a format string The format consist of a list of field name, type and optionnal multiplicity fmt = "fieldname1:fieldtype1[:multiplicity1],fieldname2:fieldtype2[:multiplicity2],..." where: fieldname : a string naming a field... fieldtype : a type understand by python struct [c, b, B, ?, h, H, i, I, l, L, q, Q, f, d, s, p, P] or '.' for a bit P (pointer) is translated to the correct size based on the dump header information multiplicity : number of item for a list. multiplicity can be: any positive integer a string naming a field already described Multiplicity can also specify: '*' to read as much as possible in the limit of the size object '<name' to read as long as memory offset is lower than then value of field name
Definition at line 99 of file pmHeapDump.py.