Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

XercesLiaisonXalanDOMStringPool.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(XERCESLIAISONXALANDOMSTRINGPOOL_HEADER_GUARD_1357924680)
17 #define XERCESLIAISONXALANDOMSTRINGPOOL_HEADER_GUARD_1357924680
18 
19 
20 
21 // Base include file. Must be first.
23 
24 
25 
27 
28 
29 
30 #include <xercesc/util/Mutexes.hpp>
31 
32 
33 
34 XALAN_CPP_NAMESPACE_BEGIN
35 
36 
37 
38 // A version of XalanDOMStringPool which is synchronized using a Xerces Mutex.
40 {
41 public:
42 
44  typedef XERCES_CPP_NAMESPACE_QUALIFIER XMLMutex XMLMutexType;
45  typedef XERCES_CPP_NAMESPACE_QUALIFIER XMLMutexLock XMLMutexLockType;
46 
47  explicit
49 
51  create(MemoryManagerType& theManager);
52 
53  virtual
55 
56  // These are inherited from XalanDOMStringPool...
57 
58  virtual void
59  clear();
60 
61  virtual size_t
62  size() const;
63 
64  virtual const XalanDOMString&
65  get(const XalanDOMString& theString);
66 
67  virtual const XalanDOMString&
68  get(
69  const XalanDOMChar* theString,
71 
72 private:
73 
74  // Not implemented, for now...
76 
78  operator=(const XercesLiaisonXalanDOMStringPool&);
79 
80  bool
82 
83  // Data members...
84  mutable XMLMutexType m_mutex;
85 };
86 
87 
88 
89 XALAN_CPP_NAMESPACE_END
90 
91 
92 
93 #endif // !defined(XERCESLIAISONXALANDOMSTRINGPOOL_HEADER_GUARD_1357924680)
bool operator==(const XalanVector< Type > &theLHS, const XalanVector< Type > &theRHS)
Definition: XalanVector.hpp:1111
XALAN_CPP_NAMESPACE_BEGIN typedef XERCES_CPP_NAMESPACE_QUALIFIER MemoryManager MemoryManagerType
Definition: XalanMemoryManagement.hpp:39
virtual size_t size() const
Get the number of strings in the pool.
XERCES_CPP_NAMESPACE_QUALIFIER XMLMutex XMLMutexType
Definition: XercesLiaisonXalanDOMStringPool.hpp:44
XERCES_CPP_NAMESPACE_QUALIFIER XMLMutexLock XMLMutexLockType
Definition: XercesLiaisonXalanDOMStringPool.hpp:45
XalanDOMStringPool ParentType
Definition: XercesLiaisonXalanDOMStringPool.hpp:43
#define XALAN_XERCESPARSERLIAISON_EXPORT
Definition: XercesParserLiaisonDefinitions.hpp:37
Definition: XalanDOMStringPool.hpp:37
virtual void clear()
Clear the pool.
Definition: XercesLiaisonXalanDOMStringPool.hpp:39
static XalanDOMStringPool * create(MemoryManagerType &theManager, block_size_type theBlockSize=eDefaultBlockSize, bucket_count_type theBucketCount=eDefaultBucketCount, bucket_size_type theBucketSize=eDefaultBucketSize)
Definition: XalanDOMString.hpp:42
unsigned int size_type
Definition: XalanDOMString.hpp:53
Definition: XalanDOMString.hpp:63

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