GDB (xrefs)
Public Member Functions | Public Attributes | List of all members
gdb.xmethod.XMethod Class Reference
Inheritance diagram for gdb.xmethod.XMethod:

Public Member Functions

def __init__ (self, name)
 
def __init__ (self, name)
 

Public Attributes

 name
 
 enabled
 

Detailed Description

Base class (or a template) for an xmethod description.

Currently, the description requires only the 'name' and 'enabled'
attributes.  Description objects are managed by 'XMethodMatcher'
objects (see below).  Note that this is only a template for the
interface of the XMethodMatcher.methods objects.  One could use
this class or choose to use an object which supports this exact same
interface.  Also, an XMethodMatcher can choose not use it 'methods'
attribute.  In such cases this class (or an equivalent) is not used.

Attributes:
    name: The name of the xmethod.
    enabled: A boolean indicating if the xmethod is enabled.

Definition at line 30 of file xmethod.py.

Constructor & Destructor Documentation

def gdb.xmethod.XMethod.__init__ (   self,
  name 
)

Definition at line 46 of file xmethod.py.

Referenced by gdb.xmethod.XMethod.__init__().

def gdb.xmethod.XMethod.__init__ (   self,
  name 
)

Member Data Documentation

gdb.xmethod.XMethod.enabled

Definition at line 48 of file xmethod.py.

Referenced by gdb.xmethod.XMethod.__init__(), and gdb.xmethod.XMethodMatcher.__init__().

gdb.xmethod.XMethod.name

Definition at line 47 of file xmethod.py.

Referenced by gdb.xmethod.XMethod.__init__(), and gdb.xmethod.XMethodMatcher.__init__().


The documentation for this class was generated from the following file: