Definition at line 30 of file BPhysPyHelpers.py.
◆ __init__()
| BPhysPyHelpers.BPyWrapper.__init__ |
( |
| self, |
|
|
| wclass, |
|
|
* | args, |
|
|
** | kargs ) |
Definition at line 33 of file BPhysPyHelpers.py.
33 def __init__(self, wclass, *args, **kargs):
34 object.__setattr__(self, 'wclass', wclass(*args, **kargs))
35
36 for n,v in self.wclass.__slots__.items():
37 if not hasattr(self.wclass, n):
38 setattr(self.wclass, n, v)
39
◆ __call__()
| BPhysPyHelpers.BPyWrapper.__call__ |
( |
| self, |
|
|
* | args, |
|
|
** | kwargs ) |
Definition at line 46 of file BPhysPyHelpers.py.
46 def __call__(self, *args, **kwargs):
47 return self.wclass(*args, **kwargs)
48
49
50
51
◆ __getattr__()
| BPhysPyHelpers.BPyWrapper.__getattr__ |
( |
| self, |
|
|
| attr ) |
Definition at line 40 of file BPhysPyHelpers.py.
40 def __getattr__(self, attr):
41 return self.wclass.__getattribute__(attr)
42
◆ __setattr__()
| BPhysPyHelpers.BPyWrapper.__setattr__ |
( |
| self, |
|
|
| attr, |
|
|
| value ) |
Definition at line 43 of file BPhysPyHelpers.py.
43 def __setattr__(self, attr, value):
44 setattr(self.wclass, attr, value)
45
◆ __slots__
| dict BPhysPyHelpers.BPyWrapper.__slots__ = {'wclass' : object} |
|
staticprivate |
◆ wclass
| BPhysPyHelpers.BPyWrapper.wclass |
The documentation for this class was generated from the following file: