a.h

来自「VB Script脚本引擎及例子程序」· C头文件 代码 · 共 60 行

H
60
字号
// A.h: interface for the CA class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_A_H__435E1BF3_B431_4B28_B89B_79CF5A1DD5CC__INCLUDED_)
#define AFX_A_H__435E1BF3_B431_4B28_B89B_79CF5A1DD5CC__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


typedef struct _tagCELLINF{
	int nColIdx;
	int nRowIdx;
	CString strValue;
}CELLINF;
typedef CArray<CELLINF*,CELLINF*>CellInfArr;

typedef struct _tagCOLDEF{
	int nColIdx;
	CString strFldName;
}COLDEF;
typedef CArray<COLDEF*,COLDEF*>ColDefArr;

typedef struct _tagROWDEF{
	int nRowIdx;
	CString strRowName;
}ROWDEF;
typedef CArray<ROWDEF*,ROWDEF*>RowDefArr;


typedef struct _tagGRIDINF{
	int ColIdx;
	int RowIdx;
	CellInfArr* cellArr;
	ColDefArr* colArr;
	RowDefArr* rowArr;
	CString strPTName;
}GRIDINF;
typedef CArray<GRIDINF*,GRIDINF*>GridInfArr;




class CA  
{
public:
	CA();
	virtual ~CA();
	GridInfArr* gridInfArr;
	BOOL bAdtType;//FALSE:后台审核TRUE:前台审核
	//如果是前台审核,做一个从页面取数的操作,
	//如果是后台审核,取数操作是一个批量循环的过程,
	//具体操作具体考虑
	//取数的函数,还是需要提供不同类型的数据获取
};

#endif // !defined(AFX_A_H__435E1BF3_B431_4B28_B89B_79CF5A1DD5CC__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?