summaryrefslogtreecommitdiff
path: root/cpp/src/IceUtil/StringUtil.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2007-12-21 11:12:14 -0500
committerBernard Normier <bernard@zeroc.com>2007-12-21 11:12:14 -0500
commit08ec7524df324e627bbb8d93c509f0d90badbe3b (patch)
treea640ae99a5e35b210352150feef4f71832b265c5 /cpp/src/IceUtil/StringUtil.cpp
parentMerge branch 'master' of ssh://cvs.zeroc.com/home/git/ice (diff)
downloadice-08ec7524df324e627bbb8d93c509f0d90badbe3b.tar.bz2
ice-08ec7524df324e627bbb8d93c509f0d90badbe3b.tar.xz
ice-08ec7524df324e627bbb8d93c509f0d90badbe3b.zip
IceUtil cleanup (first commit)
Diffstat (limited to 'cpp/src/IceUtil/StringUtil.cpp')
-rw-r--r--cpp/src/IceUtil/StringUtil.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/cpp/src/IceUtil/StringUtil.cpp b/cpp/src/IceUtil/StringUtil.cpp
index c2aa45d3c95..8a96f795358 100644
--- a/cpp/src/IceUtil/StringUtil.cpp
+++ b/cpp/src/IceUtil/StringUtil.cpp
@@ -131,7 +131,7 @@ encodeChar(string::value_type b, string& s, const string& special)
// prefixed with a backslash in the returned string.
//
string
-IceUtil::escapeString(const string& s, const string& special)
+IceUtilInternal::escapeString(const string& s, const string& special)
{
string::size_type i;
for(i = 0; i < special.size(); ++i)
@@ -279,7 +279,7 @@ static void decodeString(const string& s, string::size_type start, string::size_
// Remove escape sequences added by escapeString.
//
bool
-IceUtil::unescapeString(const string& s, string::size_type start, string::size_type end, string& result)
+IceUtilInternal::unescapeString(const string& s, string::size_type start, string::size_type end, string& result)
{
if(start < 0)
{
@@ -309,7 +309,7 @@ IceUtil::unescapeString(const string& s, string::size_type start, string::size_t
}
bool
-IceUtil::splitString(const string& str, const string& delim, vector<string>& result)
+IceUtilInternal::splitString(const string& str, const string& delim, vector<string>& result)
{
string::size_type pos = 0;
string::size_type length = str.length();
@@ -372,7 +372,7 @@ IceUtil::splitString(const string& str, const string& delim, vector<string>& res
// If no matching closing quote is found, then -1 is returned.
//
string::size_type
-IceUtil::checkQuote(const string& s, string::size_type start)
+IceUtilInternal::checkQuote(const string& s, string::size_type start)
{
string::value_type quoteChar = s[start];
if(quoteChar == '"' || quoteChar == '\'')
@@ -399,7 +399,7 @@ IceUtil::checkQuote(const string& s, string::size_type start)
// (whereas regex() isn't). Only one * per pattern is supported.
//
bool
-IceUtil::match(const string& s, const string& pat, bool emptyMatch)
+IceUtilInternal::match(const string& s, const string& pat, bool emptyMatch)
{
assert(!s.empty());
assert(!pat.empty());