GDB (API)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Public Attributes
gdb.printing.FlagEnumerationPrinter Class Reference
Inheritance diagram for gdb.printing.FlagEnumerationPrinter:
gdb.printing.PrettyPrinter gdb.printing.PrettyPrinter

List of all members.

Public Member Functions

def __init__
def __call__
def __init__
def __call__

Public Attributes

 initialized
 enumerators

Detailed Description

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.


Constructor & Destructor Documentation

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.


Member Function Documentation

Reimplemented from gdb.printing.PrettyPrinter.

Definition at line 249 of file printing.py.

Reimplemented from gdb.printing.PrettyPrinter.

Definition at line 249 of file printing.py.


Member Data Documentation

Definition at line 249 of file printing.py.

Definition at line 245 of file printing.py.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines