Menu

[c54480]: / xmlobj.h  Maximize  Restore  History

Download this file

36 lines (30 with data), 975 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef XMLOBJ_H
#define XMLOBJ_H
class QString;
QString quotemeta( const QString& );
QString unquotemeta( const QString& );
QString quoteQuotes( const QString & );
QString unquoteQuotes( const QString & );
QString quoteUmlaut( const QString& );
QString getCDATA( const QString &s );
/////////////////////////////////////////////////////////////////////////////
class XMLObj
{
public:
XMLObj();
virtual ~XMLObj();
QString singleElement(QString,QString); // name,attr
QString beginElement(QString,QString); // name,attr
QString beginElement(QString); // name
QString endElement (QString); // name
QString attribut (QString,QString); // name, val
QString valueElement(QString,QString); // name, val
QString valueElement(QString,QString,QString); // name, val, attr
void incIndent();
void decIndent();
static int curIndent;
protected:
QString indent();
int indentWidth;
};
#endif
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.