Public Member Functions | |
def | __init__ |
def | instantiate |
def | __init__ |
def | instantiate |
Public Attributes | |
name | |
enabled |
The base class for type printers. Instances of this type can be used to substitute type names during 'ptype'. A type printer must have at least 'name' and 'enabled' attributes, and supply an 'instantiate' method. The 'instantiate' method must either return None, or return an object which has a 'recognize' method. This method must accept a gdb.Type argument and either return None, meaning that the type was not recognized, or a string naming the type.
def gdb.types.TypePrinter.__init__ | ( | self, | |
name | |||
) |
def gdb.types.TypePrinter.__init__ | ( | self, | |
name | |||
) |
def gdb.types.TypePrinter.instantiate | ( | self | ) |
def gdb.types.TypePrinter.instantiate | ( | self | ) |