aboutsummaryrefslogtreecommitdiff
path: root/src/tafwriter.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-03-25 20:00:08 +0000
committerMike Buland <eichlan@xagasoft.com>2012-03-25 20:00:08 +0000
commit469bbcf0701e1eb8a6670c23145b0da87357e178 (patch)
treeb5b062a16e46a6c5d3410b4e574cd0cc09057211 /src/tafwriter.h
parentee1b79396076edc4e30aefb285fada03bb45e80d (diff)
downloadlibbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.gz
libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.bz2
libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.tar.xz
libbu++-469bbcf0701e1eb8a6670c23145b0da87357e178.zip
Code is all reorganized. We're about ready to release. I should write up a
little explenation of the arrangement.
Diffstat (limited to 'src/tafwriter.h')
-rw-r--r--src/tafwriter.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/tafwriter.h b/src/tafwriter.h
deleted file mode 100644
index 3fd71de..0000000
--- a/src/tafwriter.h
+++ /dev/null
@@ -1,45 +0,0 @@
1/*
2 * Copyright (C) 2007-2011 Xagasoft, All rights reserved.
3 *
4 * This file is part of the libbu++ library and is released under the
5 * terms of the license contained in the file LICENSE.
6 */
7
8#ifndef BU_TAF_WRITER_H
9#define BU_TAF_WRITER_H
10
11#include <stdint.h>
12
13#include "bu/string.h"
14
15namespace Bu
16{
17 class Stream;
18 class TafNode;
19 class TafGroup;
20 class TafProperty;
21 class TafComment;
22
23 /**
24 *
25 *@ingroup Taf
26 */
27 class TafWriter
28 {
29 public:
30 TafWriter( Bu::Stream &sOut );
31 virtual ~TafWriter();
32
33 void writeGroup( const Bu::TafGroup *pRoot );
34
35 private:
36 void writeProperty( const Bu::TafProperty *pProp );
37 void writeComment( const Bu::TafComment *pComment );
38 void writeString( const Bu::String &str );
39 void ident();
40 Bu::Stream &sOut;
41 int iDepth;
42 };
43}
44
45#endif