LSSTApplications  11.0-24-g0a022a1,15.0+13,15.0+9,15.0-1-g19261fa+5,15.0-1-g1eca518+15,15.0-1-g60afb23+12,15.0-1-g615e0bb+4,15.0-1-g6668b0b+5,15.0-1-g788a293+12,15.0-1-ga91101e+12,15.0-1-gae1598d+8,15.0-1-gc45031d+15,15.0-1-gd076f1f+12,15.0-1-gdf18595+2,15.0-1-gf4f1c34+8,15.0-2-g100d730+5,15.0-2-g18f3f21+5,15.0-2-g35685a8+6,15.0-2-gf38729e+5,15.0-21-g91b8abf62,15.0-3-g150fc43+14,15.0-3-g6f085af+5,15.0-3-g707930d,15.0-3-g9103c06+8,15.0-3-ga03b4ca+16,15.0-3-gaec6799+5,15.0-3-gb7a597c+12,15.0-3-ge6a6747+5,15.0-4-g45f767a+8,15.0-4-g654b129+10,15.0-4-gf5d1e39,15.0-4-gff20472+15,15.0-5-ga70c291+5,15.0-6-g9a9df217+5,15.0-7-gab4c137+6,15.0-7-gab79a70c+4
LSSTDataManagementBasePackage
Classes | Functions | Variables
lsst.gdb.afw.printers_oldgdb Namespace Reference

Classes

class  BaseSourceAttributesPrinter
 
class  CitizenPrinter
 
class  CoordinateBasePrinter
 
class  ExposurePrinter
 
class  FootprintPrinter
 
class  ImagePrinter
 
class  MaskedImagePrinter
 
class  Printer
 
class  PrintImageCommand
 
class  RxPrinter
 
class  SourcePrinter
 

Functions

def register (obj)
 
def build_afw_dictionary ()
 
def build_daf_base_dictionary ()
 

Variables

list printers = []
 

Detailed Description

Code that works with gdb 7.1's python pretty printing.  When gdb >= 7.2 is widely available this
file should be deleted (it's only used after importing gdb.printing fails)

Function Documentation

◆ build_afw_dictionary()

def lsst.gdb.afw.printers_oldgdb.build_afw_dictionary ( )

Definition at line 310 of file printers_oldgdb.py.

311  printer = Printer("afw")
312 
313  printer.add('lsst::afw::detection::Footprint', FootprintPrinter)
314  printer.add('lsst::afw::detection::Source', SourcePrinter)
315  printer.add('lsst::afw::detection::BaseSourceAttributes',
316  BaseSourceAttributesPrinter)
317 
318  printer.add('lsst::afw::geom::Point', CoordinateBasePrinter)
319  printer.add('lsst::afw::geom::Extent', CoordinateBasePrinter)
320 
321  printer.add('lsst::afw::image::ImageBase', ImagePrinter)
322  printer.add('lsst::afw::image::Image', ImagePrinter)
323  printer.add('lsst::afw::image::Mask', ImagePrinter)
324  printer.add('lsst::afw::image::MaskedImage', MaskedImagePrinter)
325  printer.add('lsst::afw::image::Exposure', ExposurePrinter)
326 
327  return printer
328 
329 
330 printers.append(build_afw_dictionary())
331 
332 

◆ build_daf_base_dictionary()

def lsst.gdb.afw.printers_oldgdb.build_daf_base_dictionary ( )

Definition at line 333 of file printers_oldgdb.py.

334  printer = Printer("daf::base")
335 
336  printer.add('lsst::daf::base::Citizen', CitizenPrinter)
337 
338  return printer
339 
340 
341 printers.append(build_daf_base_dictionary())

◆ register()

def lsst.gdb.afw.printers_oldgdb.register (   obj)

Definition at line 300 of file printers_oldgdb.py.

300 def register(obj):
301  "Register my pretty-printers with objfile Obj."
302 
303  if obj is None:
304  obj = gdb
305 
306  for p in printers:
307  obj.pretty_printers.insert(0, p)
308 
309 

Variable Documentation

◆ printers

list lsst.gdb.afw.printers_oldgdb.printers = []

Definition at line 297 of file printers_oldgdb.py.