Пример #1
0
def _map_de_waldoify(map_obj,invalid_listener):
    '''
    @see _ReferenceBase.de_waldoify
    '''
    keys = map_obj.get_keys(invalid_listener)
    to_return = {}

    for key in keys:
        key = waldoExecutingEvent.de_waldoify(key,invalid_listener)
        val = waldoExecutingEvent.de_waldoify(
            map_obj.get_val_on_key(invalid_listener,key),invalid_listener)

        to_return[key] = val

    return to_return
Пример #2
0
    def de_waldoify(self, invalid_listener):
        """
        @see _ReferenceBase.de_waldoify
        """
        internal_len = self.get_len(invalid_listener)
        to_return = []
        for index in range(0, internal_len):
            val = self.get_val_on_key(invalid_listener, index)
            de_waldoed_val = waldoExecutingEvent.de_waldoify(val, invalid_listener)

            to_return.append(de_waldoed_val)

        return to_return
Пример #3
0
def _list_de_waldoify(list_obj,invalid_listener):
    '''
    @see _ReferenceBase.de_waldoify
    '''
    internal_len = list_obj.get_len(invalid_listener)
    to_return = []
    for index in range(0, internal_len):
        val = list_obj.get_val_on_key(invalid_listener,index)
        de_waldoed_val = waldoExecutingEvent.de_waldoify(
            val, invalid_listener)

        to_return.append(de_waldoed_val)

    return to_return