Rudiments
jsondom.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
4#ifndef RUDIMENTS_JSONDOM_H
5#define RUDIMENTS_JSONDOM_H
6
7#include <rudiments/private/jsondomincludes.h>
8
76class RUDIMENTS_DLLSPEC jsondom : public jsonsax, public dom {
77 public:
78
81
98 jsondom(bool stringcacheenabled);
99
101 virtual ~jsondom();
102
104 virtual const char *getType();
105
107 bool parse(input *in);
108
110 bool parseFile(const char *filename);
111
113 bool parseString(const char *string);
114
118
119 protected:
120
122 virtual bool objectStart();
123
125 virtual bool memberStart();
126
128 virtual bool memberName(const char *name);
129
131 virtual bool valueStart();
132
134 virtual bool stringValue(const char *value);
135
137 virtual bool numberValue(const char *value);
138
140 virtual bool trueValue();
141
143 virtual bool falseValue();
144
146 virtual bool nullValue();
147
149 virtual bool arrayStart();
150
152 virtual bool arrayEnd();
153
155 virtual bool valueEnd();
156
158 virtual bool memberEnd();
159
161 virtual bool objectEnd();
162
163 #include <rudiments/private/jsondom.h>
164};
165
166#endif
Definition dom.h:10
Definition input.h:11
Definition jsondom.h:76
virtual bool stringValue(const char *value)
virtual bool trueValue()
virtual bool memberStart()
virtual bool memberName(const char *name)
virtual ~jsondom()
virtual const char * getType()
virtual bool valueEnd()
virtual bool numberValue(const char *value)
bool parseString(const char *string)
virtual bool valueStart()
bool parse(input *in)
bool parseFile(const char *filename)
virtual bool falseValue()
void createRootNode()
virtual bool objectStart()
virtual bool memberEnd()
jsondom(bool stringcacheenabled)
virtual bool arrayStart()
virtual bool nullValue()
virtual bool objectEnd()
virtual bool arrayEnd()
Definition jsonsax.h:12