Rudiments: /home/dmuse/src/rudiments/include/rudiments/private/xmldom.h Source File

Rudiments

- Main Page
- Classes

xmldom.h
1 // Copyright (c) 2002 David Muse
2 // See the COPYING file for more information.
3
4 friend class xmldomnode;
5 protected:
6 void init(bool stringcacheenabled);
7 void reset();
8
9 virtual bool tagStart(const char *ns,
10 const char *name);
11 virtual bool attributeName(const char *name);
12 virtual bool attributeValue(const char *value);
13 virtual bool text(const char *string);
14 virtual bool tagEnd(const char *ns,
15 const char *name);
16 virtual bool comment(const char *string);
17 virtual bool cdata(const char *string);
18
19 xmldom(const xmldom &x);
20 xmldom &operator=(const xmldom &x);
21
22 const char *cacheString(const char *string);
23 void unCacheString(const char *string);
24
25 private:
26 bool parseFile(const char *string,
27 xmldomnode *parent,
28 uint64_t position);
29 bool parseString(const char *string,
30 xmldomnode *parent,
31 uint64_t position);
32 void insertChild(xmldomnode *child);
33
34 xmldomprivate *pvt;
xmldomnode
Definition: xmldomnode.h:123
xmldomnode::insertChild
bool insertChild(xmldomnode *child, uint64_t position)
xmldom
Definition: xmldom.h:12