diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-07-03 00:28:59 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-07-03 00:28:59 +0000 |
commit | ac517a2b7625e0aa0862679e961c6349f859ea3b (patch) | |
tree | e3e27a6b9bd5e2be6150088495c91fc91786ad9d /src/tafreader.h | |
parent | f8d4301e9fa4f3709258505941e37fab2eadadc6 (diff) | |
parent | bd865cee5f89116c1f054cd0e5c275e97c2d0a9b (diff) | |
download | libbu++-ac517a2b7625e0aa0862679e961c6349f859ea3b.tar.gz libbu++-ac517a2b7625e0aa0862679e961c6349f859ea3b.tar.bz2 libbu++-ac517a2b7625e0aa0862679e961c6349f859ea3b.tar.xz libbu++-ac517a2b7625e0aa0862679e961c6349f859ea3b.zip |
The reorg is being put in trunk, I think it's ready. Now we just get to find
out how many applications won't work anymore :)
Diffstat (limited to '')
-rw-r--r-- | src/tafreader.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/tafreader.h b/src/tafreader.h new file mode 100644 index 0000000..eeaafb3 --- /dev/null +++ b/src/tafreader.h | |||
@@ -0,0 +1,35 @@ | |||
1 | #ifndef BU_TAF_READER_H | ||
2 | #define BU_TAF_READER_H | ||
3 | |||
4 | #include <stdint.h> | ||
5 | #include "bu/tafnode.h" | ||
6 | #include "bu/stream.h" | ||
7 | #include "bu/fstring.h" | ||
8 | |||
9 | namespace Bu | ||
10 | { | ||
11 | /** | ||
12 | * | ||
13 | */ | ||
14 | class TafReader | ||
15 | { | ||
16 | public: | ||
17 | TafReader( Bu::Stream &sIn ); | ||
18 | virtual ~TafReader(); | ||
19 | |||
20 | Bu::TafGroup *readGroup(); | ||
21 | |||
22 | private: | ||
23 | void groupContent( Bu::TafGroup *pNode ); | ||
24 | Bu::TafProperty *readProperty(); | ||
25 | Bu::TafComment *readComment(); | ||
26 | void ws(); | ||
27 | bool isws(); | ||
28 | void next(); | ||
29 | Bu::FString readStr(); | ||
30 | char c, la; | ||
31 | Bu::Stream &sIn; | ||
32 | }; | ||
33 | } | ||
34 | |||
35 | #endif | ||