diff options
Diffstat (limited to 'cppe/include/IceE/StringUtil.h')
-rw-r--r-- | cppe/include/IceE/StringUtil.h | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/cppe/include/IceE/StringUtil.h b/cppe/include/IceE/StringUtil.h deleted file mode 100644 index 06b6523d4f8..00000000000 --- a/cppe/include/IceE/StringUtil.h +++ /dev/null @@ -1,53 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice-E is licensed to you under the terms described in the -// ICEE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#ifndef ICEE_STRING_UTIL_H -#define ICEE_STRING_UTIL_H - -#include <IceE/Config.h> - -namespace IceUtil -{ - -// -// Add escape sequences (like "\n", or "\0xxx") to make a string -// readable in ASCII. -// -ICE_API std::string escapeString(const std::string&, const std::string&); - -// -// Remove escape sequences added by escapeString. -// -ICE_API bool unescapeString(const std::string&, std::string::size_type, std::string::size_type, std::string&); - -// -// Trim white space -// -ICE_API std::string trim(const 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. -// -ICE_API std::string::size_type checkQuote(const std::string&, std::string::size_type = 0); - -// -// Match `s' against the pattern `pat'. A * in the pattern acts -// as a wildcard: it matches any non-empty sequence of characters -// other than a period (`.'). We match by hand here because -// it's portable across platforms (whereas regex() isn't). -// -ICE_API bool match(const std::string&, const std::string&, bool = false); - -} - -#endif |