Rudiments
jsondom.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
5 jsondom &operator=(jsondom &x);
6
7 virtual ssize_t writeJson();
8 virtual ssize_t writeJson(bool indent);
9 virtual ssize_t writeJson(output *out);
10 virtual ssize_t writeJson(output *out, bool indent);
11
12 protected:
13 void construct(bool stringcacheenabled);
14 bool reset();
15
16 ssize_t writeNode(domnode *dn,
17 output *out,
18 bool indent,
19 uint16_t *indentlevel);
20
21 friend class domnode;
22 private:
23 bool parse(input *in, domnode *parent,
24 uint64_t position);
25 bool parseFile(const char *string,
26 domnode *parent,
27 uint64_t position);
28 bool parseString(const char *string,
29 domnode *parent,
30 uint64_t position);
31 domnode *whichNode();
32 const char *getType(domnode *dn);
33 const char *getValue(domnode *dn);
34
35 jsondomprivate *pvt;
Definition domnode.h:122
virtual domnodetype getType()
virtual const char * getValue()
Definition input.h:11
Definition jsondom.h:76
Definition output.h:11