summaryrefslogtreecommitdiff
path: root/cosv/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-06-21 12:10:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-06-21 12:10:55 +0100
commitcd4395feb590a6f8fa1123dcd590e97a7c0cd302 (patch)
tree0b8adda820e3f5e896b6113058bc001cbd91b055 /cosv/inc
parent5cda8705d3b573d7f155bcadbc1b088d916303a6 (diff)
various unused junk
Diffstat (limited to 'cosv/inc')
-rw-r--r--cosv/inc/cosv/comfunc.hxx1
-rw-r--r--cosv/inc/cosv/dirchain.hxx4
-rw-r--r--cosv/inc/cosv/file.hxx9
-rw-r--r--cosv/inc/cosv/ploc_dir.hxx2
-rw-r--r--cosv/inc/cosv/streamstr.hxx33
-rw-r--r--cosv/inc/cosv/string.hxx41
6 files changed, 1 insertions, 89 deletions
diff --git a/cosv/inc/cosv/comfunc.hxx b/cosv/inc/cosv/comfunc.hxx
index f0f513e87270..41fde3f8ce8c 100644
--- a/cosv/inc/cosv/comfunc.hxx
+++ b/cosv/inc/cosv/comfunc.hxx
@@ -51,7 +51,6 @@ inline bool in_range(E low, E val, E high); // return low <= val < hi
// string functions
inline const char * valid_str(const char * str);
inline bool no_str(const char * str); // return !str || !strlen(str)
-intt count_chars(const char * str, char c);
// IMPLEMENTATION
diff --git a/cosv/inc/cosv/dirchain.hxx b/cosv/inc/cosv/dirchain.hxx
index c36c574cdf5a..3c53134f0396 100644
--- a/cosv/inc/cosv/dirchain.hxx
+++ b/cosv/inc/cosv/dirchain.hxx
@@ -55,10 +55,6 @@ class DirectoryChain
public:
DirectoryChain();
DirectoryChain(
- const char * i_sPath,
- bool i_bPathIsAlwaysDir = false,
- const char * i_sDelimiter = Delimiter() );
- DirectoryChain(
const DirectoryChain &
i_rDC );
~DirectoryChain();
diff --git a/cosv/inc/cosv/file.hxx b/cosv/inc/cosv/file.hxx
index 573764eda857..9d12cac4d6cf 100644
--- a/cosv/inc/cosv/file.hxx
+++ b/cosv/inc/cosv/file.hxx
@@ -58,8 +58,6 @@ class File : public bstream,
public:
// LIFECYCLE
File(
- uintt i_nMode = CFM_RW );
- File(
const ::csv::ploc::Path &
i_rLocation,
uintt i_nMode = CFM_RW );
@@ -71,13 +69,6 @@ class File : public bstream,
uintt in_nMode = CFM_RW );
virtual ~File();
- // OPERATIONS
- bool Assign(
- ploc::Path i_rLocation );
- bool Assign(
- const char * i_sLocation );
- bool Assign(
- const String & i_sLocation );
// INQUIRY
uintt Mode() const;
diff --git a/cosv/inc/cosv/ploc_dir.hxx b/cosv/inc/cosv/ploc_dir.hxx
index adc9584912bb..ef2855f9c981 100644
--- a/cosv/inc/cosv/ploc_dir.hxx
+++ b/cosv/inc/cosv/ploc_dir.hxx
@@ -60,8 +60,6 @@ class Directory : public Persistent
Directory(
const char * i_rLocation );
Directory(
- const String & i_rLocation );
- Directory(
const Directory & i_rDir );
virtual ~Directory();
diff --git a/cosv/inc/cosv/streamstr.hxx b/cosv/inc/cosv/streamstr.hxx
index 67a69b24791a..c27d504451cd 100644
--- a/cosv/inc/cosv/streamstr.hxx
+++ b/cosv/inc/cosv/streamstr.hxx
@@ -87,13 +87,6 @@ class StreamStr : public bostream
StreamStr(
const char * i_sInitStr,
size_type i_nCapacity ); /// Only used if > strlen(i_sInitStr).
- StreamStr(
- size_type i_nGuessedCapacity,
- const char * str1, // [!= 0]
- const char * str2, // [!= 0]
- ... ); // Has to end with NIL .
- StreamStr(
- csv::bstream & i_source );
/// Copies also insert_mode and current position.
StreamStr(
const self & i_rOther );
@@ -156,8 +149,6 @@ class StreamStr : public bostream
size_type i_nMinimumCapacity );
void clear();
- void swap(
- StreamStr & io_swap );
/** Sets start point for the next operator<<() call.
if the intended position is not reachable, nothing happens.
@@ -180,14 +171,6 @@ class StreamStr : public bostream
self & set_insert_mode(
insert_mode i_eMode );
- void push_front(
- const char * i_str );
- void push_front(
- char i_c );
- void push_back(
- const char * i_str );
- void push_back(
- char i_c );
void pop_front(
size_type i_nCount );
void pop_back(
@@ -216,18 +199,6 @@ class StreamStr : public bostream
void strip_back_whitespace();
void strip_frontback_whitespace();
- /** @precond i_begin is valid
- @precond i_end is valid
- @precond i_end >= i_begin
- */
- void remove(
- iterator i_begin,
- iterator i_end );
- void replace(
- position_type i_nStart,
- size_type i_nSize,
- Area i_aReplacement );
-
void replace_all(
char i_cCarToSearch,
char i_cReplacement );
@@ -252,10 +223,6 @@ class StreamStr : public bostream
const_iterator cur() const;
const_iterator end() const;
- String token(
- position_type i_nNr, /// Starting with 0.
- char i_cSpli ) const;
-
// ACCESS
iterator begin();
iterator cur();
diff --git a/cosv/inc/cosv/string.hxx b/cosv/inc/cosv/string.hxx
index 970b61fb36a8..4a57dd143d45 100644
--- a/cosv/inc/cosv/string.hxx
+++ b/cosv/inc/cosv/string.hxx
@@ -76,13 +76,7 @@ class String
String(
const char * i_str,
size_type i_nLength );
- /** @precond i_nLength == str::maxsize
- || i_nStartPosition+i_nLength <= i_rStr.Size().
- */
- String(
- const self & i_rStr,
- position_type i_nStartPosition,
- size_type i_nLength );
+
/** @precond i_itBegin and i_itEnd are in the same valid
memory-area, such that zero to finite times repetition of
++i_itBegin leads to i_itBegin == i_itEnd.
@@ -119,18 +113,6 @@ class String
// OPERATIONS
void clear();
- void swap(
- self & i_rStr );
-
- /** @precond i_nLength == str::maxsize
- || i_nStartPosition+i_nLength <= i_rStr.Size().
- */
- void assign(
- const self & i_rStr,
- position_type i_nStartPosition,
- size_type i_nLength );
- void assign(
- const char * i_str );
/// @precond i_nLength == str::maxsize OR i_nLength < strlen(i_str) .
void assign(
const char * i_str,
@@ -139,13 +121,6 @@ class String
void assign(
size_type i_nCount,
char i_c );
- /** @precond i_itBegin and i_itEnd are in the same valid
- memory-area, such that zero to finite times repetition of
- ++i_itBegin leads to i_itBegin == i_itEnd.
- */
- void assign(
- const_iterator i_itBegin,
- const_iterator i_itEnd );
// INQUIRY
const char * c_str() const;
@@ -170,20 +145,6 @@ class String
i_rOrder,
const self & i_rStr ) const;
- self substr(
- position_type i_nStartPosition = 0,
- size_type i_nLength = str::maxsize ) const;
-
- /** @param i_strToSearch [i_strToSearch != 0]
- i_strToSearch == "" will return npos.
- */
- position_type find(
- const char * i_strToSearch,
- position_type i_nSearchStartPosition = 0 ) const;
- position_type find(
- char i_charToSearch,
- position_type i_nSearchStartPosition = 0 ) const;
-
//*********** Not yet implemented *********************//
position_type rfind(
const char * i_strToSearch,