⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 docmanage.h

📁 文档生成工具 XML例子
💻 H
字号:
// DocManage.h: interface for the CDocManage class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DOCMANAGE_H__8C598D8E_C92C_4890_88F4_646297A9DA1A__INCLUDED_)
#define AFX_DOCMANAGE_H__8C598D8E_C92C_4890_88F4_646297A9DA1A__INCLUDED_

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

class CDocManage  
{
public:
	long GetMemberNum(CString strClassName, CString strQuery);
	BOOL DeleteProperty(CString strClassName, int ID);
	BOOL DeleteFunction(CString strClassName,int ID);
	BOOL DeleteClass(CString strClassName);
	BOOL ExistFile(char *pszFilePath);
	CString CreateTemplate();
	void FormatData(char *pszData, int num);
	BOOL BringDoc(CString strClassName, BOOL bPublic, BOOL bProtected, BOOL bPrivate, BOOL bFunction, BOOL bProperty);
	BOOL AddProperty(CString strClassName, CString strPropertyType, CString strPropertyName, CString strVisit);
	BOOL AddFunction(CString strClassName, CString strFunctionDeclare, CString strFunctionName, CString strVisit);
	BOOL ModifyPropertyInfo(CMapStringToString *propertyMap, CString strClassName, CString strID);
	BOOL ModifyFunctionInfo(CMapStringToString* functionMap, CString strClassName, CString strID);
	CMapStringToString* ReadPropertyInfo(CString strClassName, CString strID);
	CMapStringToString* ReadFunctionInfo(CString strClassName, CString strID);
	BOOL WriteClassHead(CString strClassName, CString strBaseClass, CString strClassDesc);
	BOOL ReadPropertyInfo(CListCtrl &listCtrl, CString strClassName, CString strVisit);
	BOOL ReadFunctionInfo(CListCtrl& listCtrl, CString strClassName,  CString strVisit);
	BOOL WriteClassDesc(CString strClassName, CString strClassDesc);
	CString ReadClassDesc(CString strClassName);
	CDocManage();
	virtual ~CDocManage();
	BOOL ReadClassList(CListCtrl &listctrl,CString strPath);

private:	
	BOOL PutPropertyInfo(FILE *pDocFile, CString strClassName, CString strVisit);
	BOOL PutPropertyAllInfo(FILE *pDocFile, CString strClassName, CString strVisit);
	BOOL PutFunctionAllInfo(FILE *pDocFile, CString strClassName, CString strVisit);
	BOOL PutFunctionInfo(FILE *pDocFile, CString strClassName, CString strVisit);
};

#endif // !defined(AFX_DOCMANAGE_H__8C598D8E_C92C_4890_88F4_646297A9DA1A__INCLUDED_)

⌨️ 快捷键说明

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