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

📄 ixmlparser.h

📁 brew 平台xml解析
💻 H
字号:

#ifndef IXmlParser_H
#define IXmlParser_H

#include "AEE.h"
#include "AEEShell.h"           // Shell interface definitions

#include "McbXML.h"

typedef struct _IXmlParser IXmlParser;


AEEINTERFACE(IXmlParser)
{
	DECLARE_IBASE(IXmlParser)

	boolean			(*ParseXml)		 (IXmlParser * po,const char * xml);

	McbXMLElement*  (*GetRootElement)    (IXmlParser * po);
	McbXMLResults	(*GetResults)		 (IXmlParser * po);
	
	void	(*Reset)	(IXmlParser * po);

	
};

#define IXMLPARSER_AddRef(p)                      AEEGETPVTBL(p,IXmlParser)->AddRef(p)
#define IXMLPARSER_Release(p)                     AEEGETPVTBL(p,IXmlParser)->Release(p)

#define IXMLPARSER_ParseXml(p,i)				  AEEGETPVTBL(p,IXmlParser)->ParseXml(p,i)
#define IXMLPARSER_GetRootElement(p)              AEEGETPVTBL(p,IXmlParser)->GetRootElement(p)
#define IXMLPARSER_GetResults(p)                  AEEGETPVTBL(p,IXmlParser)->GetResults(p)
#define IXMLPARSER_Reset(p)						  AEEGETPVTBL(p,IXmlParser)->Reset(p)

struct _IXmlParser {
	
	const AEEVTBL(IXmlParser) * pvt;

	uint32          m_nRefs;	
	IShell			*m_pIShell;
	IModule			*m_pIModule;


	McbXMLElement	* m_pRoot;
	McbXMLResults	m_Results;

};

#endif

⌨️ 快捷键说明

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