Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanUTF16Transcoder.hpp
Go to the documentation of this file.
1 /*
2  * Copyright 1999-2004 The Apache Software Foundation.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 #if !defined(XALANUTF16TRANSCODER_HEADER_GUARD_1357924680)
17 #define XALANUTF16TRANSCODER_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
26 // Base class header file...
28 
29 
30 
31 XALAN_CPP_NAMESPACE_BEGIN
32 
33 
34 
36 {
37 public:
38 
39  explicit
41 
42  static XalanUTF16Transcoder*
43  create(MemoryManagerType& theManager);
44 
45  virtual
47 
60  virtual eCode
61  transcode(
62  const XalanDOMChar* theSourceData,
63  size_type theSourceCount,
64  XalanXMLByte* theTarget,
65  size_type theTargetSize,
66  size_type& theSourceCharsTranscoded,
67  size_type& theTargetBytesUsed);
68 
81  virtual eCode
82  transcode(
83  const XalanXMLByte* theSourceData,
84  size_type theSourceCount,
85  XalanDOMChar* theTarget,
86  size_type theTargetSize,
87  size_type& theSourceCharsTranscoded,
88  size_type& theTargetBytesUsed,
89  unsigned char* theCharSizes);
90 
91  virtual bool
92  canTranscodeTo(UnicodeCharType theChar) const;
93 
94 private:
95 
96  // Not implemented...
98 
100  operator=(const XalanUTF16Transcoder&);
101 };
102 
103 
104 
105 XALAN_CPP_NAMESPACE_END
106 
107 
108 
109 #endif // XALANUTF16TRANSCODER_HEADER_GUARD_1357924680
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
Definition: XalanUTF16Transcoder.hpp:35
virtual bool canTranscodeTo(UnicodeCharType theChar) const =0
eCode
Definition: XalanTranscodingServices.hpp:78
Definition: XalanTranscodingServices.hpp:287
XalanTranscodingServices::size_type size_type
Definition: XalanTranscodingServices.hpp:293
XalanTranscodingServices::UnicodeCharType UnicodeCharType
Definition: XalanTranscodingServices.hpp:294
#define XALAN_PLATFORMSUPPORT_EXPORT
Definition: PlatformSupportDefinitions.hpp:33
XalanTranscodingServices::XalanXMLByte XalanXMLByte
Definition: XalanTranscodingServices.hpp:291
virtual eCode transcode(const XalanDOMChar *theSourceData, size_type theSourceCount, XalanXMLByte *theTarget, size_type theTargetSize, size_type &theSourceCharsTranscoded, size_type &theTargetBytesUsed)=0
Transcode data from UTF-16 to the transcoder's encoding.

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo