Public Member Functions | |
def | __init__ |
def | __call__ |
def | __init__ |
def | __call__ |
Public Attributes | |
initialized | |
enumerators |
A pretty-printer which can be used to print a flag-style enumeration. A flag-style enumeration is one where the enumerators are or'd together to create values. The new printer will print these symbolically using '|' notation. The printer must be registered manually. This printer is most useful when an enum is flag-like, but has some overlap. GDB's built-in printing will not handle this case, but this printer will attempt to.
Definition at line 236 of file printing.py.
def gdb.printing.FlagEnumerationPrinter.__init__ | ( | self, | |
enum_type | |||
) |
Definition at line 245 of file printing.py.
def gdb.printing.FlagEnumerationPrinter.__init__ | ( | self, | |
enum_type | |||
) |
Definition at line 245 of file printing.py.
def gdb.printing.FlagEnumerationPrinter.__call__ | ( | self, | |
val | |||
) |
Reimplemented from gdb.printing.PrettyPrinter.
Definition at line 249 of file printing.py.
def gdb.printing.FlagEnumerationPrinter.__call__ | ( | self, | |
val | |||
) |
Reimplemented from gdb.printing.PrettyPrinter.
Definition at line 249 of file printing.py.
Definition at line 249 of file printing.py.
Definition at line 245 of file printing.py.