Rudiments

propdom.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 #ifndef RUDIMENTS_PROPDOM_H
5 #define RUDIMENTS_PROPDOM_H
6
7 #include <rudiments/private/propdomincludes.h>
8
10 class RUDIMENTS_DLLSPEC propdom : public propsax, public dom {
11 public:
12
14 propdom();
15
32 propdom(bool stringcacheenabled);
33
35 virtual ~propdom();
36
38 bool parseFile(const char *filename);
39
41 bool parseString(const char *string);
42
45 void createRootNode();
46
48 virtual bool write(output *out) const;
49
50 protected:
51
54 virtual bool whitespaceStart();
55
58 virtual bool whitespace(const char *w);
59
62 virtual bool whitespaceEnd();
63
66 virtual bool exclamationCommentStart();
67
70 virtual bool exclamationComment(const char *c);
71
74 virtual bool exclamationCommentEnd();
75
78 virtual bool poundCommentStart();
79
81 virtual bool poundComment(const char *c);
82
85 virtual bool poundCommentEnd();
86
88 virtual bool keyStart();
89
91 virtual bool key(const char *k);
92
94 virtual bool keyEnd();
95
98 virtual bool equals(const char *e);
99
101 virtual bool valueStart();
102
104 virtual bool value(const char *v);
105
107 virtual bool valueEnd();
108
109 #include <rudiments/private/propdom.h>
110 };
111
112 #endif
dom
Definition: dom.h:10
output
Definition: output.h:9
propdom
Definition: propdom.h:10
propdom::value
virtual bool value(const char *v)
propdom::whitespaceStart
virtual bool whitespaceStart()
propdom::parseFile
bool parseFile(const char *filename)
propdom::poundComment
virtual bool poundComment(const char *c)
propdom::exclamationCommentEnd
virtual bool exclamationCommentEnd()
propdom::valueStart
virtual bool valueStart()
propdom::valueEnd
virtual bool valueEnd()
propdom::whitespace
virtual bool whitespace(const char *w)
propdom::poundCommentEnd
virtual bool poundCommentEnd()
propdom::keyEnd
virtual bool keyEnd()
propdom::key
virtual bool key(const char *k)
propdom::~propdom
virtual ~propdom()
propdom::parseString
bool parseString(const char *string)
propdom::createRootNode
void createRootNode()
propdom::exclamationCommentStart
virtual bool exclamationCommentStart()
propdom::poundCommentStart
virtual bool poundCommentStart()
propdom::keyStart
virtual bool keyStart()
propdom::equals
virtual bool equals(const char *e)
propdom::write
virtual bool write(output *out) const
propdom::exclamationComment
virtual bool exclamationComment(const char *c)
propdom::propdom
propdom(bool stringcacheenabled)
propdom::propdom
propdom()
propdom::whitespaceEnd
virtual bool whitespaceEnd()
propsax
Definition: propsax.h:12