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 
15 
32  propdom(bool stringcacheenabled);
33 
35  virtual ~propdom();
36 
38  bool parseFile(const char *filename);
39 
41  bool parseString(const char *string);
42 
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
Definition: dom.h:10
Definition: output.h:9
Definition: propdom.h:10
virtual bool value(const char *v)
virtual bool whitespaceStart()
bool parseFile(const char *filename)
virtual bool poundComment(const char *c)
virtual bool exclamationCommentEnd()
virtual bool valueStart()
virtual bool valueEnd()
virtual bool whitespace(const char *w)
virtual bool poundCommentEnd()
virtual bool keyEnd()
virtual bool key(const char *k)
virtual ~propdom()
bool parseString(const char *string)
void createRootNode()
virtual bool exclamationCommentStart()
virtual bool poundCommentStart()
virtual bool keyStart()
virtual bool equals(const char *e)
virtual bool write(output *out) const
virtual bool exclamationComment(const char *c)
propdom(bool stringcacheenabled)
virtual bool whitespaceEnd()
Definition: propsax.h:12