diff options
author | Mike Buland <eichlan@xagasoft.com> | 2007-06-27 18:11:13 +0000 |
---|---|---|
committer | Mike Buland <eichlan@xagasoft.com> | 2007-06-27 18:11:13 +0000 |
commit | c86c0cf088492e02431dffb1f860ff2f6faa492d (patch) | |
tree | 1191879314028bb8f58daf45d48dacc6ba9ea583 /src/tafwriter.h | |
parent | 5ec9a131e12d021c42b46b601f5e79502485bebb (diff) | |
download | libbu++-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 'src/tafwriter.h')
-rw-r--r-- | src/tafwriter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tafwriter.h b/src/tafwriter.h index 4310e62..5f80504 100644 --- a/src/tafwriter.h +++ b/src/tafwriter.h | |||
@@ -17,9 +17,11 @@ namespace Bu | |||
17 | TafWriter( Bu::Stream &sOut ); | 17 | TafWriter( Bu::Stream &sOut ); |
18 | virtual ~TafWriter(); | 18 | virtual ~TafWriter(); |
19 | 19 | ||
20 | void writeNode( Bu::TafNode *pRoot ); | 20 | void writeGroup( const Bu::TafGroup *pRoot ); |
21 | 21 | ||
22 | private: | 22 | private: |
23 | void writeProperty( const Bu::TafProperty *pProp ); | ||
24 | void writeComment( const Bu::TafComment *pComment ); | ||
23 | void writeString( const Bu::FString &str ); | 25 | void writeString( const Bu::FString &str ); |
24 | Bu::Stream &sOut; | 26 | Bu::Stream &sOut; |
25 | }; | 27 | }; |