|
#ifndef xmlwriter_h
#define xmlwriter_h
#include<iostream>
#include<string>
#include<vector>
#include <stack>
using namespace std;
typedef stack<string> StackStrings;
class xmlwriter{
public:
xmlwriter(string sTmp);
~xmlwriter();
void CreateChild(string sTag,string sValue);
void Createtag(string sTag);
void CloseLasttag();
void CloseAlltags();
void AddAtributes(string sAttrName, string sAttrvalue);
void AddComment(string sComment);
private:
string sXmlFile;
vector<string> vectAttrData;
FILE *fp;
int iLevel;
StackStrings sTagStack;
};
#endif // xmlwriter_h
|
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.