From ec05778d5718a7912e506764d443a78d6a6179e3 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Mon, 5 Nov 2012 22:41:51 +0000 Subject: Converted tabs to spaces with tabconv. --- src/stable/csvwriter.h | 52 +++++++++++++++++++++++++------------------------- 1 file changed, 26 insertions(+), 26 deletions(-) (limited to 'src/stable/csvwriter.h') diff --git a/src/stable/csvwriter.h b/src/stable/csvwriter.h index bae1e1d..233f4ed 100644 --- a/src/stable/csvwriter.h +++ b/src/stable/csvwriter.h @@ -14,32 +14,32 @@ namespace Bu { - class Stream; - typedef Bu::Array StrArray; - - class CsvWriter - { - public: - typedef Bu::Signal1 EncodeSignal; - enum Style - { - styleExcel, ///< Excel style quotes around things that need em - styleC ///< Escape things that need it C-style - }; - - CsvWriter( Stream &sOut, Style eStyle=styleExcel ); - CsvWriter( Stream &sOut, EncodeSignal sEncode ); - virtual ~CsvWriter(); - - void writeLine( const StrArray &aStrs ); - - private: - Stream &sOut; - EncodeSignal sEncode; - - static Bu::String encodeExcel( const Bu::String &sIn ); - static Bu::String encodeC( const Bu::String &sIn ); - }; + class Stream; + typedef Bu::Array StrArray; + + class CsvWriter + { + public: + typedef Bu::Signal1 EncodeSignal; + enum Style + { + styleExcel, ///< Excel style quotes around things that need em + styleC ///< Escape things that need it C-style + }; + + CsvWriter( Stream &sOut, Style eStyle=styleExcel ); + CsvWriter( Stream &sOut, EncodeSignal sEncode ); + virtual ~CsvWriter(); + + void writeLine( const StrArray &aStrs ); + + private: + Stream &sOut; + EncodeSignal sEncode; + + static Bu::String encodeExcel( const Bu::String &sIn ); + static Bu::String encodeC( const Bu::String &sIn ); + }; }; #endif -- cgit v1.2.3