def __init__(self, iotype, client, rpath):
     VarTreeMixin.__init__(self, iotype, client, rpath)
     VariableTree.__init__(self, iotype=iotype)
     self.__doc__ = client.get(rpath+'.description')
     xml = client.get(rpath)
     populate_from_xml(self, xml)
     self._dirty = False
Example #2
0
 def __init__(self, iotype, client, rpath):
     VarTreeMixin.__init__(self, iotype, client, rpath)
     desc = client.get(rpath + '.description')
     VariableTree.__init__(self, doc=desc, iotype=iotype)
     xml = client.get(rpath)
     populate_from_xml(self, xml)
     self._dirty = False
Example #3
0
    def __init__(self, iotype, client, rpath):
        super(ObjProxy, self).__init__(iotype=iotype)

        self._iotype = iotype
        self._client = client
        self._rpath = rpath
        self._valstr = client.get(rpath)  # Needed for later restore.
        self._dirty = False  # Set True after something is modified,

        self.__doc__ = client.get(rpath+'.description')
        xml = client.get(rpath)
        populate_from_xml(self, xml)
        self._dirty = False