Xalan-C++ API Reference  1.12.0
ICUBridge.hpp
Go to the documentation of this file.
1 /*
2  * Licensed to the Apache Software Foundation (ASF) under one
3  * or more contributor license agreements. See the NOTICE file
4  * distributed with this work for additional information
5  * regarding copyright ownership. The ASF licenses this file
6  * to you under the Apache License, Version 2.0 (the "License");
7  * you may not use this file except in compliance with the License.
8  * You may obtain a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing, software
13  * distributed under the License is distributed on an "AS IS" BASIS,
14  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15  * See the License for the specific language governing permissions and
16  * limitations under the License.
17  */
18 
19 #if !defined(ICUBRIDGE_HEADER_GUARD_1357924680)
20 #define ICUBRIDGE_HEADER_GUARD_1357924680
21 
22 
23 
25 
26 
27 
29 
30 
31 
32 #include <unicode/unistr.h>
33 
34 
35 
36 namespace XALAN_CPP_NAMESPACE {
37 
38 
39 
41 {
42 public:
43  typedef icu::UnicodeString UnicodeString;
44 
45  static const UnicodeString
46  XalanDOMCharStringToUnicodeString(MemoryManager& theManager,
47  const XalanDOMChar* theString);
48 
49  static const UnicodeString
50  XalanDOMCharStringToUnicodeString(
51  MemoryManager& theManager,
52  const XalanDOMChar* theString,
53  XalanDOMString::size_type theLHSLength);
54 
55  static const UnicodeString
56  XalanDOMStringToUnicodeString(MemoryManager& theManager,
57  const XalanDOMString& theString);
58 
59  static XalanDOMString&
60  UnicodeStringToXalanDOMString(
61  const UnicodeString& theString,
62  XalanDOMString& theResult);
63 };
64 
65 
66 
67 }
68 
69 
70 
71 #endif // ICUBRIDGE_HEADER_GUARD_1357924680
XALAN_CPP_NAMESPACE
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
Definition: XalanVersion.hpp:76
XalanDOMString.hpp
xalanc::ICUBridge::UnicodeString
icu::UnicodeString UnicodeString
Definition: ICUBridge.hpp:43
XALAN_ICUBRIDGE_EXPORT
#define XALAN_ICUBRIDGE_EXPORT
Definition: ICUBridgeDefinitions.hpp:35
xalanc::ICUBridge
Definition: ICUBridge.hpp:40
xalanc::XalanDOMString::size_type
XalanSize_t size_type
Definition: XalanDOMString.hpp:57
ICUBridgeDefinitions.hpp
xalanc::XalanDOMString
Definition: XalanDOMString.hpp:45