![]() |
![]() |
Public Member Functions | |
def | __getattr__ (self, attr) |
def | __init__ (self, object, accessor, throwAttributeErrors=True) |
def | runScript (self, script) |
Private Attributes | |
_accessor | |
_object | |
_throwAttributeErrors | |
This class gives a comfortable Interface to objects accessible via an accessor. Given the object and the accessor all properties and attributes of the object and the accessor are accessible via __getattr__. A script in which all attributes of the objects can be accessed can be run.
Definition at line 77 of file BasicDataAccessor.py.
def Vispa.Share.BasicDataAccessor.BasicDataAccessorInterface.__init__ | ( | self, | |
object, | |||
accessor, | |||
throwAttributeErrors = True |
|||
) |
Definition at line 84 of file BasicDataAccessor.py.
def Vispa.Share.BasicDataAccessor.BasicDataAccessorInterface.__getattr__ | ( | self, | |
attr | |||
) |
Definition at line 89 of file BasicDataAccessor.py.
References Vispa.Share.BasicDataAccessor.BasicDataAccessorInterface._accessor, Vispa.Share.BasicDataAccessor.BasicDataAccessorInterface._object, and Vispa.Share.BasicDataAccessor.BasicDataAccessorInterface._throwAttributeErrors.
Referenced by VarParsing.VarParsing.setType().
def Vispa.Share.BasicDataAccessor.BasicDataAccessorInterface.runScript | ( | self, | |
script | |||
) |
|
private |
Definition at line 86 of file BasicDataAccessor.py.
Referenced by Vispa.Share.BasicDataAccessor.BasicDataAccessorInterface.__getattr__().
|
private |
Definition at line 85 of file BasicDataAccessor.py.
Referenced by Vispa.Share.BasicDataAccessor.BasicDataAccessorInterface.__getattr__(), Vispa.Views.LineDecayView.ParticleWidget.object(), and Vispa.Views.LineDecayView.ParticleWidget.setObject().
|
private |
Definition at line 87 of file BasicDataAccessor.py.
Referenced by Vispa.Share.BasicDataAccessor.BasicDataAccessorInterface.__getattr__().