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

Class VfpTable

source code

 object --+            
          |            
_Navigation --+        
              |        
          Table --+    
                  |    
            FpTable --+
                      |
                     VfpTable

Provides an interface for working with Visual FoxPro 6 tables

Nested Classes [hide private]
  _memoClass
Visual Foxpro 6 specific

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

Instance Methods [hide private]
 
_field_types() source code
 
_initialize_fields(self)
builds the FieldList of names, types, and descriptions
source code

Inherited from FpTable (private): _check_memo_integrity

Inherited from Table: __bool__, __contains__, __enter__, __exit__, __getattr__, __getitem__, __init__, __iter__, __len__, __new__, __repr__, __str__, add_fields, allow_nulls, append, close, codepage, create_backup, create_index, create_template, delete_fields, disallow_nulls, field_count, field_info, field_names, filename, index, last_update, memoname, new, nullable_field, open, pack, query, record_length, reindex, rename_field, resize_field, status, structure, supported_tables, version, zap

Inherited from _Navigation: bof, bottom, current, current_record, eof, first_record, goto, last_record, next_record, prev_record, 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 FpTable (private): _pack_date, _unpack_date

Class Variables [hide private]
  _version = 'Visual Foxpro'
  _versionabbr = 'vfp'
  _memoext = '.fpt'
  _yesMemoMask = 0x30
  _noMemoMask = 0x30
  _binary_types = DOUBLE, GENERAL, INTEGER, MEMO, PICTURE, DATET...
  _character_types = CHAR, DATE, FLOAT, LOGICAL, MEMO, NUMERIC
  _currency_types = CURRENCY,
  _date_types = DATE, DATETIME
  _datetime_types = DATETIME,
  _fixed_types = DOUBLE, DATE, GENERAL, INTEGER, LOGICAL, MEMO, ...
  _logical_types = LOGICAL,
  _memo_types = GENERAL, MEMO, PICTURE
  _numeric_types = DOUBLE, FLOAT, INTEGER, NUMERIC, CURRENCY
  _variable_types = CHAR, FLOAT, NUMERIC
  _supported_tables = 0x30, 0x31
  _dbfTableHeader = _dbfTableHeader.tobytes()
  _dbfTableHeaderExtra = b'\x00'* 263

Inherited from FpTable (private): _text_types

Inherited from Table: backup

Inherited from _Navigation (private): _index

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_field_types()

source code 
Decorators:
  • @MutableDefault
Overrides: Table._field_types

_initialize_fields(self)

source code 

builds the FieldList of names, types, and descriptions

Overrides: Table._initialize_fields

Class Variable Details [hide private]

_binary_types

Value:
DOUBLE, GENERAL, INTEGER, MEMO, PICTURE, DATETIME, CURRENCY

_fixed_types

Value:
DOUBLE, DATE, GENERAL, INTEGER, LOGICAL, MEMO, PICTURE, DATETIME, CURR\
ENCY