1
# This file was created automatically by SWIG 1.3.28.
2
# Don't modify this file, modify the SWIG interface instead.
3
# This file is compatible with both classic and new-style classes.
7
new_instancemethod = new.instancemethod
8
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
9
if (name == "thisown"): return self.this.own(value)
11
if type(value).__name__ == 'PySwigObject':
12
self.__dict__[name] = value
14
method = class_type.__swig_setmethods__.get(name,None)
15
if method: return method(self,value)
16
if (not static) or hasattr(self,name):
17
self.__dict__[name] = value
19
raise AttributeError("You cannot add attributes to %s" % self)
21
def _swig_setattr(self,class_type,name,value):
22
return _swig_setattr_nondynamic(self,class_type,name,value,0)
24
def _swig_getattr(self,class_type,name):
25
if (name == "thisown"): return self.this.own()
26
method = class_type.__swig_getmethods__.get(name,None)
27
if method: return method(self)
28
raise AttributeError,name
32
_object = types.ObjectType
34
except AttributeError:
40
TDB_REPLACE = _tdb.TDB_REPLACE
41
TDB_INSERT = _tdb.TDB_INSERT
42
TDB_MODIFY = _tdb.TDB_MODIFY
43
TDB_DEFAULT = _tdb.TDB_DEFAULT
44
TDB_CLEAR_IF_FIRST = _tdb.TDB_CLEAR_IF_FIRST
45
TDB_INTERNAL = _tdb.TDB_INTERNAL
46
TDB_NOLOCK = _tdb.TDB_NOLOCK
47
TDB_NOMMAP = _tdb.TDB_NOMMAP
48
TDB_CONVERT = _tdb.TDB_CONVERT
49
TDB_BIGENDIAN = _tdb.TDB_BIGENDIAN
53
open_ex = _tdb.open_ex
57
reopen_all = _tdb.reopen_all
59
logging_function = _tdb.logging_function
63
errorstr = _tdb.errorstr
75
firstkey = _tdb.firstkey
77
nextkey = _tdb.nextkey
79
traverse = _tdb.traverse
83
lockall = _tdb.lockall
85
unlockall = _tdb.unlockall
87
chainlock = _tdb.chainlock
89
chainunlock = _tdb.chainunlock
91
dump_all = _tdb.dump_all
93
printfreelist = _tdb.printfreelist