Definition at line 30 of file BPhysPyHelpers.py.
◆ __init__()
def 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))
36 for n,v
in self.wclass.__slots__.items():
37 if not hasattr(self.wclass, n):
38 setattr(self.wclass, n, v)
◆ __call__()
def 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)
◆ __getattr__()
def BPhysPyHelpers.BPyWrapper.__getattr__ |
( |
|
self, |
|
|
|
attr |
|
) |
| |
Definition at line 40 of file BPhysPyHelpers.py.
40 def __getattr__(self, attr):
41 return self.wclass.__getattribute__(attr)
◆ __setattr__()
def BPhysPyHelpers.BPyWrapper.__setattr__ |
( |
|
self, |
|
|
|
attr, |
|
|
|
value |
|
) |
| |
◆ __slots__
dictionary BPhysPyHelpers.BPyWrapper.__slots__ = {'wclass' : object} |
|
staticprivate |
The documentation for this class was generated from the following file: