zoukankan      html  css  js  c++  java
  • 遍历AOT中所有表检查Relation 有无unknow

    static void NJ_MF_CheckAllTable(Args _args)
    {
        inventtable         invent;
        Dictionary          dictionary = new Dictionary();
        DictTable           dictTable;

        int                 i,m,n;
        ;

        for (i=1; i<=dictionary.tableCnt(); i++)
        {
             dictTable = new DictTable(dictionary.tableCnt2Id(i));

             for (m=1; m<=dictTable.relationCnt(); m++)
             {
                if (dictTable.relation(m) == "")
                {
                    print dictTable.name();
                }
             }
             for (n=1; n<=dictTable.deleteActionCnt(); n++)
             {
                if (dictTable.deleteActionTableId(n) == 0)
                {
                    print dictTable.name();
                    //if(i > 10 )
                    //pause;
                }
             }

        }

        //dictTable = new dictTable(tablenum("NJ_CustomInvTable"));
        //print dictTable.deleteActionTableId(2);
        //print dictTable.relation(0);
        //print dictTable.name();
        pause;
    }

  • 相关阅读:
    CodeForces
    处女座的测验(一)(素数筛+思维)
    Codeforces-D-Diverse Garland(思维)
    linux中open函数使用
    linux管道通信
    linux中memset的正确用法
    在linux中read、write函数
    Ubuntu+Win7+Samba实现文件共享
    【转】教你如何实现linux和W…
    《转》我的ARM学习经历
  • 原文地址:https://www.cnblogs.com/perock/p/2282384.html
Copyright © 2011-2022 走看看