Click here to Skip to main content
12,624,724 members (38,383 online)
Click here to Skip to main content

Stats

128.5K views
2.9K downloads
47 bookmarked
Posted

XML optimization

, 11 Sep 2002
This is a set of techniques aimed to audit design metadata from any XML stream

#ifndef _XMLMSGINTERFACE_
#define _XMLMSGINTERFACE_

#include "Templates.h"
#include "XmlIdDef.h"

class IXmlMsgInterface
{
protected:
	XmlArrayInt			m_tableInt;
	XmlArrayString		m_tableString;
	XmlArrayLPVoid		m_tablePtr;

	void*				m_cpHandler;
		
public:
	virtual BOOL SetParamInt(int nParamID, int nValue) = 0; // VIRTUAL PURE
	virtual BOOL SetParamString(int nParamID, char *szValue) = 0; // VIRTUAL PURE
	virtual BOOL SetParamPtr(int nParamID, void *pValue) = 0; // VIRTUAL PURE

	virtual int  GetParamInt(int nParamID) = 0; // VIRTUAL PURE
	virtual char *GetParamString(int nParamID) = 0; // VIRTUAL PURE
	virtual void *GetParamPtr(int nParamID) = 0; // VIRTUAL PURE

	virtual void SetMsgHandler(void *pHandler) = 0; // VIRTUAL PURE
};

#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

Addicted to reverse engineering. At work, I am developing business intelligence software in a team of smart people (independent software vendor).

Need a fast Excel generation component? Try xlsgen.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.161128.1 | Last Updated 12 Sep 2002
Article Copyright 2002 by Stephane Rodriguez.
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid