Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XalanNLSMessageLoader.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 
17 #if !defined(XALANNLSMESSAGELOADER_HEADER_GUARD_1357924680)
18 #define XALANNLSMESSAGELOADER_HEADER_GUARD_1357924680
19 
20 #ifdef XALAN_NLS_MSG_LOADER
21 
23 
24 #include <nl_types.h>
25 
26 XALAN_CPP_NAMESPACE_BEGIN
27 
28 class XALAN_PLATFORMSUPPORT_EXPORT XalanNLSMessageLoader : public XalanMessageLoader
29 
30 {
31 public:
32 
33  XalanNLSMessageLoader(MemoryManagerType& theManager);
34 
35  virtual
36  ~XalanNLSMessageLoader();
37 
38 protected:
39  // -----------------------------------------------------------------------
40  // Implementation of the virtual message loader API
41  // -----------------------------------------------------------------------
42  virtual bool loadMsg
43  (
44  XalanMessages::Codes msgToLoad
45  , XalanDOMChar* toFill
46  , unsigned int maxChars
47  );
48 
49 private:
50 
51  XalanNLSMessageLoader(const XalanNLSMessageLoader&);
52 
53  XalanNLSMessageLoader&
54  operator=(const XalanNLSMessageLoader&);
55 
56 
57  nl_catd m_catalogHandle;
58 
59  MemoryManagerType& m_memoryManager;
60 };
61 
62 XALAN_CPP_NAMESPACE_END
63 
64 #endif // XALAN_NLS_MSG_LOADER
65 
66 #endif // XALANNLSMESSAGELOADER_HEADER_GUARD_1357924680

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