GDB (API)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Public Member Functions | Public Attributes
gdb.types.TypePrinter Class Reference

List of all members.

Public Member Functions

def __init__
def instantiate
def __init__
def instantiate

Public Attributes

 name
 enabled

Detailed Description

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.

Definition at line 113 of file types.py.


Constructor & Destructor Documentation

def gdb.types.TypePrinter.__init__ (   self,
  name 
)

Definition at line 128 of file types.py.

def gdb.types.TypePrinter.__init__ (   self,
  name 
)

Definition at line 128 of file types.py.


Member Function Documentation

Definition at line 132 of file types.py.

Definition at line 132 of file types.py.


Member Data Documentation

Definition at line 128 of file types.py.

Definition at line 128 of file types.py.


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