Package dbf :: Module ver_32 :: Class Table :: Class _TableHeader
[hide private]
[frames] | no frames]

Class _TableHeader

source code

object --+
         |
        Table._TableHeader

represents the data block that defines a tables type and layout

Instance Methods [hide private]
 
__init__(self, data, pack_date, unpack_date)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
codepage(self, cp=None)
get/set code page of table
source code
 
data(self, bytes) source code
 
extra(self, data) source code
 
field_count(self)
number of fields (read-only)
source code
 
fields(self, block) source code
 
record_count(self, count) source code
 
record_length(self, length)
to support Clipper large Character fields
source code
 
start(self, pos) source code
 
update(self)
date of last table modification (read-only)
source code
 
version(self, ver) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, data, pack_date, unpack_date)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

data(self, bytes)

source code 
Decorators:
  • @data.setter

extra(self, data)

source code 
Decorators:
  • @extra.setter

field_count(self)

source code 

number of fields (read-only)

Decorators:
  • @property

fields(self, block)

source code 
Decorators:
  • @fields.setter

record_count(self, count)

source code 
Decorators:
  • @record_count.setter

record_length(self, length)

source code 

to support Clipper large Character fields

Decorators:
  • @record_length.setter

start(self, pos)

source code 
Decorators:
  • @start.setter

update(self)

source code 

date of last table modification (read-only)

Decorators:
  • @property

version(self, ver)

source code 
Decorators:
  • @version.setter