summaryrefslogtreecommitdiff
path: root/cosv
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-24 11:08:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-24 16:53:56 +0000
commit17ecf0036d44657b954de6c8f7efd536ab5c4809 (patch)
tree313962191e32e2ab611e3e25b8237b6ad76a329b /cosv
parent45350532879f8b33741fa1ac012aa43a776ebdf5 (diff)
callcatcher: update list, remove newly unused methods
Diffstat (limited to 'cosv')
-rw-r--r--cosv/inc/cosv/file.hxx4
-rw-r--r--cosv/inc/cosv/streamstr.hxx7
-rw-r--r--cosv/source/storage/file.cxx9
-rw-r--r--cosv/source/strings/streamstr.cxx48
4 files changed, 0 insertions, 68 deletions
diff --git a/cosv/inc/cosv/file.hxx b/cosv/inc/cosv/file.hxx
index 9d12cac4d6cf..b005a219db9f 100644
--- a/cosv/inc/cosv/file.hxx
+++ b/cosv/inc/cosv/file.hxx
@@ -58,10 +58,6 @@ class File : public bstream,
public:
// LIFECYCLE
File(
- const ::csv::ploc::Path &
- i_rLocation,
- uintt i_nMode = CFM_RW );
- File(
const char * i_sLocation,
uintt in_nMode = CFM_RW );
File(
diff --git a/cosv/inc/cosv/streamstr.hxx b/cosv/inc/cosv/streamstr.hxx
index f91cef4c3562..67d22a5a8a69 100644
--- a/cosv/inc/cosv/streamstr.hxx
+++ b/cosv/inc/cosv/streamstr.hxx
@@ -88,9 +88,6 @@ class StreamStr : public bostream
// LIFECYCLE
StreamStr(
size_type i_nCapacity );
- StreamStr(
- const char * i_sInitStr,
- size_type i_nCapacity ); /// Only used if > strlen(i_sInitStr).
/// Copies also insert_mode and current position.
StreamStr(
const self & i_rOther );
@@ -207,10 +204,6 @@ class StreamStr : public bostream
char i_cCarToSearch,
char i_cReplacement );
- StreamStr & to_upper(
- position_type i_nStart = 0,
- size_type i_nLength = str::maxsize );
-
// INQUIRY
const char * c_str() const;
const char * data() const;
diff --git a/cosv/source/storage/file.cxx b/cosv/source/storage/file.cxx
index 2656cbd2523d..16665d75e64e 100644
--- a/cosv/source/storage/file.cxx
+++ b/cosv/source/storage/file.cxx
@@ -43,15 +43,6 @@ namespace csv
{
-File::File( const ploc::Path & i_rLocation,
- uintt i_nMode )
- : aPath(i_rLocation),
- pStream(0),
- nMode(i_nMode),
- eLastIO(io_none)
-{
-}
-
File::File( const char * i_sLocation,
uintt i_nMode )
: aPath(i_sLocation),
diff --git a/cosv/source/strings/streamstr.cxx b/cosv/source/strings/streamstr.cxx
index ef266ac2d13b..309b9fc60f54 100644
--- a/cosv/source/strings/streamstr.cxx
+++ b/cosv/source/strings/streamstr.cxx
@@ -74,23 +74,6 @@ StreamStr::StreamStr( size_type i_nCapacity )
*pEnd = '\0';
}
-StreamStr::StreamStr( const char * i_sInitStr,
- size_type i_nCapacity )
- : bostream(),
- nCapacity1(0),
- dpData(0),
- pEnd(0),
- pCur(0),
- eMode(str::overwrite)
-{
- size_type nLength = strlen(i_sInitStr);
- nCapacity1 = csv::max(nLength, i_nCapacity) + 1;
- dpData = new char [nCapacity1];
- strcpy(dpData, i_sInitStr); // SAFE STRCPY (#100211# - checked)
- pCur = dpData + nLength;
- pEnd = pCur;
-}
-
StreamStr::StreamStr( const self & i_rOther )
: bostream(),
nCapacity1( i_rOther.nCapacity1 ),
@@ -477,37 +460,6 @@ StreamStr::replace_all( char i_cCarToSearch,
}
}
-StreamStr &
-StreamStr::to_upper( position_type i_nStart,
- size_type i_nLength )
-{
- static char cUpper[128] =
- { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
- 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31,
- 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47,
- 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63,
- 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
- 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95,
- 96, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79,
- 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 123,124,125,126,127 };
-
- if ( i_nStart < length() )
- {
- char * pStop = i_nStart + i_nLength < length()
- ? dpData + i_nStart + i_nLength
- : pEnd;
- for ( char * pChange = dpData + i_nStart;
- pChange != pStop;
- ++pChange )
- {
- *pChange = (static_cast< unsigned char >(*pChange) & 0x80) == 0
- ? cUpper[ UINT8(*pChange) ]
- : *pChange;
- }
- }
- return *this;
-}
-
class StreamStrPool
{
public: