📄 cexfunction.xml
字号:
<?xml version="1.0" encoding="GB2312" ?><class name="CExFunction"> <explain>函数类
</explain> <function name="CExFunction"> <prototype index="1">CExFunction();</prototype> <desc>构造函数
</desc> <explain>构造函数
</explain> </function> <function name="~CExFunction"> <prototype index="1">virtual ~CExFunction();</prototype> <desc>析构函数
</desc> <explain>析构函数
</explain> </function> <function name="ParseFunction"> <prototype index="1">static CExFunction* ParseFunction(CTokenList& iList,UINT iAccessTrim= 0x0040,BOOL iDefinition=FALSE,CTokenList* iopSrcList=NULL,POSITION* iopPos=NULL,BOOL iIsInType=FALSE);</prototype> <desc>解析一个函数的代码
</desc> <explain>解析一个函数的代码
</explain> </function> <function name="UniteFunction"> <prototype index="1">void UniteFunction(CExFunction* ipOther);</prototype> <desc>合并函数,有两种情况:
1.将由实现代码解析得到的函数...</desc> <explain>合并函数,有两种情况:
1.将由实现代码解析得到的函数对象合并到由声明代码解析得到的函数中
2.重载函数,加入到重载函数列表
</explain> </function> <function name="operator=="> <prototype index="1">BOOL operator==(CExFunction& oOther);</prototype> <desc>==操作符
</desc> <explain>==操作符
</explain> </function> <function name="IsParamEqual"> <prototype index="1">BOOL IsParamEqual(LPCTSTR iParamType,int iIndex);</prototype> <desc>比较第N个参数是否相等
</desc> <explain>比较第N个参数是否相等
</explain> </function> <function name="GetParameterCount"> <prototype index="1">int GetParameterCount() const;</prototype> <desc>参数个数
</desc> <explain>参数个数
</explain> </function> <function name="GetPrototype"> <prototype index="1">void GetPrototype(CString& oPrototype);</prototype> <desc>取得函数原形
</desc> <explain>取得函数原形
</explain> </function> <function name="GetFirstRewriteFunctionPosition"> <prototype index="1">POSITION GetFirstRewriteFunctionPosition();</prototype> <desc>取得第一个重载函数的POSITION,用于输出重载函数的数...</desc> <explain>取得第一个重载函数的POSITION,用于输出重载函数的数据如原形
</explain> </function> <function name="GetNextRewriteFunction"> <prototype index="1">CExFunction* GetNextRewriteFunction(POSITION& ioPos);</prototype> <desc>取得下一个重载函数
</desc> <explain>取得下一个重载函数
</explain> </function> <function name="OutputSymbols"> <prototype index="1">void OutputSymbols(CXml& oXml,LPCTSTR iPath);</prototype> <desc>输出数据到代码文档
</desc> <explain>输出数据到代码文档
</explain> </function> <function name="ParseDeclare"> <prototype index="1">static void ParseDeclare(CTokenList& iList,UINT iAccessTrim,CExFunction& oFunc,BOOL iIsInType=FALSE);</prototype> <desc>解析函数声明
</desc> <explain>解析函数声明
</explain> </function> <function name="SetReturnType"> <prototype index="1">void SetReturnType(LPCTSTR iReturnType);</prototype> <desc>设置返回类型
</desc> <explain>设置返回类型
</explain> </function> <function name="AddParameter"> <prototype index="1">void AddParameter(PARAMETER* ipParam);</prototype> <desc>加入一个参数项
</desc> <explain>加入一个参数项
</explain> </function> <function name="AddImpToken"> <prototype index="1">void AddImpToken(CToken* ipToken);</prototype> <desc>加入一个该函数的实现代码解析所获得的记号,
当前版本...</desc> <explain>加入一个该函数的实现代码解析所获得的记号,
当前版本只是保存实现代码记号,以后版本视需要可作进一步处理
</explain> </function> <function name="ParsePrecursor"> <prototype index="1">static void ParsePrecursor(CTokenList& iList,CExFunction& oFunc,BOOL iIsInType=FALSE);</prototype> <desc>解析函数名之前的部分
</desc> <explain>解析函数名之前的部分
</explain> </function> <function name="ParseTail"> <prototype index="1">static void ParseTail(CTokenList& iList,CExFunction& oFunc);</prototype> <desc>解析参数表后面的部分
</desc> <explain>解析参数表后面的部分
</explain> </function> <function name="ParseParameter"> <prototype index="1">static void ParseParameter(CTokenList& iList,CExFunction& oFunc);</prototype> <desc>解析参数表
</desc> <explain>解析参数表
</explain> </function> <function name="ParseOneParameter"> <prototype index="1">static PARAMETER* ParseOneParameter(CTokenList& iList);</prototype> <desc>解析一个参数,此函数实现代码有构造性问题,建议采用...</desc> <explain>解析一个参数,此函数实现代码有构造性问题,建议采用另一个版本
</explain> </function> <function name="ParseOneParameter2"> <prototype index="1">static PARAMETER* ParseOneParameter2(CTokenList& iList);</prototype> <desc>解析一个参数的第二个版本
</desc> <explain>解析一个参数的第二个版本
</explain> </function> <function name="ParseOneParameter2DefaultValue"> <prototype index="1">static void ParseOneParameter2DefaultValue(CTokenList& iList,PARAMETER& oParam);</prototype> <desc>解析参数的缺省值,如有缺省值,在解析后将对应的记号...</desc> <explain>解析参数的缺省值,如有缺省值,在解析后将对应的记号从列表中删除
</explain> </function> <function name="ParseOneParameter2Array"> <prototype index="1">static void ParseOneParameter2Array(CTokenList& iList,PARAMETER& oParam);</prototype> <desc>解析参数的数组部分,如有数组部分,在解析后将对应的...</desc> <explain>解析参数的数组部分,如有数组部分,在解析后将对应的记号从列表中删除
</explain> </function> <function name="ParseOneParameter2TypeAndName"> <prototype index="1">static void ParseOneParameter2TypeAndName(CTokenList& iList,PARAMETER& oParam);</prototype> <desc>解析参数的类型和参数名,由于不能简单分辩类型和参数...</desc> <explain>解析参数的类型和参数名,由于不能简单分辩类型和参数名,这两项放在
一个函数中解析
</explain> </function> <function name="GetReturnType"> <prototype index="1">CString GetReturnType() const;</prototype> <desc>取得返回类型
</desc> <explain>取得返回类型
</explain> </function></class>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -