## Xalan-C++ API Documentation

### The Xalan C++ XSLT Processor Version 1.10

Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members

# XalanNLSMessageLoader.hpp

Go to the documentation of this file.

    00001 /*
    00002  * Copyright 1999-2004 The Apache Software Foundation.
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License");
    00005  * you may not use this file except in compliance with the License.
    00006  * You may obtain a copy of the License at
    00007  *
    00008  *     http://www.apache.org/licenses/LICENSE-2.0
    00009  *
    00010  * Unless required by applicable law or agreed to in writing, software
    00011  * distributed under the License is distributed on an "AS IS" BASIS,
    00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013  * See the License for the specific language governing permissions and
    00014  * limitations under the License.
    00015  */
    00016
    00017 #if !defined(XALANNLSMESSAGELOADER_HEADER_GUARD_1357924680)
    00018 #define XALANNLSMESSAGELOADER_HEADER_GUARD_1357924680
    00019
    00020 #ifdef XALAN_NLS_MSG_LOADER
    00021
    00022 #include <xalanc/PlatformSupport/XalanMessageLoader.hpp>
    00023
    00024 #include <nl_types.h>
    00025
    00026 XALAN_CPP_NAMESPACE_BEGIN
    00027
    00028 class XALAN_PLATFORMSUPPORT_EXPORT XalanNLSMessageLoader : public XalanMessageLoader
    00029
    00030 {
    00031 public:
    00032
    00033     XalanNLSMessageLoader(MemoryManagerType& theManager);
    00034
    00035     virtual
    00036     ~XalanNLSMessageLoader();
    00037
    00038 protected:
    00039     // -----------------------------------------------------------------------
    00040     //  Implementation of the virtual message loader API
    00041     // -----------------------------------------------------------------------
    00042     virtual bool loadMsg
    00043     (
    00044         XalanMessages::Codes    msgToLoad
    00045         ,       XalanDOMChar* toFill
    00046         , unsigned int            maxChars
    00047     );
    00048
    00049 private:
    00050
    00051     XalanNLSMessageLoader(const XalanNLSMessageLoader&);
    00052
    00053     XalanNLSMessageLoader&
    00054     operator=(const XalanNLSMessageLoader&);
    00055
    00056
    00057     nl_catd     m_catalogHandle;
    00058
    00059     MemoryManagerType& m_memoryManager;
    00060 };
    00061
    00062 XALAN_CPP_NAMESPACE_END
    00063
    00064 #endif // XALAN_NLS_MSG_LOADER
    00065
    00066 #endif // XALANNLSMESSAGELOADER_HEADER_GUARD_1357924680

Interpreting class diagrams

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

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