aboutsummaryrefslogtreecommitdiff
path: root/src/tafreader.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tafreader.h')
-rw-r--r--src/tafreader.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/tafreader.h b/src/tafreader.h
index 127b571..4da800c 100644
--- a/src/tafreader.h
+++ b/src/tafreader.h
@@ -2,20 +2,23 @@
2#define BU_TAF_READER_H 2#define BU_TAF_READER_H
3 3
4#include <stdint.h> 4#include <stdint.h>
5#include "bu/tafdocument.h" 5#include "bu/tafnode.h"
6#include "bu/stream.h" 6#include "bu/stream.h"
7#include "bu/fstring.h"
7 8
8namespace Bu 9namespace Bu
9{ 10{
10 /** 11 /**
11 * 12 *
12 */ 13 */
13 class TafReader : public Bu::TafDocument 14 class TafReader
14 { 15 {
15 public: 16 public:
16 TafReader( Bu::Stream &sIn ); 17 TafReader( Bu::Stream &sIn );
17 virtual ~TafReader(); 18 virtual ~TafReader();
18 19
20 Bu::TafNode *readNode();
21
19 private: 22 private:
20 void node(); 23 void node();
21 void nodeContent(); 24 void nodeContent();
@@ -23,10 +26,9 @@ namespace Bu
23 void ws(); 26 void ws();
24 bool isws(); 27 bool isws();
25 void next(); 28 void next();
26 FString readStr(); 29 Bu::FString readStr();
27 char c; 30 char c;
28 Stream &sIn; 31 Bu::Stream &sIn;
29
30 }; 32 };
31} 33}
32 34