docmanage.h
来自「文档生成工具 XML例子」· C头文件 代码 · 共 46 行
H
46 行
// 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 + =
减小字号Ctrl + -
显示快捷键?