def pickle_value(self): tupleid = TupleID(abs_to_rel_tuple( self.target._tupleid, self.parent._tupleid )) tupleid.pickle_args(self.writer.pickledata)
def encode(self): tupleid = TupleID( abs_to_rel_tuple(self.target.value._tupleid, self.parent._tupleid)) if tuple(int(i) for i in mx.__version__.split(".")[:3]) < (0, 10): return "(\"Interface\", %s)" % tupleid.serialize() else: return "(\"Interface\", %s, \"%s\")" % (tupleid.serialize(), self.target.refmode)
def encode(self): tupleid = TupleID( abs_to_rel_tuple(self.target._tupleid, self.parent._tupleid)) return "(\"Interface\", %s)" % tupleid.serialize()