From 030d3404280d3df56a7f6fc2cf9f729eb42ba365 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 27 Jun 2011 23:09:24 +0100 Subject: ditch unused code --- cosv/inc/cosv/dirchain.hxx | 16 ---------------- cosv/inc/cosv/string.hxx | 16 ---------------- cosv/source/storage/dirchain.cxx | 12 ------------ 3 files changed, 44 deletions(-) diff --git a/cosv/inc/cosv/dirchain.hxx b/cosv/inc/cosv/dirchain.hxx index 7a04d38d..b40a7089 100644 --- a/cosv/inc/cosv/dirchain.hxx +++ b/cosv/inc/cosv/dirchain.hxx @@ -95,9 +95,6 @@ class DirectoryChain const String & Front() const; const String & Back() const; - void Get( - ostream & o_rPath, - const char * i_sDelimiter ) const; void Get( bostream & o_rPath, const char * i_sDelimiter ) const; @@ -145,15 +142,6 @@ DirectoryChain::Back() const } // namespace ploc } // namespace csv - -inline csv::ostream & -operator<<( csv::ostream & o_rOut, - const csv::ploc::DirectoryChain & i_rSubPath ) -{ - i_rSubPath.Get(o_rOut, csv::ploc::Delimiter()); - return o_rOut; -} - inline csv::bostream & operator<<( csv::bostream & o_rOut, const csv::ploc::DirectoryChain & i_rSubPath ) @@ -162,10 +150,6 @@ operator<<( csv::bostream & o_rOut, return o_rOut; } - - #endif - - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cosv/inc/cosv/string.hxx b/cosv/inc/cosv/string.hxx index bc6b61ec..08b1220d 100644 --- a/cosv/inc/cosv/string.hxx +++ b/cosv/inc/cosv/string.hxx @@ -247,16 +247,6 @@ int compare( const CharOrder_Table & i_rOrder, const char * i_s1, const char * i_s2 ); - - //*** Defined order, substrings - -int compare( - const CharOrder_Table & i_rOrder, - const char * i_s1, - const char * i_s2, - csv::str::size i_nLength ); - - } // namespace csv @@ -506,9 +496,6 @@ operator<<( csv::ostream & o_rOut, { o_rOut << i_rSrc.c_str(); return o_rOut; } - - - //****************** typedefs *********************// namespace csv @@ -518,9 +505,6 @@ typedef std::vector StringVector; } - - - #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cosv/source/storage/dirchain.cxx b/cosv/source/storage/dirchain.cxx index ff83ac90..fadc1bfc 100644 --- a/cosv/source/storage/dirchain.cxx +++ b/cosv/source/storage/dirchain.cxx @@ -94,18 +94,6 @@ DirectoryChain::PopBack( uintt i_nCount ) aPath.erase( aPath.begin(), aPath.end() ); } -void -DirectoryChain::Get( ostream & o_rPath, - const char * i_sDelimiter ) const -{ - for ( std::vector::const_iterator it = aPath.begin(); - it != aPath.end(); - ++it ) - { - o_rPath << (*it).c_str() << i_sDelimiter; - } -} - void DirectoryChain::Get( bostream & o_rPath, const char * i_sDelimiter ) const -- cgit v1.2.3