示例#1
0
文件: fsttools.c 项目: gitgun/dLabPro
INT16 CFsttools_OnRcByUsedPath(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
    INT16 __nErr    = O_K;
    INT32  __nErrCnt = 0;
    data* idTransRC;
    FLOAT64 nPathWeight;
    INT64 nUnit;
    BOOL bReset;
    data* idUnitTransCount;
    fst* itFst;
    GET_THIS_VIRTUAL_RV(CFsttools,NOT_EXEC);
    MIC_CHECK;
    __nErrCnt = CDlpObject_GetErrorCount();
    itFst = MIC_GET_I_EX(itFst,fst,1,1);
    idUnitTransCount = MIC_GET_I_EX(idUnitTransCount,data,2,2);
    bReset = MIC_GET_B(3,0);
    nUnit = (INT64)MIC_GET_N(4,0);
    nPathWeight = MIC_GET_N(5,1);
    idTransRC = MIC_GET_I_EX(idTransRC,data,6,3);
    if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
    __nErr = CFsttools_RcByUsedPath(_this, idTransRC, nPathWeight, nUnit, bReset, idUnitTransCount, itFst);
    return __nErr;
}
示例#2
0
INT16 CFstsearch_OnRestart(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	GET_THIS_VIRTUAL_RV(CFstsearch,NOT_EXEC);
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = CFstsearch_Restart(_this);
	return __nErr;
}
示例#3
0
文件: dgen.cpp 项目: gitgun/dLabPro
INT16 CDgen::OnAddText()
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	char* sText = MIC_GET_S(1,0);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = AddText(sText);
	return __nErr;
}
示例#4
0
文件: file.c 项目: thias42/dLabPro
INT16 CDlpFile_OnNext(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	GET_THIS_VIRTUAL_RV(CDlpFile,NOT_EXEC);
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	MIC_PUT_S(CDlpFile_Next(_this));
	return __nErr;
}
示例#5
0
INT16 CFWTproc::OnGetCoef()
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
    INT16 __nErr    = O_K;
    INT32  __nErrCnt = 0;
    MIC_CHECK;
    __nErrCnt = CDlpObject_GetErrorCount();
    data* idCoef = MIC_GET_I_EX(idCoef,data,1,1);
    if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
    __nErr = GetCoef(idCoef);
    return __nErr;
}
示例#6
0
INT16 CHelloworld_OnSayhello(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	GET_THIS_VIRTUAL_RV(CHelloworld,NOT_EXEC);
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = CHelloworld_Sayhello(_this);
	return __nErr;
}
示例#7
0
INT16 CFWTproc::OnSynthesize()
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
    INT16 __nErr    = O_K;
    INT32  __nErrCnt = 0;
    MIC_CHECK;
    __nErrCnt = CDlpObject_GetErrorCount();
    data* idSignal = MIC_GET_I_EX(idSignal,data,1,1);
    data* idTrans = MIC_GET_I_EX(idTrans,data,2,2);
    if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
    __nErr = Synthesize(idTrans, idSignal);
    return __nErr;
}
示例#8
0
INT16 CFstsearch_OnIsearch(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	data* idWeights;
	GET_THIS_VIRTUAL_RV(CFstsearch,NOT_EXEC);
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	idWeights = MIC_GET_I_EX(idWeights,data,1,1);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = CFstsearch_Isearch(_this, idWeights);
	return __nErr;
}
示例#9
0
/*{{CGEN_CPMIC */
INT16 CFstsearch_OnBacktrack(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	fst* itDst;
	GET_THIS_VIRTUAL_RV(CFstsearch,NOT_EXEC);
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	itDst = MIC_GET_I_EX(itDst,fst,1,1);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = CFstsearch_Backtrack(_this, itDst);
	return __nErr;
}
示例#10
0
文件: dgen.cpp 项目: gitgun/dLabPro
INT16 CDgen::OnScan()
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	fst* itDeps = MIC_GET_I_EX(itDeps,fst,1,1);
	char* sParser = MIC_GET_S(2,0);
	char* sFilename = MIC_GET_S(3,1);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = Scan(sFilename, sParser, itDeps);
	return __nErr;
}
示例#11
0
文件: pmproc.cpp 项目: gitgun/dLabPro
INT16 CPMproc::OnExpandPm()
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
    INT16 __nErr    = O_K;
    INT32  __nErrCnt = 0;
    MIC_CHECK;
    __nErrCnt = CDlpObject_GetErrorCount();
    INT32 n = (INT32)MIC_GET_N(1,0);
    data* idDst = MIC_GET_I_EX(idDst,data,2,1);
    data* idSrc = MIC_GET_I_EX(idSrc,data,3,2);
    if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
    __nErr = ExpandPm(idSrc, idDst, n);
    return __nErr;
}
示例#12
0
文件: fsttools.c 项目: gitgun/dLabPro
INT16 CFsttools_OnRemoveMl2(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
    INT16 __nErr    = O_K;
    INT32  __nErrCnt = 0;
    fst* itR;
    GET_THIS_VIRTUAL_RV(CFsttools,NOT_EXEC);
    MIC_CHECK;
    __nErrCnt = CDlpObject_GetErrorCount();
    itR = MIC_GET_I_EX(itR,fst,1,1);
    if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
    __nErr = CFsttools_RemoveMl2(_this, itR);
    return __nErr;
}
示例#13
0
文件: file.c 项目: thias42/dLabPro
INT16 CDlpFile_OnGetRootClass(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	char* sFilename;
	GET_THIS_VIRTUAL_RV(CDlpFile,NOT_EXEC);
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	sFilename = MIC_GET_S(1,0);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	MIC_PUT_S(CDlpFile_GetRootClass(_this, sFilename));
	return __nErr;
}
示例#14
0
//{{CGEN_PMIC
INT16 CFWTproc::OnAnalyze()
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
    INT16 __nErr    = O_K;
    INT32  __nErrCnt = 0;
    MIC_CHECK;
    __nErrCnt = CDlpObject_GetErrorCount();
    data* idImag = MIC_GET_I_EX(idImag,data,1,1);
    data* idReal = MIC_GET_I_EX(idReal,data,2,2);
    data* idPitch = MIC_GET_I_EX(idPitch,data,3,3);
    data* idSignal = MIC_GET_I_EX(idSignal,data,4,4);
    if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
    __nErr = Analyze(idSignal, idPitch, idReal, idImag);
    return __nErr;
}
示例#15
0
文件: dgen.cpp 项目: gitgun/dLabPro
INT16 CDgen::OnParse()
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	INT32 nLtok = (INT32)MIC_GET_N(1,0);
	INT32 nFtok = (INT32)MIC_GET_N(2,1);
	fst* itDeps = MIC_GET_I_EX(itDeps,fst,3,1);
	char* sParser = MIC_GET_S(4,0);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = Parse(sParser, itDeps, nFtok, nLtok);
	return __nErr;
}
示例#16
0
文件: dgen.cpp 项目: gitgun/dLabPro
//{{CGEN_PMIC
INT16 CDgen::OnEditSection()
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	char* sOpname = MIC_GET_S(1,0);
	data* idText = MIC_GET_I_EX(idText,data,2,1);
	char* sMarkOff = MIC_GET_S(3,1);
	char* sMarkOn = MIC_GET_S(4,2);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = EditSection(sMarkOn, sMarkOff, idText, sOpname);
	return __nErr;
}
示例#17
0
文件: pmproc.cpp 项目: gitgun/dLabPro
INT16 CPMproc::OnFill()
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
    INT16 __nErr    = O_K;
    INT32  __nErrCnt = 0;
    MIC_CHECK;
    __nErrCnt = CDlpObject_GetErrorCount();
    const char* method = MIC_GET_S(1,0);
    INT32 n = (INT32)MIC_GET_N(2,0);
    data* idDst = MIC_GET_I_EX(idDst,data,3,1);
    data* idSrc = MIC_GET_I_EX(idSrc,data,4,2);
    if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
    __nErr = Fill(idSrc, idDst, n, method);
    return __nErr;
}
示例#18
0
文件: dgen.cpp 项目: gitgun/dLabPro
INT16 CDgen::OnTable()
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	char* sSuf = MIC_GET_S(1,0);
	char* sDel = MIC_GET_S(2,1);
	char* sPre = MIC_GET_S(3,2);
	data* idTable = MIC_GET_I_EX(idTable,data,4,1);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = Table(idTable, sPre, sDel, sSuf);
	return __nErr;
}
示例#19
0
INT16 CFFTproc::OnWarp()
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	INT32 odim = (INT32)MIC_GET_N(1,0);
	FLOAT64 lambda = MIC_GET_N(2,1);
	data* out = MIC_GET_I_EX(out,data,3,1);
	data* in = MIC_GET_I_EX(in,data,4,2);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = Warp(in, out, lambda, odim);
	return __nErr;
}
示例#20
0
文件: fsttools.c 项目: gitgun/dLabPro
INT16 CFsttools_OnRemoveExLoops(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
    INT16 __nErr    = O_K;
    INT32  __nErrCnt = 0;
    INT64 nUnit;
    fst* itFst;
    GET_THIS_VIRTUAL_RV(CFsttools,NOT_EXEC);
    MIC_CHECK;
    __nErrCnt = CDlpObject_GetErrorCount();
    itFst = MIC_GET_I_EX(itFst,fst,1,1);
    nUnit = (INT64)MIC_GET_N(2,0);
    if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
    __nErr = CFsttools_RemoveExLoops(_this, nUnit, itFst);
    return __nErr;
}
示例#21
0
文件: fsttools.c 项目: gitgun/dLabPro
INT16 CFsttools_OnLmAddInputTrans(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
    INT16 __nErr    = O_K;
    INT32  __nErrCnt = 0;
    fst* itLM;
    INT64 nUnit;
    GET_THIS_VIRTUAL_RV(CFsttools,NOT_EXEC);
    MIC_CHECK;
    __nErrCnt = CDlpObject_GetErrorCount();
    nUnit = (INT64)MIC_GET_N(1,0);
    itLM = MIC_GET_I_EX(itLM,fst,2,1);
    if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
    __nErr = CFsttools_LmAddInputTrans(_this, itLM, nUnit);
    return __nErr;
}
示例#22
0
文件: fvrtools.c 项目: gitgun/dLabPro
INT16 CFvrtools_OnSynthesize(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	fst* itDst;
	fst* itFvr;
	GET_THIS_VIRTUAL_RV(CFvrtools,NOT_EXEC);
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	itFvr = MIC_GET_I_EX(itFvr,fst,1,1);
	itDst = MIC_GET_I_EX(itDst,fst,2,2);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = CFvrtools_Synthesize(_this, itDst, itFvr);
	return __nErr;
}
示例#23
0
文件: fvrtools.c 项目: gitgun/dLabPro
INT16 CFvrtools_OnIsFvr(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	INT32 nU;
	fst* itFvr;
	GET_THIS_VIRTUAL_RV(CFvrtools,NOT_EXEC);
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	itFvr = MIC_GET_I_EX(itFvr,fst,1,1);
	nU = (INT32)MIC_GET_N(2,0);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	MIC_PUT_B(CFvrtools_IsFvr(_this, nU, itFvr));
	return __nErr;
}
示例#24
0
文件: fvrtools.c 项目: gitgun/dLabPro
/*{{CGEN_CPMIC */
INT16 CFvrtools_OnFromString(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	char* src;
	fst* itFvr;
	GET_THIS_VIRTUAL_RV(CFvrtools,NOT_EXEC);
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	itFvr = MIC_GET_I_EX(itFvr,fst,1,1);
	src = MIC_GET_S(2,0);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = CFvrtools_FromString(_this, src, itFvr);
	return __nErr;
}
示例#25
0
文件: file.c 项目: thias42/dLabPro
INT16 CDlpFile_OnImport(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	const char* sFilename;
	const char* sFilter;
	CDlpObject* iInst;
	GET_THIS_VIRTUAL_RV(CDlpFile,NOT_EXEC);
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	iInst = MIC_GET_I(1,1);
	sFilter = MIC_GET_S(2,0);
	sFilename = MIC_GET_S(3,1);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = CDlpFile_Import(_this, sFilename, sFilter, iInst);
	return __nErr;
}
示例#26
0
文件: file.c 项目: thias42/dLabPro
INT16 CDlpFile_OnPartition(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	file* iSrc;
	FLOAT64 nPartSize;
	INT32 nPartNum;
	GET_THIS_VIRTUAL_RV(CDlpFile,NOT_EXEC);
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	nPartNum = (INT32)MIC_GET_N(1,0);
	nPartSize = MIC_GET_N(2,1);
	iSrc = MIC_GET_I_EX(iSrc,file,3,1);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = CDlpFile_Partition(_this, iSrc, nPartSize, nPartNum);
	return __nErr;
}
示例#27
0
/*{{CGEN_CPMIC */
INT16 CHelloworld_OnDm(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
	INT16 __nErr    = O_K;
	INT32  __nErrCnt = 0;
	data* idSrc;
	INT64 nOversample;
	data* idDst;
	GET_THIS_VIRTUAL_RV(CHelloworld,NOT_EXEC);
	MIC_CHECK;
	__nErrCnt = CDlpObject_GetErrorCount();
	idDst = MIC_GET_I_EX(idDst,data,1,1);
	nOversample = (INT64)MIC_GET_N(2,0);
	idSrc = MIC_GET_I_EX(idSrc,data,3,2);
	if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
	__nErr = CHelloworld_Dm(_this, idSrc, nOversample, idDst);
	return __nErr;
}
示例#28
0
文件: fsttools.c 项目: gitgun/dLabPro
INT16 CFsttools_OnNmg2lm(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
    INT16 __nErr    = O_K;
    INT32  __nErrCnt = 0;
    fst* itSrc;
    INT64 nUnit;
    INT64 nNGram;
    fst* itDst;
    GET_THIS_VIRTUAL_RV(CFsttools,NOT_EXEC);
    MIC_CHECK;
    __nErrCnt = CDlpObject_GetErrorCount();
    itDst = MIC_GET_I_EX(itDst,fst,1,1);
    nNGram = (INT64)MIC_GET_N(2,0);
    nUnit = (INT64)MIC_GET_N(3,1);
    itSrc = MIC_GET_I_EX(itSrc,fst,4,2);
    if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
    __nErr = CFsttools_Nmg2lm(_this, itSrc, nUnit, nNGram, itDst);
    return __nErr;
}
示例#29
0
文件: fsttools.c 项目: gitgun/dLabPro
INT16 CFsttools_OnLmClusterClasses(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
    INT16 __nErr    = O_K;
    INT32  __nErrCnt = 0;
    fst* itLM;
    INT64 nNClass;
    INT64 nNLoops;
    data* idClassMap;
    GET_THIS_VIRTUAL_RV(CFsttools,NOT_EXEC);
    MIC_CHECK;
    __nErrCnt = CDlpObject_GetErrorCount();
    idClassMap = MIC_GET_I_EX(idClassMap,data,1,1);
    nNLoops = (INT64)MIC_GET_N(2,0);
    nNClass = (INT64)MIC_GET_N(3,1);
    itLM = MIC_GET_I_EX(itLM,fst,4,2);
    if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
    __nErr = CFsttools_LmClusterClasses(_this, itLM, nNClass, nNLoops, idClassMap);
    return __nErr;
}
示例#30
0
文件: fsttools.c 项目: gitgun/dLabPro
INT16 CFsttools_OnSumCompId(CDlpObject* __this)
/* DO NOT CALL THIS FUNCTION FROM C++ SCOPE.     */
/* IT MAY INTERFERE WITH THE INTERPRETER SESSION */
{
    INT16 __nErr    = O_K;
    INT32  __nErrCnt = 0;
    data* Src;
    INT64 Cid;
    INT64 DstRecs;
    data* Dst;
    GET_THIS_VIRTUAL_RV(CFsttools,NOT_EXEC);
    MIC_CHECK;
    __nErrCnt = CDlpObject_GetErrorCount();
    Dst = MIC_GET_I_EX(Dst,data,1,1);
    DstRecs = (INT64)MIC_GET_N(2,0);
    Cid = (INT64)MIC_GET_N(3,1);
    Src = MIC_GET_I_EX(Src,data,4,2);
    if (CDlpObject_GetErrorCount()>__nErrCnt) return NOT_EXEC;
    __nErr = CFsttools_SumCompId(_this, Src, Cid, DstRecs, Dst);
    return __nErr;
}