changeset 68 | 234dad27b398 |
parent 67 | 51642fb5a0af |
child 176 | 5d57fe1e3a5b |
67:51642fb5a0af | 68:234dad27b398 |
---|---|
503 if index in self.Dictionary and index in self.ParamsDictionary and "callback" in self.ParamsDictionary[index]: |
503 if index in self.Dictionary and index in self.ParamsDictionary and "callback" in self.ParamsDictionary[index]: |
504 return self.ParamsDictionary[index]["callback"] |
504 return self.ParamsDictionary[index]["callback"] |
505 return False |
505 return False |
506 |
506 |
507 """ |
507 """ |
508 Check if an entry exists in the User Mapping Dictionary and returns the answer. |
|
509 """ |
|
510 def IsMappingEntry(self, index): |
|
511 if index in self.UserMapping: |
|
512 return True |
|
513 return False |
|
514 |
|
515 """ |
|
508 Add a new entry in the User Mapping Dictionary |
516 Add a new entry in the User Mapping Dictionary |
509 """ |
517 """ |
510 def AddMappingEntry(self, index, subIndex = None, name = "Undefined", struct = 0, size = None, nbmax = None, default = None, values = None): |
518 def AddMappingEntry(self, index, subIndex = None, name = "Undefined", struct = 0, size = None, nbmax = None, default = None, values = None): |
511 if index not in self.UserMapping: |
519 if index not in self.UserMapping: |
512 if values == None: |
520 if values == None: |