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  

XercesLiaisonXalanDOMStringPool.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 #if !defined(XERCESLIAISONXALANDOMSTRINGPOOL_HEADER_GUARD_1357924680)
00017 #define XERCESLIAISONXALANDOMSTRINGPOOL_HEADER_GUARD_1357924680
00018 
00019 
00020 
00021 // Base include file.  Must be first.
00022 #include <xalanc/XercesParserLiaison/XercesParserLiaisonDefinitions.hpp>
00023 
00024 
00025 
00026 #include <xalanc/PlatformSupport/XalanDOMStringPool.hpp>
00027 
00028 
00029 
00030 #include <xercesc/util/Mutexes.hpp>
00031 
00032 
00033 
00034 XALAN_CPP_NAMESPACE_BEGIN
00035 
00036 
00037 
00038 // A version of XalanDOMStringPool which is synchronized using a Xerces Mutex.
00039 class XALAN_XERCESPARSERLIAISON_EXPORT XercesLiaisonXalanDOMStringPool : public XalanDOMStringPool
00040 {
00041 public:
00042 
00043     typedef XalanDOMStringPool  ParentType;
00044     typedef XERCES_CPP_NAMESPACE_QUALIFIER XMLMutex         XMLMutexType;
00045     typedef XERCES_CPP_NAMESPACE_QUALIFIER XMLMutexLock     XMLMutexLockType;
00046 
00047     explicit
00048     XercesLiaisonXalanDOMStringPool(MemoryManagerType& theManager);
00049 
00050     static XercesLiaisonXalanDOMStringPool*
00051     create(MemoryManagerType& theManager);
00052 
00053     virtual
00054     ~XercesLiaisonXalanDOMStringPool();
00055 
00056     // These are inherited from XalanDOMStringPool...
00057 
00058     virtual void
00059     clear();
00060 
00061     virtual size_t
00062     size() const;
00063 
00064     virtual const XalanDOMString&
00065     get(const XalanDOMString&   theString);
00066 
00067     virtual const XalanDOMString&
00068     get(
00069             const XalanDOMChar*         theString,
00070             XalanDOMString::size_type   theLength = XalanDOMString::npos);
00071 
00072 private:
00073 
00074     // Not implemented, for now...
00075     XercesLiaisonXalanDOMStringPool(const XercesLiaisonXalanDOMStringPool&);
00076 
00077     XercesLiaisonXalanDOMStringPool&
00078     operator=(const XercesLiaisonXalanDOMStringPool&);
00079 
00080     bool
00081     operator==(const XercesLiaisonXalanDOMStringPool&) const;
00082 
00083     // Data members...
00084     mutable XMLMutexType    m_mutex;
00085 };
00086 
00087 
00088 
00089 XALAN_CPP_NAMESPACE_END
00090 
00091 
00092 
00093 #endif  // !defined(XERCESLIAISONXALANDOMSTRINGPOOL_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