Rudiments
dom.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
4 dom(dom &x);
5 dom &operator=(dom &x);
6
7 uint64_t getCount();
8
9 bool clear();
10
11 virtual ssize_t writeJson();
12 virtual ssize_t writeJson(bool indent);
13 virtual ssize_t writeJson(output *out);
14 virtual ssize_t writeJson(output *out, bool indent);
15
16 friend class domnode;
17 protected:
18 virtual void construct(bool stringcacheenabled);
19 virtual bool reset();
20
21 const char *cacheString(const char *string);
22 void unCacheString(const char *string);
23
24 virtual ssize_t writeNode(domnode *dn,
25 output *out,
26 bool indent,
27 uint16_t *indentlevel);
28 virtual ssize_t writeIndent(output *out,
29 uint16_t indent);
30 virtual ssize_t safeWrite(output *out,
31 const char *str);
32
33 private:
34 domprivate *pvt;
Definition dom.h:10
Definition domnode.h:122
Definition output.h:11