LSSTApplications  10.0+286,10.0+36,10.0+46,10.0-2-g4f67435,10.1+152,10.1+37,11.0,11.0+1,11.0-1-g47edd16,11.0-1-g60db491,11.0-1-g7418c06,11.0-2-g04d2804,11.0-2-g68503cd,11.0-2-g818369d,11.0-2-gb8b8ce7
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | List of all members
lsst.gdb.afw.printers_oldgdb.RxPrinter Class Reference
Inheritance diagram for lsst.gdb.afw.printers_oldgdb.RxPrinter:

Public Member Functions

def __init__
 
def invoke
 

Public Attributes

 name
 
 function
 
 enabled
 

Detailed Description

Definition at line 223 of file printers_oldgdb.py.

Constructor & Destructor Documentation

def lsst.gdb.afw.printers_oldgdb.RxPrinter.__init__ (   self,
  name,
  function 
)

Definition at line 224 of file printers_oldgdb.py.

225  def __init__(self, name, function):
226  super(RxPrinter, self).__init__()
227  self.name = name
228  self.function = function
229  self.enabled = True

Member Function Documentation

def lsst.gdb.afw.printers_oldgdb.RxPrinter.invoke (   self,
  value 
)

Definition at line 230 of file printers_oldgdb.py.

231  def invoke(self, value):
232  if not self.enabled:
233  return None
234  return self.function(self.name, value)
235 
236 # A pretty-printer that conforms to the "PrettyPrinter" protocol from
237 # gdb.printing. It can also be used directly as an old-style printer.
#

Member Data Documentation

lsst.gdb.afw.printers_oldgdb.RxPrinter.enabled

Definition at line 228 of file printers_oldgdb.py.

lsst.gdb.afw.printers_oldgdb.RxPrinter.function

Definition at line 227 of file printers_oldgdb.py.

lsst.gdb.afw.printers_oldgdb.RxPrinter.name

Definition at line 226 of file printers_oldgdb.py.


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