Rudiments: /home/dmuse/temp/rudiments/include/rudiments/dom.h Source File

Rudiments

dom.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_DOM_H
5 #define RUDIMENTS_DOM_H
6
7 #include <rudiments/private/domincludes.h>
8
10 class RUDIMENTS_DLLSPEC dom {
11 public:
12
14 dom();
15
32 dom(bool stringcacheenabled);
33
35 virtual ~dom();
36
38 virtual bool parseFile(const char *filename)=0;
39
41 virtual bool parseString(const char *string)=0;
42
44 virtual domnode *getRootNode() const;
45
47 virtual domnode *getNullNode() const;
48
51 virtual void createRootNode();
52
55 virtual bool writeFile(const char *filename,
56 mode_t perms) const;
57
59 virtual bool write(output *out) const;
60
66 virtual bool write(output *out, bool indent) const;
67
70 bool stringCacheEnabled();
71
72 #include <rudiments/private/dom.h>
73 };
74
75 #endif
dom
Definition: dom.h:10
dom::dom
dom(bool stringcacheenabled)
dom::parseString
virtual bool parseString(const char *string)=0
dom::stringCacheEnabled
bool stringCacheEnabled()
dom::write
virtual bool write(output *out) const
dom::writeFile
virtual bool writeFile(const char *filename, mode_t perms) const
dom::parseFile
virtual bool parseFile(const char *filename)=0
dom::getRootNode
virtual domnode * getRootNode() const
dom::~dom
virtual ~dom()
dom::dom
dom()
dom::createRootNode
virtual void createRootNode()
dom::getNullNode
virtual domnode * getNullNode() const
dom::write
virtual bool write(output *out, bool indent) const
domnode
Definition: domnode.h:122
output
Definition: output.h:9