Click here to Skip to main content
15,896,407 members
Articles / Programming Languages / C++

A STL based XML Config Tool

Rate me:
Please Sign up or sign in to vote.
3.19/5 (9 votes)
19 Jun 20051 min read 70.3K   886   38  
Writing multiple enumerated configuration entries.
#if !defined(XmlNotify_H)
#define XmlNotify_H





/////////////////////////////////////////////////////////////////////////////////
// XmlNotify
//
// Purpose:		abstract class used to notify about xml tags found. 

class XmlNotify
{
public:


	XmlNotify ()
	{}

	// notify methods
	virtual void foundNode		( std::string & name, std::string & attributes ) = 0;
	virtual void foundElement	( std::string & name, std::string & value, std::string & attributes ) = 0;

	// ARNAUD
	virtual void endNode( std::string & name, std::string & attributes ) = 0;
};





#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


Written By
Software Developer
Germany Germany
Studying and having a degree of medical engineering, but decided to work as a software developer writing medical applications for image processing.

Comments and Discussions