LSSTApplications  10.0-2-g4f67435,11.0.rc2+1,11.0.rc2+12,11.0.rc2+3,11.0.rc2+4,11.0.rc2+5,11.0.rc2+6,11.0.rc2+7,11.0.rc2+8
LSSTDataManagementBasePackage
Classes | Functions
lsst.gdb.ip.diffim.printers Namespace Reference

Classes

class  CRPixelPrinter
 

Functions

def register
 
def build_ip_diffim_dictionary
 
def register
 

Function Documentation

def lsst.gdb.ip.diffim.printers.build_ip_diffim_dictionary ( )

Definition at line 28 of file printers.py.

28 
30  printer = gdb.printing.RegexpCollectionPrettyPrinter("ip_diffim")
31 
32  # example from meas_alg
33  #printer.add_printer('lsst::meas::algorithms::CRPixel',
34  # '^lsst::meas::algorithms::CRPixel', CRPixelPrinter)
35 
36  return printer
def lsst.gdb.ip.diffim.printers.register (   obj)

Definition at line 17 of file printers.py.

17 
18  def register(obj):
19  "Register my pretty-printers with objfile Obj."
20 
21  if obj is None:
22  obj = gdb
23 
24  for p in printers:
25  gdb.printing.register_pretty_printer(obj, p)
def lsst.gdb.ip.diffim.printers.register (   args,
  kwargs 
)

Definition at line 40 of file printers.py.

40 
41  def register(*args, **kwargs):
42  print >> sys.stderr, "Your version of gdb is too old to load the ip.diffim python pretty printers"
43  pass