Rudiments
xmldom.h
1 // Copyright (c) 2002 David Muse
2 // See the COPYING file for more information.
3 
4 #ifndef RUDIMENTS_XMLDOM_H
5 #define RUDIMENTS_XMLDOM_H
6 
7 #include <rudiments/private/xmldomincludes.h>
8 
9 class xmldomprivate;
10 
12 class RUDIMENTS_DLLSPEC xmldom : public xmlsax {
13  public:
14 
16  xmldom();
17 
34  xmldom(bool stringcacheenabled);
35 
37  virtual ~xmldom();
38 
40  bool parseFile(const char *filename);
41 
43  bool parseString(const char *string);
44 
46  xmldomnode *getRootNode() const;
47 
50  void createRootNode();
51 
54  bool writeFile(const char *filename, mode_t perms) const;
55 
58  bool stringCacheEnabled();
59 
60  #include <rudiments/private/xmldom.h>
61 };
62 
63 #endif
bool parseString(const char *string)
Definition: xmldomnode.h:116
Definition: xmlsax.h:14
bool parseFile(const char *filename)
Definition: xmldom.h:12