Example #1
0
 def __init__(self, *args):
     SeekableFieldSet.__init__(self, *args)
     self._size = self["size"].value * 8
Example #2
0
 def __init__(self, parent, name, description, ifd):
     SeekableFieldSet.__init__(self, parent, name, description, None)
     self._ifd = ifd
Example #3
0
 def __init__(self, parent, name, db_start, db_count, description=None):
     SeekableFieldSet.__init__(self, parent, name, description)
     self.start = db_start
     self.count = db_count
Example #4
0
 def __init__(self, parent, name, section, size):
     SeekableFieldSet.__init__(self, parent, name, size=size)
     self.section = section
Example #5
0
 def __init__(self, parent, name, zoomIntervalCfg, **kw):
     SeekableFieldSet.__init__(self, parent, name, **kw)
     self.zoomIntervalCfg = zoomIntervalCfg
Example #6
0
 def __init__(self, parent, name, descriptor):
     self.superblock = parent['superblock']
     block_size = 1024 << self.superblock['log_block_size'].value
     size = block_size * self.superblock['blocks_per_group'].value * 8
     SeekableFieldSet.__init__(self, parent, name, size=size)
     self.descriptor = descriptor
Example #7
0
 def __init__(self, parent, name, base_addr):
     self.base_addr = base_addr
     SeekableFieldSet.__init__(self, parent, name)