aboutsummaryrefslogtreecommitdiff
path: root/src/tafreader.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2007-06-27 18:11:13 +0000
committerMike Buland <eichlan@xagasoft.com>2007-06-27 18:11:13 +0000
commitc86c0cf088492e02431dffb1f860ff2f6faa492d (patch)
tree1191879314028bb8f58daf45d48dacc6ba9ea583 /src/tafreader.h
parent5ec9a131e12d021c42b46b601f5e79502485bebb (diff)
downloadlibbu++-c86c0cf088492e02431dffb1f860ff2f6faa492d.tar.gz
libbu++-c86c0cf088492e02431dffb1f860ff2f6faa492d.tar.bz2
libbu++-c86c0cf088492e02431dffb1f860ff2f6faa492d.tar.xz
libbu++-c86c0cf088492e02431dffb1f860ff2f6faa492d.zip
The taf system is new and improved. The writer works, we added C++ style
comment blocks, and it retains the order of all nodes.
Diffstat (limited to '')
-rw-r--r--src/tafreader.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/tafreader.h b/src/tafreader.h
index 47ae187..eeaafb3 100644
--- a/src/tafreader.h
+++ b/src/tafreader.h
@@ -17,16 +17,17 @@ namespace Bu
17 TafReader( Bu::Stream &sIn ); 17 TafReader( Bu::Stream &sIn );
18 virtual ~TafReader(); 18 virtual ~TafReader();
19 19
20 Bu::TafNode *getNode(); 20 Bu::TafGroup *readGroup();
21 21
22 private: 22 private:
23 void nodeContent( Bu::TafNode *pNode ); 23 void groupContent( Bu::TafGroup *pNode );
24 void nodeProperty( Bu::TafNode *pNode ); 24 Bu::TafProperty *readProperty();
25 Bu::TafComment *readComment();
25 void ws(); 26 void ws();
26 bool isws(); 27 bool isws();
27 void next(); 28 void next();
28 Bu::FString readStr(); 29 Bu::FString readStr();
29 char c; 30 char c, la;
30 Bu::Stream &sIn; 31 Bu::Stream &sIn;
31 }; 32 };
32} 33}