From 74ddfb058c33f980784d3e4c65cf901d1d1702a5 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(-) (limited to 'cosv') diff --git a/cosv/inc/cosv/dirchain.hxx b/cosv/inc/cosv/dirchain.hxx index 3c53134f0396..ca136e51164c 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 84329f27fda2..fa8a4b488b7e 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 fdaf9b12626f..f87557f60a86 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