Package dbf :: Module ver_2 :: Class _Db4Table
[hide private]
[frames] | no frames]

Class _Db4Table

source code

 object --+        
          |        
_Navigation --+    
              |    
          Table --+
                  |
                 _Db4Table

under development

Nested Classes [hide private]
  _memoClass
Visual Foxpro 6 specific

Inherited from Table (private): _Indexen, _MetaData, _Table, _TableHeader

Instance Methods [hide private]
 
_field_types()
Lives in the class, and on first access calls the supplied factory and maps the result into the instance it was called on
source code
 
_check_memo_integrity(self)
dBase IV specific
source code

Inherited from Table: __contains__, __enter__, __exit__, __getattr__, __getitem__, __init__, __iter__, __len__, __nonzero__, __repr__, __str__, add_fields, allow_nulls, append, close, create_backup, create_index, create_template, delete_fields, disallow_nulls, field_info, index, new, nullable_field, open, pack, query, reindex, rename_field, resize_field, structure, zap

Inherited from _Navigation: bottom, goto, skip, top

Inherited from _Navigation (private): _get_index

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

Static Methods [hide private]

Inherited from Table: __new__

Inherited from Table (private): _pack_date, _unpack_date

Class Variables [hide private]
  version = 'dBase IV w/memos (non-functional)'
returns the dbf type of the table
  _versionabbr = 'db4'
  _memoext = '.dbt'
  _memotypes = ('G', 'M', 'P')
  _yesMemoMask = '\x8b'
  _noMemoMask = '\x04'
  _fixed_fields = ('B', 'D', 'G', 'I', 'L', 'M', 'P', 'T', 'Y')
  _variable_fields = ('C', 'F', 'N')
  _binary_fields = ('G', 'P')
  _character_fields = ('C', 'M')
  _decimal_fields = ('F', 'N')
  _numeric_fields = ('B', 'F', 'I', 'N', 'Y')
  _currency_fields = ('Y')
  _supported_tables = ('\x04', '\x8b')
  _dbfTableHeader = '\x8b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...
  _dbfTableHeaderExtra = ''

Inherited from Table: backup

Inherited from _Navigation (private): _index

Properties [hide private]

Inherited from Table: codepage, field_count, field_names, filename, last_update, memoname, record_length, status, supported_tables

Inherited from _Navigation: bof, current, current_record, eof, first_record, last_record, next_record, prev_record

Inherited from object: __class__

Method Details [hide private]

_field_types()

source code 

Lives in the class, and on first access calls the supplied factory and maps the result into the instance it was called on

Decorators:
  • @MutableDefault
Overrides: Table._field_types

_check_memo_integrity(self)

source code 

dBase IV specific

Overrides: Table._check_memo_integrity

Class Variable Details [hide private]

_dbfTableHeader

Value:
'\x8b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\x00\x00\\
x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x03\x00\x00'