def to_string(self): utils.setParameter('boost_unordered_map_iterator_first', 1) iterator = str(self.val['mImp']['mPropertyMapIt']) utils.setParameter('boost_unordered_map_iterator_first', 0) if iterator == '<< Invalid Iterator >>': iterator = '' return iterator
def to_string(self): parent = self.val names = [] while parent: utils.setParameter('std_map_iterator_first', True) s = str(parent['mParentIter']) utils.setParameter('std_map_iterator_first', False) if s != utils.invalid_iterator: names.insert(0, s) parent = parent['mParent'] if len(names): return '/' + '/'.join(names) return '/'