Rudiments: /home/dmuse/temp/rudiments/include/rudiments/private/propdom.h Source File

Rudiments

propdom.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information.
3
4 friend class domnode;
5 protected:
6 void init(bool stringcacheenabled);
7 void reset();
8
9 void write(const domnode *dn,
10 output *out,
11 bool indent,
12 uint16_t *indentlevel) const;
13 void writeAndEscape(output *out,
14 const char *value) const;
15
16 propdom(const propdom &x);
17 propdom &operator=(const propdom &x);
18
19 private:
20 bool parseFile(const char *string,
21 domnode *parent,
22 uint64_t position);
23 bool parseString(const char *string,
24 domnode *parent,
25 uint64_t position);
26 domnode *whichNode();
27 const char *getType(const domnode *dn) const;
28 const char *getValue(const domnode *dn) const;
29
30 propdomprivate *pvt;
domnode
Definition: domnode.h:122
domnode::getType
virtual domnodetype getType() const
domnode::write
void write(output *out) const
domnode::getValue
virtual const char * getValue() const
output
Definition: output.h:9
propdom
Definition: propdom.h:10