LSSTApplications  18.1.0
LSSTDataManagementBasePackage
Public Member Functions | Public Attributes | List of all members
lsst.gdb.afw.printers.GdbOptionParser.CitizenPrinter Class Reference

Public Member Functions

def __init__ (self, val)
 
def to_string (self)
 

Public Attributes

 val
 

Detailed Description

Definition at line 327 of file printers.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.gdb.afw.printers.GdbOptionParser.CitizenPrinter.__init__ (   self,
  val 
)

Definition at line 330 of file printers.py.

330  def __init__(self, val):
331  self.val = val
332 
def __init__(self, minimum, dataRange, Q)

Member Function Documentation

◆ to_string()

def lsst.gdb.afw.printers.GdbOptionParser.CitizenPrinter.to_string (   self)

Definition at line 333 of file printers.py.

333  def to_string(self):
334  sentinel = int(self.val["_sentinel"].cast(
335  gdb.lookup_type("unsigned int")))
336  return "{%s %d 0x%x}" % (self.val.address, self.val["_CitizenId"], sentinel)
337 
338  class PrintCitizenCommand(gdb.Command):

Member Data Documentation

◆ val

lsst.gdb.afw.printers.GdbOptionParser.CitizenPrinter.val

Definition at line 331 of file printers.py.


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