Package dbf :: Package old :: Module tables :: Class _Db4Table
[hide private]

Class _Db4Table

source code

object --+    
         |    
  DbfTable --+
             |
            _Db4Table

Nested Classes [hide private]
  _memoClass
Provides access to memo fields as dictionaries must override _init, _get_memo, and _put_memo to store memo contents to disk

Inherited from DbfTable: DbfIterator

Inherited from DbfTable (private): _DbfLists, _Indexen, _MetaData, _Table, _TableHeader

Instance Methods [hide private]
 
_checkMemoIntegrity(yo)
dBase III specific
source code

Inherited from DbfTable: __contains__, __enter__, __exit__, __getattr__, __getitem__, __init__, __iter__, __len__, __nonzero__, __repr__, __str__, add_fields, append, bof, bottom, close, create_backup, create_index, current, delete_fields, eof, export, get_record, goto, is_decimal, is_memotype, new, next, open, pack, prev, query, reindex, rename_field, size, structure, top, type, zap

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Variables [hide private]
  version = 'dBase IV w/memos (non-functional)'
  _versionabbv = 'db4'
  _fieldtypes = {'0': {'Blank': <type 'int'>, 'Init': None, 'Ret...
  _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')
  _character_fields = ('C', 'M')
  _decimal_fields = ('F', 'N')
  _numeric_fields = ('B', 'F', 'I', 'N', 'Y')
  _supported_tables = ('\x04', '\x8b')
  _dbfTableHeader = '\x8b\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0...
  _dbfTableHeaderExtra = ''
  _use_deleted = True

Inherited from DbfTable: codepage, field_count, field_names, filename, last_update, memoname, record_length, record_number, supported_tables, use_deleted

Inherited from DbfTable (private): _backed_up, _meta_only, _read_only, _version

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_checkMemoIntegrity(yo)

source code 

dBase III specific

Overrides: DbfTable._checkMemoIntegrity

Class Variable Details [hide private]

_fieldtypes

Value:
{'0': {'Blank': <type 'int'>,
       'Init': None,
       'Retrieve': <function unsupportedType at 0x00ECA130>,
       'Type': '_NullFlags',
       'Update': <function unsupportedType at 0x00ECA130>},
 'B': {'Blank': <type 'float'>,
       'Init': <function addVfpDouble at 0x00ECA830>,
       'Retrieve': <function retrieveDouble at 0x00ECA2F0>,
...

_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'