Public Member Functions | |
def | __init__ |
def | __call__ |
def | __init__ |
def | __call__ |
Public Attributes | |
name | |
subprinters | |
enabled |
A basic pretty-printer. Attributes: name: A unique string among all printers for the context in which it is defined (objfile, progspace, or global(gdb)), and should meaningfully describe what can be pretty-printed. E.g., "StringPiece" or "protobufs". subprinters: An iterable object with each element having a `name' attribute, and, potentially, "enabled" attribute. Or this is None if there are no subprinters. enabled: A boolean indicating if the printer is enabled. Subprinters are for situations where "one" pretty-printer is actually a collection of several printers. E.g., The libstdc++ pretty-printer has a pretty-printer for each of several different types, based on regexps.
Definition at line 29 of file printing.py.
def gdb.printing.PrettyPrinter.__init__ | ( | self, | |
name, | |||
subprinters = None |
|||
) |
Definition at line 51 of file printing.py.
def gdb.printing.PrettyPrinter.__init__ | ( | self, | |
name, | |||
subprinters = None |
|||
) |
Definition at line 51 of file printing.py.
def gdb.printing.PrettyPrinter.__call__ | ( | self, | |
val | |||
) |
Reimplemented in gdb.printing.FlagEnumerationPrinter, gdb.printing.FlagEnumerationPrinter, gdb.printing.RegexpCollectionPrettyPrinter, and gdb.printing.RegexpCollectionPrettyPrinter.
Definition at line 56 of file printing.py.
def gdb.printing.PrettyPrinter.__call__ | ( | self, | |
val | |||
) |
Reimplemented in gdb.printing.FlagEnumerationPrinter, gdb.printing.FlagEnumerationPrinter, gdb.printing.RegexpCollectionPrettyPrinter, and gdb.printing.RegexpCollectionPrettyPrinter.
Definition at line 56 of file printing.py.
Definition at line 51 of file printing.py.
Definition at line 51 of file printing.py.
Definition at line 51 of file printing.py.