Rudiments
sax.h
1// Copyright (c) 1999-2018 David Muse
2// See the COPYING file for more information.
3
4 sax(sax &s) {}
5 sax &operator=(sax &s) { return *this; };
6
7 protected:
8 bool reset();
9 void close();
10
11 virtual bool parse()=0;
12
13 char skipWhitespace(char current);
14 char getCharacter();
15 void parseFailed(const char *thing, const char *why);
16
17 private:
18 bool parseLocalFile(const char *filename);
19 bool parseRemoteFile(const char *filename);
20
21 char getCharacter(bool processignores);
22 char getCharacterBackwards();
23 void ignoreHeaderLines();
24 void ignoreFooterLines();
25 bool mapFile();
26
27 saxprivate *pvt;
Definition avltree.h:11
Definition sax.h:12