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

Rudiments

templateengine.h
1 // Copyright (c) 1999-2018 David Muse
2 // See the COPYING file for more information
3
4 private:
5
6 bool parse(bool justvariables,
7 output *out,
8 const char *block,
9 uint64_t blocklength,
10 blockparser *blockparsers,
11 dictionary< const char *,
12 const char * > *vars);
13 void replaceVariable(output *out,
14 char **buffer,
15 dictionary< const char *,
16 const char * > *vars,
17 bool escq, bool escdq);
18 bool getBlockName(char **buffer,
19 stringbuffer *blockname,
20 dictionary< const char *,
21 const char * > *vars);
22 bool getBlockLength(const char *blockname,
23 char **buffer,
24 uint64_t *blocklength);
25 bool getIncludeFilename(char **buffer,
26 stringbuffer *filename,
27 dictionary< const char *,
28 const char * > *vars);
29 bool getName(char **buffer,
30 stringbuffer *name,
31 dictionary< const char *,
32 const char * > *vars,
33 const char *end,
34 uint16_t endlen);
35 bool parseBlock(output *out,
36 const char *blockname,
37 const char *block,
38 uint64_t blocklength,
39 blockparser *blockparsers,
40 dictionary< const char *,
41 const char * > *vars);
42
43 templateengineprivate *pvt;
dictionary
Definition: dictionary.h:63
output
Definition: output.h:9
stringbuffer
Definition: stringbuffer.h:13
blockparser
Definition: templateengine.h:33