source: NonGTP/Xerces/xerces/include/xercesc/util/XMLWin1252Transcoder.hpp @ 358

Revision 358, 1.9 KB checked in by bittner, 19 years ago (diff)

xerces added

Line 
1/*
2 * Copyright 1999-2000,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
17#ifndef XMLWIN1252TRANSCODER_HPP
18#define XMLWIN1252TRANSCODER_HPP
19
20#include <xercesc/util/XercesDefs.hpp>
21#include <xercesc/util/XML256TableTranscoder.hpp>
22
23XERCES_CPP_NAMESPACE_BEGIN
24
25
26//
27//  This class provides an implementation of the XMLTranscoder interface
28//  for the Windows variant of Latin1, called Windows-1252. Its close to
29//  Latin1, but is somewhat different.
30//
31class XMLUTIL_EXPORT XMLWin1252Transcoder : public XML256TableTranscoder
32{
33public :
34    // -----------------------------------------------------------------------
35    //  Public constructors and destructor
36    // -----------------------------------------------------------------------
37    XMLWin1252Transcoder
38    (
39        const   XMLCh* const    encodingName
40        , const unsigned int    blockSize
41        , MemoryManager* const manager = XMLPlatformUtils::fgMemoryManager
42    );
43
44    virtual ~XMLWin1252Transcoder();
45
46
47private :
48    // -----------------------------------------------------------------------
49    //  Unimplemented constructors and operators
50    // -----------------------------------------------------------------------
51    XMLWin1252Transcoder();
52    XMLWin1252Transcoder(const XMLWin1252Transcoder&);
53    XMLWin1252Transcoder& operator=(const XMLWin1252Transcoder&);
54};
55
56XERCES_CPP_NAMESPACE_END
57
58#endif
Note: See TracBrowser for help on using the repository browser.