diff options
Diffstat (limited to 'src/tafwriter.h')
-rw-r--r-- | src/tafwriter.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/tafwriter.h b/src/tafwriter.h new file mode 100644 index 0000000..5f80504 --- /dev/null +++ b/src/tafwriter.h | |||
@@ -0,0 +1,30 @@ | |||
1 | #ifndef BU_TAF_WRITER_H | ||
2 | #define BU_TAF_WRITER_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 TafWriter | ||
15 | { | ||
16 | public: | ||
17 | TafWriter( Bu::Stream &sOut ); | ||
18 | virtual ~TafWriter(); | ||
19 | |||
20 | void writeGroup( const Bu::TafGroup *pRoot ); | ||
21 | |||
22 | private: | ||
23 | void writeProperty( const Bu::TafProperty *pProp ); | ||
24 | void writeComment( const Bu::TafComment *pComment ); | ||
25 | void writeString( const Bu::FString &str ); | ||
26 | Bu::Stream &sOut; | ||
27 | }; | ||
28 | } | ||
29 | |||
30 | #endif | ||