diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-06-27 23:09:24 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-06-27 23:09:24 +0100 |
commit | 030d3404280d3df56a7f6fc2cf9f729eb42ba365 (patch) | |
tree | 69cd1fda9c84f3e4ce0450da0710fc16325b9c6f | |
parent | f85363b6f4515e0ba03ab2a49402911274e72dd9 (diff) |
ditch unused code
-rw-r--r-- | cosv/inc/cosv/dirchain.hxx | 16 | ||||
-rw-r--r-- | cosv/inc/cosv/string.hxx | 16 | ||||
-rw-r--r-- | cosv/source/storage/dirchain.cxx | 12 |
3 files changed, 0 insertions, 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 @@ -96,9 +96,6 @@ class DirectoryChain const String & Back() const; void Get( - ostream & o_rPath, - const char * i_sDelimiter ) const; - void Get( bostream & o_rPath, const char * i_sDelimiter ) const; private: @@ -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<String> 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 @@ -95,18 +95,6 @@ DirectoryChain::PopBack( uintt i_nCount ) } void -DirectoryChain::Get( ostream & o_rPath, - const char * i_sDelimiter ) const -{ - for ( std::vector<String>::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 { |