version 1.89.2.4, 2005/09/29 02:22:39
|
version 1.89.2.6, 2005/10/04 22:25:15
|
|
|
*/ | */ |
static Boolean equalNoCase(const String& str1, const String& str2); | static Boolean equalNoCase(const String& str1, const String& str2); |
| |
//// |
#ifdef PEGASUS_USE_STRING_EXTENSIONS |
//// {New interfaces start here: |
|
//// |
|
| |
enum ASCII7Tag { ASCII7 }; | enum ASCII7Tag { ASCII7 }; |
| |
|
|
| |
static Boolean equalNoCase(const String& s1, const char* s2); | static Boolean equalNoCase(const String& s1, const char* s2); |
| |
|
#endif /* PEGASUS_USE_STRING_EXTENSIONS */ |
|
|
private: | private: |
| |
void _append_char_aux(); | void _append_char_aux(); |
| |
static Boolean equalNoCase_aux(const String& str1, const String& str2); | static Boolean equalNoCase_aux(const String& str1, const String& str2); |
| |
//// |
|
//// }New interfaces end here: |
|
//// |
|
|
|
private: |
|
|
|
Uint32 _find_aux(const Char16* s, Uint32 n) const; | Uint32 _find_aux(const Char16* s, Uint32 n) const; |
| |
StringRep* _rep; | StringRep* _rep; |
|
|
const String& str1, | const String& str1, |
const String& str2); | const String& str2); |
| |
//// |
#ifdef PEGASUS_USE_STRING_EXTENSIONS |
//// {New functions start here. |
|
//// |
|
| |
PEGASUS_COMMON_LINKAGE Boolean operator==(const String& s1, const String& s2); | PEGASUS_COMMON_LINKAGE Boolean operator==(const String& s1, const String& s2); |
| |
|
|
| |
PEGASUS_COMMON_LINKAGE String operator+(const char* s1, const String& s2); | PEGASUS_COMMON_LINKAGE String operator+(const char* s1, const String& s2); |
| |
//// |
#endif /* PEGASUS_USE_STRING_EXTENSIONS */ |
//// }New functions end here. |
|
//// |
|
| |
PEGASUS_NAMESPACE_END | PEGASUS_NAMESPACE_END |
| |
#ifdef PEGASUS_INTERNALONLY |
#if defined(PEGASUS_INTERNALONLY) && defined(PEGASUS_USE_INTERNAL_INLINES) |
# define PEGASUS_STRING_INLINE inline | # define PEGASUS_STRING_INLINE inline |
# include "StringInline.h" | # include "StringInline.h" |
# undef PEGASUS_STRING_INLINE | # undef PEGASUS_STRING_INLINE |