Module dbf :: Class DbfTable :: Class _TableHeader
[hide private]

Class _TableHeader

source code

object --+
         |
        DbfTable._TableHeader

Instance Methods [hide private]
 
__init__(yo, data)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
codepage(yo, cp=None)
get/set code page of table
source code

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

Properties [hide private]
  data
main data structure
  extra
extra dbf info (located after headers, before data records)
  field_count
number of fields (read-only)
  fields
field block structure
  record_count
number of records (maximum 16,777,215)
  record_length
length of a record (read_only) (max of 65,535)
  start
starting position of first record in file (must be within first 64K)
  update
date of last table modification (read-only)
  version
dbf version

Inherited from object: __class__

Method Details [hide private]

__init__(yo, data)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Property Details [hide private]

data

main data structure

Get Method:
unreachable.data(yo) - main data structure
Set Method:
unreachable.data(yo, bytes)

extra

extra dbf info (located after headers, before data records)

Get Method:
unreachable.extra(yo) - extra dbf info (located after headers, before data records)
Set Method:
unreachable.extra(yo, data)

field_count

number of fields (read-only)

Get Method:
unreachable.field_count(yo) - number of fields (read-only)

fields

field block structure

Get Method:
unreachable.fields(yo) - field block structure
Set Method:
unreachable.fields(yo, block)

record_count

number of records (maximum 16,777,215)

Get Method:
unreachable.record_count(yo) - number of records (maximum 16,777,215)
Set Method:
unreachable.record_count(yo, count)

record_length

length of a record (read_only) (max of 65,535)

Get Method:
unreachable.record_length(yo) - length of a record (read_only) (max of 65,535)

start

starting position of first record in file (must be within first 64K)

Get Method:
unreachable.start(yo) - starting position of first record in file (must be within first 64K)
Set Method:
unreachable.start(yo, pos)

update

date of last table modification (read-only)

Get Method:
unreachable.update(yo) - date of last table modification (read-only)

version

dbf version

Get Method:
unreachable.version(yo) - dbf version
Set Method:
unreachable.version(yo, ver)