diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2005-04-21 16:36:46 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2005-04-21 16:36:46 +0000 |
commit | 387f8471f1dd61ee6cb74e41f97f7d226bd5a7b2 (patch) | |
tree | c3ee5d7aed5b9e585904465dfc61d9dddb520cb1 /cpp/src/Ice/StringUtil.h | |
parent | Removed XMLOutput.java (diff) | |
download | ice-387f8471f1dd61ee6cb74e41f97f7d226bd5a7b2.tar.bz2 ice-387f8471f1dd61ee6cb74e41f97f7d226bd5a7b2.tar.xz ice-387f8471f1dd61ee6cb74e41f97f7d226bd5a7b2.zip |
Removed from CVS
Diffstat (limited to 'cpp/src/Ice/StringUtil.h')
-rw-r--r-- | cpp/src/Ice/StringUtil.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/cpp/src/Ice/StringUtil.h b/cpp/src/Ice/StringUtil.h deleted file mode 100644 index 3e6be58cd9b..00000000000 --- a/cpp/src/Ice/StringUtil.h +++ /dev/null @@ -1,42 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. -// -// This copy of Ice is licensed to you under the terms described in the -// ICE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#ifndef ICE_STRING_UTIL_H -#define ICE_STRING_UTIL_H - -namespace IceInternal -{ - -// -// Encodes a string into UTF8, escaping all characters outside the range [32-126] -// as well as any special characters determined by the caller. -// -std::string encodeString(const std::string&, const std::string&); - -// -// Decodes a UTF8 string. Decoding starts at the given start position -// (inclusive) and stops at the given end position (exclusive). If the end -// position is zero, then the remainder of the string is used. Upon success, -// the result parameter holds the decoded string and true is returned. -// A return value of false indicates an error was detected in the encoding. -// -bool decodeString(const std::string&, std::string::size_type, std::string::size_type, std::string&); - -// -// If a single or double quotation mark is found at the start position, -// then the position of the matching closing quote is returned. If no -// quotation mark is found at the start position, then 0 is returned. -// If no matching closing quote is found, then std::string::npos is -// returned. -// -std::string::size_type checkQuote(const std::string&, std::string::size_type = 0); - -} - -#endif |