def METHOD_NAME(self, block):
    ostr = ""
    varvec = []
    idxblk = copy.deepcopy(block)
    index = 0
    idxblk.data = {}
    for key in block.data_ordered:
        varvec.append(block.data[key])
        idxblk.data[key] = "int(" + str(index) + ")"
        index += 1
    ostr += self.map_tostring(idxblk, block.name + "_map", True, False) + "\n"
    ostr += "static const bvalue __vlist_array[] = {\n";
    for it in varvec:
        ostr += "    be_const_" + it + ",\n"
    ostr += "};\n\n"
    ostr += "static be_define_const_vector(\n    "
    ostr += block.name + "_vector,\n    __vlist_array,\n    "
    ostr += str(len(varvec)) + "\n);\n"
    return ostr