'µÚÒ»ÐÐµÄžöÔªËØÊÇ·ñ·ûºÏ¶šÒåžñÊœ"name[signs][func]"ÒÔŒ°keyÊÇ·ñ·ûºÏ¹æ¶š'

def __checkDefine(self):

    print '\xbc\xec\xb2\xe2\xce\xc4\xbc\xfe\xcd\xb7(\xb5\xda\xd2\xbb\xd0\xd0)\xca\xc7\xb7\xf1\xd5\xfd\xc8\xb7'
    for index in self.__exportSheetIndex:
        self.sheetKeys = []
        headList = self.xbook.getRowValues(self.xbook.getSheetByIndex(index), (EXPORT_DEFINE_ROW - 1))
        enName = []
        reTuples = []
        self.headerDict[index] = {}
        for (c, head) in enumerate(headList):
            if ((head is None) or (head.strip() == '')):
                self.__onCheckSheetHeader(self.headerDict[index], c, None)
                continue
            reTuple = self.__reCheck(head)
            if (len(reTuple) == 3):
                (name, signs, funcName) = (reTuple[0], reTuple[1][1:(-1)], reTuple[2][1:(-1)])
                name = self.__convertKeyName(name)
                for s in signs:
                    if (s not in EXPORT_ALL_SIGNS):
                        self.xlsxClear(EXPORT_ERROR_NOSIGN, (EXPORT_DEFINE_ROW, (c + 1)))
                if (EXPORT_SIGN_GTH in signs):
                    self.sheetKeys.append(c)
                if (len(self.sheetKeys) > EXPORT_KEY_NUMS):
                    self.xlsxClear(EXPORT_ERROR_NUMKEY, (EXPORT_DEFINE_ROW, (c + 1)))
                if (name not in enName):
                    enName.append(name)
                else:
                    self.xlsxClear(EXPORT_ERROR_REPEAT, (self.xbook.getSheetNameByIndex(index).encode(FILE_CODE), EXPORT_DEFINE_ROW, (c + 1)))
                if (not hasFunc(funcName)):
                    self.xlsxClear(EXPORT_ERROR_NOFUNC, (xlsxtool.toGBK(funcName), (c + 1)))
            else:
                self.xlsxClear(EXPORT_ERROR_HEADER, (self.xbook.getSheetNameByIndex(index).encode(FILE_CODE), EXPORT_DEFINE_ROW, (c + 1)))
            self.__onCheckSheetHeader(self.headerDict[index], c, (name, signs, funcName))
        self.__onCheckDefine()
    return
