LSSTApplications  20.0.0
LSSTDataManagementBasePackage
Classes | Functions | Variables
lsst.gdb.ip.diffim.printers Namespace Reference

Classes

class  CRPixelPrinter
 

Functions

def register (obj)
 
def build_ip_diffim_dictionary ()
 
def register (*args, **kwargs)
 

Variables

 printers
 

Function Documentation

◆ build_ip_diffim_dictionary()

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

Definition at line 29 of file printers.py.

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
37 

◆ register() [1/2]

def lsst.gdb.ip.diffim.printers.register ( args,
**  kwargs 
)

Definition at line 41 of file printers.py.

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

◆ register() [2/2]

def lsst.gdb.ip.diffim.printers.register (   obj)

Definition at line 20 of file printers.py.

20  def register(obj):
21  "Register my pretty-printers with objfile Obj."
22 
23  if obj is None:
24  obj = gdb
25 
26  for p in printers:
27  gdb.printing.register_pretty_printer(obj, p)
28 

Variable Documentation

◆ printers

lsst.gdb.ip.diffim.printers.printers

Definition at line 18 of file printers.py.

lsst.gdb.meas.algorithms.printers.register
def register(*args, exception=e, **kwargs)
Definition: printers.py:37
lsst.gdb.ip.diffim.printers.build_ip_diffim_dictionary
def build_ip_diffim_dictionary()
Definition: printers.py:29