Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | # This file was created automatically by SWIG 1.3.26. |
2 | # Don't modify this file, modify the SWIG interface instead. | |
3 | ||
4 | import _Pfe_Conversion | |
5 | ||
6 | # This file is compatible with both classic and new-style classes. | |
7 | def _swig_setattr_nondynamic(self,class_type,name,value,static=1): | |
8 | if (name == "this"): | |
9 | if isinstance(value, class_type): | |
10 | self.__dict__[name] = value.this | |
11 | if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown | |
12 | del value.thisown | |
13 | return | |
14 | method = class_type.__swig_setmethods__.get(name,None) | |
15 | if method: return method(self,value) | |
16 | if (not static) or hasattr(self,name) or (name == "thisown"): | |
17 | self.__dict__[name] = value | |
18 | else: | |
19 | raise AttributeError("You cannot add attributes to %s" % self) | |
20 | ||
21 | def _swig_setattr(self,class_type,name,value): | |
22 | return _swig_setattr_nondynamic(self,class_type,name,value,0) | |
23 | ||
24 | def _swig_getattr(self,class_type,name): | |
25 | method = class_type.__swig_getmethods__.get(name,None) | |
26 | if method: return method(self) | |
27 | raise AttributeError,name | |
28 | ||
29 | import types | |
30 | try: | |
31 | _object = types.ObjectType | |
32 | _newclass = 1 | |
33 | except AttributeError: | |
34 | class _object : pass | |
35 | _newclass = 0 | |
36 | del types | |
37 | ||
38 | ||
39 | ||
40 | decmode = _Pfe_Conversion.decmode | |
41 | ||
42 | hexmode = _Pfe_Conversion.hexmode | |
43 | ||
44 | w2f = _Pfe_Conversion.w2f | |
45 | ||
46 | f2w = _Pfe_Conversion.f2w | |
47 | ||
48 | x2d = _Pfe_Conversion.x2d | |
49 | ||
50 | d2x = _Pfe_Conversion.d2x | |
51 | ||
52 | x2x = _Pfe_Conversion.x2x | |
53 | ||
54 | w2w = _Pfe_Conversion.w2w | |
55 | ||
56 | h2h = _Pfe_Conversion.h2h | |
57 | ||
58 |